<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 19, 2017, at 9:04 AM, Axel Rau &lt;<a href="mailto:Axel.Rau@Chaos1.DE" class="">Axel.Rau@Chaos1.DE</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">After upgrading twisted from 16.6.0 to 17.1.0 I’m getting:<br class=""><br class="">Starting caldavd.<br class="">Traceback (most recent call last):<br class=""> &nbsp;File "/usr/local/bin/twistd", line 6, in &lt;module&gt;<br class=""> &nbsp;&nbsp;&nbsp;from pkg_resources import load_entry_point<br class=""> &nbsp;File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3019, in &lt;module&gt;<br class=""> &nbsp;&nbsp;&nbsp;@_call_aside<br class=""> &nbsp;File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3003, in _call_aside<br class=""> &nbsp;&nbsp;&nbsp;f(*args, **kwargs)<br class=""> &nbsp;File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3032, in _initialize_master_working_set<br class=""> &nbsp;&nbsp;&nbsp;working_set = WorkingSet._build_master()<br class=""> &nbsp;File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 655, in _build_master<br class=""> &nbsp;&nbsp;&nbsp;ws.require(__requires__)<br class=""> &nbsp;File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 963, in require<br class=""> &nbsp;&nbsp;&nbsp;needed = self.resolve(parse_requirements(requirements))<br class=""> &nbsp;File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 849, in resolve<br class=""> &nbsp;&nbsp;&nbsp;raise DistributionNotFound(req, requirers)<br class="">pkg_resources.DistributionNotFound: The 'Automat&gt;=0.3.0' distribution was not found and is required by Twisted<br class="">/usr/local/etc/rc.d/caldavd: WARNING: failed to start caldavd<br class=""><br class="">The FreeBSD twisted port, which my port depends on has following run-dependencies for 17.1.0:<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>zope.interface&gt;=3.6.0<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>constantly&gt;=15.1<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>incremental&gt;=16.10.1<br class="">which &nbsp;are satisfied. <br class=""><br class="">Is this another variant of the import race problem on FreeBSD?<br class=""><br class="">Not all twisted applications require Automat, hence it seems to be unconditionally required here:<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><a href="https://github.com/twisted/twisted/blob/a2200c3bf53beaa2763fe13bc6a670d7cf941dea/src/twisted/python/_setup.py" class="">https://github.com/twisted/twisted/blob/a2200c3bf53beaa2763fe13bc6a670d7cf941dea/src/twisted/python/_setup.py</a><br class=""></div></div></blockquote></div><div class=""><br class=""></div>This is happening well before import; Twisted added Automat as a dependency. &nbsp;If the FreeBSD port of Twisted is installing Twisted 17.1.0 without Automat, then it is broken and needs to be fixed.<br class=""><div class=""><br class=""></div><div class="">-glyph</div></body></html>