py-twisted is broken in edge
py-twisted is broken in edge:
2b879b3c5dcf:~$ sudo apk add py-twisted
(1/7) Installing py-crypto (2.6.1-r2)
(2/7) Installing py2-crypto (2.6.1-r2)
(3/7) Installing py-zope-interface (4.3.2-r1)
(4/7) Installing py2-zope-interface (4.3.2-r1)
(5/7) Installing py-twisted (17.1.0-r0)
(6/7) Installing py3-zope-interface (4.3.2-r1)
(7/7) Installing py3-crypto (2.6.1-r2)
Executing busybox-1.27.1-r0.trigger
OK: 906 MiB in 482 packages
2b879b3c5dcf:~$ twist
Traceback (most recent call last):
File "/usr/bin/twist", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3019, in <module>
@_call_aside
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3003, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3032, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 655, in _build_master
ws.require(__requires__)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 963, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 849, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'Automat>=0.3.0' distribution was not found and is required by Twisted
The package is also not python-agnostic (#7710), which I will fix.
What has to be done is:
- Moving py-graphviz to py-pygraphviz.
- Creating a py-graphviz from the correct sources.
- Creating a py-automat package for use in twisted.
NOTE: This issue was created as a “todo” / reference point. I am currently waiting for core staff to tell me the policies around renaming packages.
(from redmine: issue id 7883, created on 2017-09-22)