Package: python3-twisted
Version: 17.4.0-2
Severity: serious

Hi,

When using python3-twisted from backports (18.7.0-2~bpo9+1), I get
the following error:
Traceback (most recent call last):
  File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3/dist-packages/synapse/app/homeserver.py", line 27, in 
<module>
    from twisted.internet import defer, reactor
  File "/usr/lib/python3/dist-packages/twisted/internet/reactor.py", line 38, 
in <module>
    from twisted.internet import default
  File "/usr/lib/python3/dist-packages/twisted/internet/default.py", line 56, 
in <module>
    install = _getInstallFunction(platform)
  File "/usr/lib/python3/dist-packages/twisted/internet/default.py", line 44, 
in _getInstallFunction
    from twisted.internet.epollreactor import install
  File "/usr/lib/python3/dist-packages/twisted/internet/epollreactor.py", line 
24, in <module>
    from twisted.internet import posixbase
  File "/usr/lib/python3/dist-packages/twisted/internet/posixbase.py", line 18, 
in <module>
    from twisted.internet import error, udp, tcp
  File "/usr/lib/python3/dist-packages/twisted/internet/udp.py", line 53, in 
<module>
    from twisted.internet import base, defer, address
  File "/usr/lib/python3/dist-packages/twisted/internet/base.py", line 27, in 
<module>
    from twisted.internet._resolver import (
  File "/usr/lib/python3/dist-packages/twisted/internet/_resolver.py", line 25, 
in <module>
    from twisted.internet.address import IPv4Address, IPv6Address
  File "/usr/lib/python3/dist-packages/twisted/internet/address.py", line 23, 
in <module>
    class IPv4Address(object):
  File "/usr/lib/python3/dist-packages/twisted/internet/address.py", line 37, 
in IPv4Address
    type = attr.ib(validator=attr.validators.in_(["TCP", "UDP"]))
AttributeError: module 'attr.validators' has no attribute 'in_'

I had python3-attr 16.3.0-1 installed. If I upgrade it to
17.4.0-2~bpo9+1, the problem goes away.

I'm filing this against 17.4.0-2 since I think it applies to all
versions, including the version in testing.


Kurt

Reply via email to