Update databases/py-cassandra-driver to 3.1.0.

Features
- Pass name of server auth class to AuthProvider
- Surface schema agreed flag for DDL statements
- Automatically convert float and int to Decimal on serialization
- Eventlet Reactor IO improvement
- Make pure Python ProtocolHandler available even when Cython is
  present
- Optional Cython deserializer for bytes as bytearray
- Add Session.default_serial_consistency_level
- cqlengine: Expose prior state information via cqlengine
  LWTException
- cqlengine: Collection datatype "contains" operators support
  (Cassandra 2.1)
- cqlengine: Add DISTINCT query operator
- cqlengine: Tuple cqlengine api
- cqlengine: Add support for UPDATE/DELETE ... IF EXISTS statements
- cqlengine: Allow nested container types
- cqlengine: Add ability to set query's fetch_size and limit
- cqlengine: Internalize default keyspace from successive set_session
- cqlengine: Warn when Model.create() on Counters

Bug Fixes
- Bus error (alignment issues) when running cython on some ARM
  platforms
- Overflow when decoding large collections (cython)
- Timer heap comparison issue with Python 3
- Cython deserializer date overflow at 2^31 - 1
- Decode error encountered when cython deserializing large map
  results
- Don't require Cython for build if compiler or Python header
  not present
- Unorderable types in task scheduling with Python 3
- cqlengine: Fix crash when updating a UDT column with a None value
- cqlengine: Race condition in ..connection.execute with lazy_connect
- cqlengine: doesn't support case sensitive column family names
- cqlengine: UserDefinedType mandatory in create or update
- cqlengine: db_field breaks UserType
- cqlengine: UDT badly quoted
- cqlengine: Use of db_field on primary key prevents querying except
  while tracing.
- cqlengine: DateType.deserialize being called with one argument
  vs two
- cqlengine: Querying without setting up connection now throws
  AttributeError and not CQLEngineException
- cqlengine: BatchQuery multiple time executing execute statements.
- cqlengine: Better error for management functions when no connection
  set
- cqlengine: Handle None values for UDT attributes in cqlengine
- cqlengine: Fix inserting None for model save
- cqlengine: EQ doesn't map to a QueryOperator (setup race condition)
- cqlengine: class.MultipleObjectsReturned has DoesNotExist as base
  class
- cqlengine: Typo in cqlengine UserType __len__ breaks attribute
  assignment

Other
- cqlengine: a major improvement on queryset has been introduced.
  It is a lot more efficient to iterate large datasets: the rows
  are now fetched on demand using the driver pagination.
- cqlengine: the queryset len() and count() behaviors have changed.
  It now executes a "SELECT COUNT(*)" of the query rather than
  returning the size of the internal result_cache (loaded rows).
  On large queryset, you might want to avoid using them due to
  the performance cost. Note that trying to access objects using
  list index/slicing with negative indices also requires a count
  to be executed.
This commit is contained in:
fhajny 2016-03-12 09:53:53 +00:00
parent 266d1d8f64
commit 55a594055e
2 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.6 2015/11/25 15:58:09 fhajny Exp $
# $NetBSD: Makefile,v 1.7 2016/03/12 09:53:53 fhajny Exp $
DISTNAME= python-driver-3.0.0
DISTNAME= python-driver-3.1.0
PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}-cassandra/}
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_GITHUB:=datastax/}

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.6 2015/11/25 15:58:09 fhajny Exp $
$NetBSD: distinfo,v 1.7 2016/03/12 09:53:53 fhajny Exp $
SHA1 (python-driver-3.0.0.tar.gz) = cbd395a52bfa874cfe6cd6e2431ccb3a78d50b46
RMD160 (python-driver-3.0.0.tar.gz) = 435e3791b9393833ebc65bb589f00271e3448e82
SHA512 (python-driver-3.0.0.tar.gz) = ee1348f412326d9a453bdc37c2d41438bd5625a2bea1459d76f0017e0a3486b9bff15f967bb7a84f53141e98519dfaad75c9feaf4e036556f91a14ebeaf4a973
Size (python-driver-3.0.0.tar.gz) = 431880 bytes
SHA1 (python-driver-3.1.0.tar.gz) = 85c6c1c2ec7d22fda066960494168cb4e36876c7
RMD160 (python-driver-3.1.0.tar.gz) = 85d7e3f07015e903e336240f3c39f1f5979a6100
SHA512 (python-driver-3.1.0.tar.gz) = 84a14edf11d4af1ce1988795dcca4417794590c69eb74f0ee105e83186d3dca9ec67c4181f5fe1b923bc11f4ee299cef1139abd10023a87a5cb4ba17b04a4687
Size (python-driver-3.1.0.tar.gz) = 453774 bytes