FS#57877 - [python2-zeroconf] updated to 0.20.0, but 0.20.0 dropped python2 support

Attached to Project: Community Packages
Opened by Johannes Jordan (FoPref) - Saturday, 17 March 2018, 21:13 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 18 March 2018, 15:55 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The software in this package is broken, ie. it does not work at all.
The version of python2-zeroconf should be reverted to 0.19.1, the last zeroconf release to support Python2.

As per the changelog:
> 0.20.0
> Dropped support for Python 2 (this includes PyPy) and 3.3
> Fixed some class’ equality operators
> ServiceBrowser entries are being refreshed when ‘stale’ now
> Cache returns new records first now instead of last

Trying to use the current version of the package leads to the following output:

> File "/usr/lib/python2.7/site-packages/zeroconf.py", line 1133, in run
> reader.handle_read(socket_)
> File "/usr/lib/python2.7/site-packages/zeroconf.py", line 1175, in handle_read
> msg = DNSIncoming(data)
> File "/usr/lib/python2.7/site-packages/zeroconf.py", line 644, in __init__
> self.read_questions()
> File "/usr/lib/python2.7/site-packages/zeroconf.py", line 667, in read_questions
> name = self.read_name()
> File "/usr/lib/python2.7/site-packages/zeroconf.py", line 756, in read_name
> t = length & 0xC0
> TypeError: unsupported operand type(s) for &: 'str' and 'int'
This task depends upon

Closed by  Jelle van der Waa (jelly)
Sunday, 18 March 2018, 15:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  dropped python2-zerconf
Comment by Eli Schwartz (eschwartz) - Sunday, 18 March 2018, 06:12 GMT
  • Field changed: Summary (python2-zeroconf updated to 0.20.0, but 0.20.0 dropped python2 support → [python2-zeroconf] updated to 0.20.0, but 0.20.0 dropped python2 support)
  • Field changed: Status (Unconfirmed → Assigned)
  • Field changed: Severity (Critical → High)
  • Task assigned to Jelle van der Waa (jelly)
Hmm, nothing in the repos actually requires the python2 version.

Loading...