[Bug 1603436] Re: Regression in python2.7 SRU breaks python-cassandra
Chris J Arges
1603436 at bugs.launchpad.net
Wed Jul 27 08:11:00 UTC 2016
Hello Max, or anyone else affected,
Accepted python-cassandra-driver into xenial-proposed. The package will
build now and be available at https://launchpad.net/ubuntu/+source
/python-cassandra-driver/2.5.1-1ubuntu0.1 in a few hours, and then in
the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Your feedback will aid us getting this update
out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed. In either case, details of your testing will help
us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: python-cassandra-driver (Ubuntu Xenial)
Status: In Progress => Fix Committed
** Tags added: verification-needed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
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 Committed
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
More information about the foundations-bugs
mailing list