From owner-freebsd-python@freebsd.org Sun Feb 19 19:53:57 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 BC038CE51EC for ; Sun, 19 Feb 2017 19:53:57 +0000 (UTC) (envelope-from john@saltant.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 9CA5481C for ; Sun, 19 Feb 2017 19:53:57 +0000 (UTC) (envelope-from john@saltant.com) Received: by mailman.ysv.freebsd.org (Postfix) id 98F08CE51EB; Sun, 19 Feb 2017 19:53:57 +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 98949CE51EA for ; Sun, 19 Feb 2017 19:53:57 +0000 (UTC) (envelope-from john@saltant.com) Received: from twaddle.saltant.net (twaddle.saltant.net [IPv6:2001:470:8d6f:1001::2]) (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 6ACD481B for ; Sun, 19 Feb 2017 19:53:57 +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 0B763836C for ; Sun, 19 Feb 2017 14:53:56 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=saltant.com; s=twaddle; t=1487534036; bh=rR1uCFVMRXiWjprrfff3KblOvL3oauAG9vbzNFy7+fw=; h=Subject:References:To:From:Date:In-Reply-To; b=sxXcqAw//WMpuflA5XuDX6N8kmH9USEDZ8zfMmv+vpPAubFgovROhKX8cZouKJtyb mdhgUyG+mFOkeLkW3Iusgbqmnnno0+JEplwMV9ewM4hibbhMbrZ0nCvgiBk2viFzJx KID2tZphmuqp+uAKTmWCT90PDCSao3Ia770y6S4q6vd/PEmXEOaDV1WhY2wZoPnYjm /p3aFvYYM7wepx31snGI/nYoFabH4Zp+ymcvh9gCcJUC4b0akjJXQxq/RltXV6RZE3 2ksBsQHy1PzD1+pEOPwqvzmMt+NTE3XlRqsEsYruZFP+gE6IAz7q6mxKnIX+enic3w T5i5djdFt0Y+g== Subject: Re: calendarserver 9.0 incompatible with twisted 17.1.0 ? References: <275a8b3a-fa65-06d6-8ac2-f4d974bd072a@saltant.com> To: python@freebsd.org From: "John W. O'Brien" Organization: Saltant Solutions Message-ID: <5ebe1b4e-7d18-f7c1-b3ae-3d369b44b480@saltant.com> Date: Sun, 19 Feb 2017 14:53:56 -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: <275a8b3a-fa65-06d6-8ac2-f4d974bd072a@saltant.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hF3ANKA7hwvOwecgiMeqwIPFVLRCTgx2C" 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:53:57 -0000 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" 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: <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 >> from pkg_resources import load_entry_point >> File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.= py", line 3019, in >> @_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--