[Bug 1603436] [NEW] Regression in python2.7 SRU breaks python-cassandra
Max Bowsher
_ at maxb.eu
Fri Jul 15 13:23:12 UTC 2016
Public bug reported:
"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.
** Affects: python2.7 (Ubuntu)
Importance: Undecided
Status: New
** Tags: regression-update
--
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 python2.7 package in Ubuntu:
New
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/python2.7/+bug/1603436/+subscriptions
More information about the foundations-bugs
mailing list