From owner-freebsd-python@freebsd.org Sun Feb 19 19:44:45 2017 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56FB7CE5E9A for ; Sun, 19 Feb 2017 19:44:45 +0000 (UTC) (envelope-from john@saltant.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 373AF1CA1 for ; Sun, 19 Feb 2017 19:44:45 +0000 (UTC) (envelope-from john@saltant.com) Received: by mailman.ysv.freebsd.org (Postfix) id 33AA3CE5E99; Sun, 19 Feb 2017 19:44:45 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 33501CE5E98 for ; Sun, 19 Feb 2017 19:44:45 +0000 (UTC) (envelope-from john@saltant.com) Received: from twaddle.saltant.net (twaddle.saltant.net [72.78.188.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 05D341C9F for ; Sun, 19 Feb 2017 19:44:44 +0000 (UTC) (envelope-from john@saltant.com) Received: from dreck.saltant.net (dreck.saltant.net [72.78.188.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by twaddle.saltant.net (Postfix) with ESMTPSA id 716038366; Sun, 19 Feb 2017 14:44:37 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=saltant.com; s=twaddle; t=1487533477; bh=VKNIAEzqYepVgCSq2w1cO4HQpBEgyAGpZsNjOot5F6Y=; h=Subject:To:References:Cc:From:Date:In-Reply-To; b=QjiVvPCrbxSshStNqDsG/5PPKmIr6wWoU3qYc8y5Rbw4xRcUir11hwlTg7+j19y/E c27omjIlCucUHNZuiNk9QZtTtKulZzhW7+PKCtI/Rh5223ciQWwYua01ZwU/9rEgij FaGMfIggg7h9vjsHRobHyoDH5C7wonP8fj2oM3zPmYxmVdUkC8MyJB0Q5tMnQ8U8Xc eDqjlY/aCyD7tO1k0rc8IyNdBVA0HAqjqbi9gqsifUAIWrlvCNrtV5ADzBROlFjydy zEIFBivuZFXjGCtpCPgaxsw219hv5wLFw3eE263nFs/R9I355sd9kM+rbDbaK+Bibu YtK42FQTKadhA== Subject: Re: calendarserver 9.0 incompatible with twisted 17.1.0 ? To: Axel Rau References: Cc: calendarserver-dev@lists.macosforge.org, python@FreeBSD.org From: "John W. O'Brien" Organization: Saltant Solutions Message-ID: <275a8b3a-fa65-06d6-8ac2-f4d974bd072a@saltant.com> Date: Sun, 19 Feb 2017 14:44:33 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="QBfP2cQxA9neMVTG0A88WPflLv9fvWS3q" X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2017 19:44:45 -0000 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" To: Axel Rau 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: In-Reply-To: --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 > from pkg_resources import load_entry_point > File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.p= y", line 3019, in > @_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--