Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Feb 2017 14:44:33 -0500
From:      "John W. O'Brien" <john@saltant.com>
To:        Axel Rau <Axel.Rau@Chaos1.DE>
Cc:        calendarserver-dev@lists.macosforge.org, python@FreeBSD.org
Subject:   Re: calendarserver 9.0 incompatible with twisted 17.1.0 ?
Message-ID:  <275a8b3a-fa65-06d6-8ac2-f4d974bd072a@saltant.com>
In-Reply-To: <FF57FE9C-4CAB-46F2-BFF4-527820583030@Chaos1.DE>
References:  <FF57FE9C-4CAB-46F2-BFF4-527820583030@Chaos1.DE>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--QBfP2cQxA9neMVTG0A88WPflLv9fvWS3q
Content-Type: multipart/mixed; boundary="UI945wgbvcMMMsAF0GU9LLNHr65CqdptE";
 protected-headers="v1"
From: "John W. O'Brien" <john@saltant.com>
To: Axel Rau <Axel.Rau@Chaos1.DE>
Cc: calendarserver-dev@lists.macosforge.org, python@FreeBSD.org
Message-ID: <275a8b3a-fa65-06d6-8ac2-f4d974bd072a@saltant.com>
Subject: Re: calendarserver 9.0 incompatible with twisted 17.1.0 ?
References: <FF57FE9C-4CAB-46F2-BFF4-527820583030@Chaos1.DE>
In-Reply-To: <FF57FE9C-4CAB-46F2-BFF4-527820583030@Chaos1.DE>

--UI945wgbvcMMMsAF0GU9LLNHr65CqdptE
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 2/19/17 12:04, Axel Rau wrote:
> After upgrading twisted from 16.6.0 to 17.1.0 I=E2=80=99m getting:
>=20
> 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__.p=
y", line 3019, in <module>
>     @_call_aside
>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.p=
y", line 3003, in _call_aside
>     f(*args, **kwargs)
>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.p=
y", line 3032, in _initialize_master_working_set
>     working_set =3D WorkingSet._build_master()
>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.p=
y", line 655, in _build_master
>     ws.require(__requires__)
>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.p=
y", line 963, in require
>     needed =3D self.resolve(parse_requirements(requirements))
>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.p=
y", line 849, in resolve
>     raise DistributionNotFound(req, requirers)
> pkg_resources.DistributionNotFound: The 'Automat>=3D0.3.0' distribution=
 was not found and is required by Twisted
> /usr/local/etc/rc.d/caldavd: WARNING: failed to start caldavd
>=20
> The FreeBSD twisted port, which my port depends on has following run-de=
pendencies for 17.1.0:
> 	zope.interface>=3D3.6.0
> 	constantly>=3D15.1
> 	incremental>=3D16.10.1
> which  are satisfied.=20
>=20
> Is this another variant of the import race problem on FreeBSD?
>=20
> Not all twisted applications require Automat, hence it seems to be unco=
nditionally required here:
> 	https://github.com/twisted/twisted/blob/a2200c3bf53beaa2763fe13bc6a670=
d7cf941dea/src/twisted/python/_setup.py

Hello Axel,

This is a known problem. Automat is not currently registered as a
dependency of the twisted port. There is an open PR [0] with a patch. In
the mean time, you could install the devel/py-Automat port manually to
satisfy Twisted. Automat was only added to the ports tree yesterday
morning [1], so it won't appear in the standard package repository for a
few more days.

[0] [PATCH] devel/py-twisted: Add missing dependency on devel/py-Automat
    https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217205

[1] https://svnweb.freebsd.org/changeset/ports/434330

Regards,
John


--UI945wgbvcMMMsAF0GU9LLNHr65CqdptE--

--QBfP2cQxA9neMVTG0A88WPflLv9fvWS3q
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJYqfWlAAoJEGEAJpqmdExHrvwP/AsFQqVOfkjtRJpxsamP4Qbw
XBm0BeOIurhFYOxwvNCQel7b8Er9gSQy0Cxb2Qu+jIR1zwz2vjX7+/PBPd38dWM+
9U4paLDfqp5I6SlsbTsgRqDzHCY6G7EC2wFMK7de8ojOQYUhvDpj+c1HBP3lsCPG
P6uSMzdeeuub79EZmVVfOhpnkbvDiflG0k2cVQ3DP2Dt4uuC0m8ZY/7WHFMdRPa+
hWBY1PQFzAHV/uvdel6jRZ7BZ6idT6E/BK9GaY/FWcnOYphf7FomUdgKJ508z1nH
30xTN+0yYGS9nftKW5NHgIcvXVTuoke/bK22pKNEYTcYJocCUrxw2bSD8LHz5+V7
L7ByvepHFbJSmMYW19A6favyZ8tWGEKVj29qR5MgGQE9RC0/LABEQVAUKZlWzpbx
BSi5yRXaTiPJtiJqb4mNF97FI2bSll1xIEcySh86pVNPd7hc7P2xMZacN2FMVicF
mnFTdEQ7Brdb0RRaAul3dQjq+mxJOYsZHs7s2U/tf3K+V9X2P3b93y9x26S8ukwx
7Pmc9IYXena97A+ZOOTj0KueBf0le6eg+6SrsF8yQrHpNgiUSOdn31xJ0enxbgUx
ubHOc/w48OAyQWM2kCJWnR7zAaOH1OliJnHO1SekC/Iy/gp6DhkIc2tylZU2Qhle
UAk3jaJq4VaA1lRTbb4a
=TBrA
-----END PGP SIGNATURE-----

--QBfP2cQxA9neMVTG0A88WPflLv9fvWS3q--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?275a8b3a-fa65-06d6-8ac2-f4d974bd072a>