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/42efe0bc2836
branches:  trunk
changeset: 363716:42efe0bc2836
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Wed Jun 14 14:19:02 2017 +0000

description:
Update databases/py-cassandra-driver to 3.10.0

Features
- Add Duration type to cqlengine
- Community PR review: Raise error on primary key update only if its
  value changed
- get_query_trace() contract is ambiguous

Bug Fixes
- Queries using speculative execution policy timeout prematurely
- Fix map where results are not consumed
- Driver fails to encode Duration's with large values
- UDT values are not updated correctly in CQLEngine
- UDT types are not validated in CQLEngine
- to_python is not implemented for types columns.Type and columns.Date
  in CQLEngine
- Clients spin infinitely trying to connect to a host that is drained
- Resulset.get_query_trace returns empty trace sometimes
- Memory grows and doesn't get removed
- Fix RuntimeError caused by change dict size during iteration
- fix ExponentialReconnectionPolicy may throw OverflowError problem
- Avoid using nonexistent prepared statement in ResponseFuture

Other
- Update README
- Test python versions 3.5 and 3.6
- Docs Warning About Prepare "select *"
- Increase Coverage in CqlEngine Test Suite
- Example SSL connection code does not verify server certificates

diffstat:

 databases/py-cassandra-driver/Makefile                                |   4 +-
 databases/py-cassandra-driver/distinfo                                |  11 ++++---
 databases/py-cassandra-driver/patches/patch-cassandra_____init____.py |  15 ++++++++++
 3 files changed, 23 insertions(+), 7 deletions(-)

diffs (47 lines):

diff -r c5f716ace9a2 -r 42efe0bc2836 databases/py-cassandra-driver/Makefile
--- a/databases/py-cassandra-driver/Makefile    Wed Jun 14 14:04:04 2017 +0000
+++ b/databases/py-cassandra-driver/Makefile    Wed Jun 14 14:19:02 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2017/04/18 15:31:36 fhajny Exp $
+# $NetBSD: Makefile,v 1.21 2017/06/14 14:19:02 fhajny Exp $
 
-DISTNAME=      python-driver-3.9.0
+DISTNAME=      python-driver-3.10.0
 PKGNAME=       ${DISTNAME:S/python/${PYPKGPREFIX}-cassandra/}
 CATEGORIES=    databases
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=datastax/}
diff -r c5f716ace9a2 -r 42efe0bc2836 databases/py-cassandra-driver/distinfo
--- a/databases/py-cassandra-driver/distinfo    Wed Jun 14 14:04:04 2017 +0000
+++ b/databases/py-cassandra-driver/distinfo    Wed Jun 14 14:19:02 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.20 2017/04/18 15:31:36 fhajny Exp $
+$NetBSD: distinfo,v 1.21 2017/06/14 14:19:02 fhajny Exp $
 
-SHA1 (python-driver-3.9.0.tar.gz) = 263e871662e0dcb8316bb5860da605baa5363911
-RMD160 (python-driver-3.9.0.tar.gz) = a9afbc6129c9a592b9689e12090a9986999a9b65
-SHA512 (python-driver-3.9.0.tar.gz) = c360cb61e14dc06d1452a479f618525f15d729ad362fe271606d387ba918fffddde8a3137587c233986e1e3e54fa5954ff86272cf8000074b872d2b1b77bfaef
-Size (python-driver-3.9.0.tar.gz) = 531907 bytes
+SHA1 (python-driver-3.10.0.tar.gz) = 1eb85a0979b6b480b53c7a725018cc0991599a60
+RMD160 (python-driver-3.10.0.tar.gz) = a91924b2b3e1d2671ef57c5470c43a3fcf3e91ac
+SHA512 (python-driver-3.10.0.tar.gz) = 0ecdb05b20456683c8fb5a1c6b0397d4cb9e85bcef2c259bc447bec34276c3b0cfd1ddea8935c9e3f0aca954cc9551b5bd5f76b7e81f89623b4594ecd4186433
+Size (python-driver-3.10.0.tar.gz) = 540531 bytes
+SHA1 (patch-cassandra_____init____.py) = c89c5dc31a1695b90d8d126c586c1e36b32d3566
diff -r c5f716ace9a2 -r 42efe0bc2836 databases/py-cassandra-driver/patches/patch-cassandra_____init____.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-cassandra-driver/patches/patch-cassandra_____init____.py     Wed Jun 14 14:19:02 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-cassandra_____init____.py,v 1.1 2017/06/14 14:19:02 fhajny Exp $
+
+Bring internal version in sync with distfile.
+
+--- cassandra/__init__.py.orig 2017-05-24 17:32:09.000000000 +0000
++++ cassandra/__init__.py
+@@ -22,7 +22,7 @@ class NullHandler(logging.Handler):
+ 
+ logging.getLogger('cassandra').addHandler(NullHandler())
+ 
+-__version_info__ = (3, 10)
++__version_info__ = (3, 10, 0)
+ __version__ = '.'.join(map(str, __version_info__))
+ 
+ 



Home | Main Index | Thread Index | Old Index