Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Feb 2017 14:53:56 -0500
From:      "John W. O'Brien" <john@saltant.com>
To:        python@freebsd.org
Subject:   Re: calendarserver 9.0 incompatible with twisted 17.1.0 ?
Message-ID:  <5ebe1b4e-7d18-f7c1-b3ae-3d369b44b480@saltant.com>
In-Reply-To: <275a8b3a-fa65-06d6-8ac2-f4d974bd072a@saltant.com>
References:  <FF57FE9C-4CAB-46F2-BFF4-527820583030@Chaos1.DE> <275a8b3a-fa65-06d6-8ac2-f4d974bd072a@saltant.com>

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

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

On 2/19/17 14:44, John W. O'Brien wrote:
> 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:
>>
>> 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>
>>     @_call_aside
>>   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 =3D WorkingSet._build_master()
>>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.=
py", line 655, in _build_master
>>     ws.require(__requires__)
>>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.=
py", line 963, in require
>>     needed =3D 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>=3D0.3.0' distributio=
n 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-d=
ependencies for 17.1.0:
>> 	zope.interface>=3D3.6.0
>> 	constantly>=3D15.1
>> 	incremental>=3D16.10.1
>> which  are satisfied.=20
>>
>> Is this another variant of the import race problem on FreeBSD?
>>
>> Not all twisted applications require Automat, hence it seems to be unc=
onditionally required here:
>> 	https://github.com/twisted/twisted/blob/a2200c3bf53beaa2763fe13bc6a67=
0d7cf941dea/src/twisted/python/_setup.py
>=20
> Hello Axel,
>=20
> 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. I=
n
> 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.
>=20
> [0] [PATCH] devel/py-twisted: Add missing dependency on devel/py-Automa=
t
>     https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217205
>=20
> [1] https://svnweb.freebsd.org/changeset/ports/434330

Well, isn't that nice? The calendarserver-dev list auto-rejected my
message because I'm "not allowed to post", and Axel's MX returned a "550
Mail refused by recipient policy". Oh, well. I tried.


--5vO7O1p4t5gFB17bPr9d5wolXPlNhHD1J--

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

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

iQIcBAEBCgAGBQJYqffUAAoJEGEAJpqmdExHJZcQAILOZGnKcWFHy2s9N9UVQv0f
DbT7ExbkwSbKqOrKFxiEArntFshY+MBec07BtCMIto5LwqdHOAgwRxPK5W3tl3kj
chf6X/EGfLeePiN8g4WTodzaCos+SYe3NFVgObrp7gnEYsBsjzlj5+ilTRvIMsUF
FCKRBKqvbexqQFg59xGcQ64r3j3FxR30LJUuunI9vBy/5LjeUoTYV5P+R1psuLge
ezkoVSdny8BwcEGtJWMT89gLg26PGfpI7+i1fbJaNUaLRj07/H7IvZkCbTxaSvNm
R9uPMwWkhUTth9MWu3xvDBqx/g3MeZDjuRQzhh+I7esdwJ7D9837iBvsdot8ziCp
17jGAbRqJTdPPH5J3tiHCwI3yqc4Ns8Pi5XOEkRh/OvFksbD06mhUxtxhqpoNLfA
+KL2bb4U17OwUMz0CZG+DvEr99cl1Dl6o/g/N4Q9aNWOOaQ2NO31Po0gy12oDKDT
dGGP4w3G9K+k1JBcIejhm1Um9RZce/KYrMEEwFvQ4PjQxofRIn8bYPYu+0zUQ4Q1
y9gEDvl0H17mjqP71/1hrdBA3VL5WQ+mY6A4lPC25A3Ith0Ay7jMRmnbtm3oFiSh
uRkR51JN0mZaxg4OutkfoMpoEez9bsYcddbve/lTSwMUAm8/sOpZvK3q4C37d9kZ
i1983VYx5GR7UPXNFEzQ
=ed1y
-----END PGP SIGNATURE-----

--hF3ANKA7hwvOwecgiMeqwIPFVLRCTgx2C--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5ebe1b4e-7d18-f7c1-b3ae-3d369b44b480>