[Bug 1603436] Re: Regression in python2.7 SRU breaks python-cassandra
Matthias Klose
doko at ubuntu.com
Sat Nov 12 09:43:44 UTC 2016
please check the build in xenial-proposed. We won't rollback python2.7,
so the way forward is to check the fixed cassandra package
** Changed in: python-cassandra-driver (Ubuntu Xenial)
Assignee: (unassigned) => Dimitri John Ledkov (xnox)
** Changed in: python-cassandra-driver (Ubuntu Xenial)
Importance: Undecided => High
** Changed in: python-cassandra-driver (Ubuntu Xenial)
Milestone: None => xenial-updates
--
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