This bug was fixed in the package python-cassandra-driver -
2.5.1-1ubuntu0.1
---------------
python-cassandra-driver (2.5.1-1ubuntu0.1) xenial; urgency=high
* Cherry-pick upstream commit to fix compat with python 2.7.12 -
weakref.ref no longer accepts kwargs. (LP: #1603436)
-- Dimitri John Ledkov <[email protected]> Mon, 25 Jul 2016 12:17:29
+0100
** Changed in: python-cassandra-driver (Ubuntu Xenial)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1603436
Title:
Regression in python2.7 SRU breaks python-cassandra
Status in python-cassandra-driver package in Ubuntu:
Fix Released
Status in python2.7 package in Ubuntu:
Invalid
Status in python-cassandra-driver source package in Xenial:
Fix Released
Status in python2.7 source package in Xenial:
Invalid
Status in python-cassandra-driver source package in Yakkety:
Fix Released
Status in python2.7 source package in Yakkety:
Invalid
Bug description:
"SRU: backport python 2.7.12 to 16.04 LTS" (bug 1591895) has caused a
regression in (at least) python-cassandra. Any attempt to connect to a
cluster fails due to:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/cassandra/cluster.py", line 1894, in
_reconnect_internal
return self._try_connect(host)
File "/usr/lib/python2.7/dist-packages/cassandra/cluster.py", line 1921, in
_try_connect
self_weakref = weakref.ref(self, callback=partial(_clear_watcher,
weakref.proxy(connection)))
TypeError: ref() does not take keyword arguments
It would appear that Python 2.7.12 has made the permitted calling
conventions for weakref.ref() stricter.
See https://github.com/datastax/python-driver/pull/585 for upstream
discussion of the issue.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-cassandra-driver/+bug/1603436/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~group.of.nepali.translators
Post to : [email protected]
Unsubscribe : https://launchpad.net/~group.of.nepali.translators
More help : https://help.launchpad.net/ListHelp