pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-cassandra-driver Update databases/py-cass...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/432c3383e5f0
branches:  trunk
changeset: 359079:432c3383e5f0
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Mon Feb 27 08:41:48 2017 +0000

description:
Update databases/py-cassandra-driver to 3.8.0.

Features
- Quote index names in metadata CQL generation (PYTHON-616)
- On column deserialization failure, keep error message consistent
  between python and cython (PYTHON-631)
- TokenAwarePolicy always sends requests to the same replica for a given
  key (PYTHON-643)
- Added cql types to result set (PYTHON-648)
- Add __len__ to BatchStatement (PYTHON-650)
- Duration Type for Cassandra (PYTHON-655)
- Send flags with PREPARE message in v5 (PYTHON-684)

Bug Fixes
- Potential Timing issue if application exits prior to session pool
  initialization (PYTHON-636)
- "Host X.X.X.X has been marked down" without any exceptions
  (PYTHON-640)
- NoHostAvailable or OperationTimedOut when using execute_concurrent
  with a generator that inserts into more than one table (PYTHON-642)
- ResponseFuture creates Timers and don't cancel them even when result
  is received which leads to memory leaks (PYTHON-644)
- Driver cannot connect to Cassandra version > 3 (PYTHON-646)
- Unable to import model using UserType without setuping connection
  since 3.7 (PYTHON-649)
- Don't prepare queries on ignored hosts on_up (PYTHON-669)
- Sockets associated with sessions not getting cleaned up on
  session.shutdown() (PYTHON-673)
- Make client timestamps strictly monotonic (PYTHON-676)
- cassandra.cqlengine.connection.register_connection broken when
  hosts=None (PYTHON-692)

Other
- Create a cqlengine doc section explaining None semantics (PYTHON-623)
- Resolve warnings in documentation generation (PYTHON-645)
- Cython dependency (PYTHON-686)
- Drop Support for Python 2.6 (PYTHON-690)

diffstat:

 databases/py-cassandra-driver/Makefile               |   4 ++--
 databases/py-cassandra-driver/PLIST                  |   5 ++++-
 databases/py-cassandra-driver/distinfo               |  11 +++++------
 databases/py-cassandra-driver/patches/patch-setup.py |  19 -------------------
 4 files changed, 11 insertions(+), 28 deletions(-)

diffs (70 lines):

diff -r 062a9169558a -r 432c3383e5f0 databases/py-cassandra-driver/Makefile
--- a/databases/py-cassandra-driver/Makefile    Mon Feb 27 05:21:41 2017 +0000
+++ b/databases/py-cassandra-driver/Makefile    Mon Feb 27 08:41:48 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2017/02/16 10:43:12 fhajny Exp $
+# $NetBSD: Makefile,v 1.19 2017/02/27 08:41:48 fhajny Exp $
 
-DISTNAME=      python-driver-3.7.1
+DISTNAME=      python-driver-3.8.0
 PKGNAME=       ${DISTNAME:S/python/${PYPKGPREFIX}-cassandra/}
 CATEGORIES=    databases
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=datastax/}
diff -r 062a9169558a -r 432c3383e5f0 databases/py-cassandra-driver/PLIST
--- a/databases/py-cassandra-driver/PLIST       Mon Feb 27 05:21:41 2017 +0000
+++ b/databases/py-cassandra-driver/PLIST       Mon Feb 27 08:41:48 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2015/11/25 15:58:09 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.5 2017/02/27 08:41:48 fhajny Exp $
 ${PYSITELIB}/cassandra/__init__.py
 ${PYSITELIB}/cassandra/__init__.pyc
 ${PYSITELIB}/cassandra/__init__.pyo
@@ -134,6 +134,9 @@
 ${PYSITELIB}/cassandra/query.so
 ${PYSITELIB}/cassandra/row_parser.pyx
 ${PYSITELIB}/cassandra/row_parser.so
+${PYSITELIB}/cassandra/timestamps.py
+${PYSITELIB}/cassandra/timestamps.pyc
+${PYSITELIB}/cassandra/timestamps.pyo
 ${PYSITELIB}/cassandra/tuple.pxd
 ${PYSITELIB}/cassandra/type_codes.pxd
 ${PYSITELIB}/cassandra/type_codes.py
diff -r 062a9169558a -r 432c3383e5f0 databases/py-cassandra-driver/distinfo
--- a/databases/py-cassandra-driver/distinfo    Mon Feb 27 05:21:41 2017 +0000
+++ b/databases/py-cassandra-driver/distinfo    Mon Feb 27 08:41:48 2017 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.18 2017/02/16 10:43:12 fhajny Exp $
+$NetBSD: distinfo,v 1.19 2017/02/27 08:41:48 fhajny Exp $
 
-SHA1 (python-driver-3.7.1.tar.gz) = 1bba61b444380082c91fb42f425016ad4135b5b0
-RMD160 (python-driver-3.7.1.tar.gz) = 168e4b6a998c8bd4e730d558cdf536d00e2f2c12
-SHA512 (python-driver-3.7.1.tar.gz) = 66d09bb8d6132bba3dd26186f7d4d834d7f65265101cac96658a997ece1c35346c389f818618580815eecb8cd6dd658f4bf365d6120a14477f9780ff1f682fef
-Size (python-driver-3.7.1.tar.gz) = 513310 bytes
-SHA1 (patch-setup.py) = 26385704ea010efffc210ec805c5a82bdfaf4049
+SHA1 (python-driver-3.8.0.tar.gz) = 2d189105afb53e361472d3c0590eb0d0ff182024
+RMD160 (python-driver-3.8.0.tar.gz) = 7e24471e727b31b6a900f9185aa1c1df830574da
+SHA512 (python-driver-3.8.0.tar.gz) = 3a263e1fb71e0fc1f28efeb369075dbb5d5a0f0ab378352f72d3432635f0b79e6839968eed160cfbfca18288bd2bdb258d2bc790d50872b95d165df43846f9bd
+Size (python-driver-3.8.0.tar.gz) = 525355 bytes
diff -r 062a9169558a -r 432c3383e5f0 databases/py-cassandra-driver/patches/patch-setup.py
--- a/databases/py-cassandra-driver/patches/patch-setup.py      Mon Feb 27 05:21:41 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-setup.py,v 1.1 2017/02/16 10:43:12 fhajny Exp $
-
-Backport a trunk commit to let us override the Cython version req.
-
---- setup.py.orig      2016-10-26 15:00:31.000000000 +0000
-+++ setup.py
-@@ -388,7 +388,11 @@ def run_setup(extensions):
-         # 1.) build_ext eats errors at compile time, letting the install complete while producing useful feedback
-         # 2.) there could be a case where the python environment has cython installed but the system doesn't have build tools
-         if pre_build_check():
--            kw['setup_requires'] = ['Cython>=0.20,<0.25']
-+            cython_dep = 'Cython>=0.20,<0.25'
-+            user_specified_cython_version = os.environ.get('CASS_DRIVER_ALLOWED_CYTHON_VERSION')
-+            if user_specified_cython_version is not None:
-+                cython_dep = 'Cython==%s' % (user_specified_cython_version,)
-+            kw['setup_requires'] = [cython_dep]
-         else:
-             sys.stderr.write("Bypassing Cython setup requirement\n")
- 



Home | Main Index | Thread Index | Old Index