[CalendarServer-dev] calendarserver 9.0 incompatible with twisted 17.1.0 ?

Axel Rau Axel.Rau at Chaos1.DE
Sun Feb 19 09:04:50 PST 2017

After upgrading twisted from 16.6.0 to 17.1.0 I’m getting:

Starting caldavd.
Traceback (most recent call last):
  File "/usr/local/bin/twistd", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3019, in <module>
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3003, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3032, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 655, in _build_master
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 963, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/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
/usr/local/etc/rc.d/caldavd: WARNING: failed to start caldavd

The FreeBSD twisted port, which my port depends on has following run-dependencies for 17.1.0:
which  are satisfied. 

Is this another variant of the import race problem on FreeBSD?

Not all twisted applications require Automat, hence it seems to be unconditionally required here:

PGP-Key:29E99DD6  ☀  computing @ chaos claudius

More information about the calendarserver-dev mailing list