Regression in python2.7 SRU breaks python-cassandra
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-cassandra-driver (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Dimitri John Ledkov | ||
Yakkety |
Fix Released
|
Undecided
|
Unassigned | ||
python2.7 (Ubuntu) |
Invalid
|
High
|
Dimitri John Ledkov | ||
Xenial |
Invalid
|
Undecided
|
Dimitri John Ledkov | ||
Yakkety |
Invalid
|
High
|
Dimitri John Ledkov |
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/
return self._try_
File "/usr/lib/
self_weakref = weakref.ref(self, callback=
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:/
tags: | added: xenial |
Changed in python2.7 (Ubuntu): | |
importance: | Undecided → High |
Changed in python2.7 (Ubuntu): | |
status: | New → Confirmed |
Changed in python2.7 (Ubuntu Yakkety): | |
status: | Confirmed → Invalid |
Changed in python-cassandra-driver (Ubuntu Yakkety): | |
status: | New → Fix Released |
Changed in python2.7 (Ubuntu Xenial): | |
status: | New → Invalid |
Changed in python-cassandra-driver (Ubuntu Xenial): | |
status: | New → In Progress |
Best course of action, imho, is to still take python SRU. But also backport the python-cassandra fix as an SRU.