From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IfdgCkhbyV9WYQAA0tVLHw (envelope-from ) for ; Thu, 03 Dec 2020 21:40:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6NakBUhbyV8EfAAAB5/wlQ (envelope-from ) for ; Thu, 03 Dec 2020 21:40:24 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A68F9940509 for ; Thu, 3 Dec 2020 21:40:23 +0000 (UTC) Received: from localhost ([::1]:54216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkwKs-00052o-Gs for larch@yhetil.org; Thu, 03 Dec 2020 16:40:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkwKZ-00051V-V7 for guix-patches@gnu.org; Thu, 03 Dec 2020 16:40:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58666) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kkwKZ-0000NA-Ke for guix-patches@gnu.org; Thu, 03 Dec 2020 16:40:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kkwKZ-0007Ww-GZ for guix-patches@gnu.org; Thu, 03 Dec 2020 16:40:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44077] gnu: poetry: Update to 1.1.4. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Dec 2020 21:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44077 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tanguy LE CARROUR , Nicolas Goaziou Cc: 44077@debbugs.gnu.org Received: via spool by 44077-submit@debbugs.gnu.org id=B44077.160703157028856 (code B ref 44077); Thu, 03 Dec 2020 21:40:03 +0000 Received: (at 44077) by debbugs.gnu.org; 3 Dec 2020 21:39:30 +0000 Received: from localhost ([127.0.0.1]:41971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkwK2-0007VM-67 for submit@debbugs.gnu.org; Thu, 03 Dec 2020 16:39:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkwJz-0007V2-KM for 44077@debbugs.gnu.org; Thu, 03 Dec 2020 16:39:28 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52176) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkwJs-0008Ue-QM; Thu, 03 Dec 2020 16:39:20 -0500 Received: from host-37-191-236-253.lynet.no ([37.191.236.253]:39002 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kkwJr-0004pE-Ap; Thu, 03 Dec 2020 16:39:20 -0500 From: Marius Bakke In-Reply-To: <1606724643.e3gcn2y8r4.astroid@rafflesia.none> References: <20201126133621.bnjr7g5p3rjndr2n@melmoth> <87mtz2tv49.fsf@nicolasgoaziou.fr> <1606572132.b3t9ih4lho.astroid@melmoth.none> <874kl9trol.fsf@nicolasgoaziou.fr> <1606671968.b6x1phkual.astroid@melmoth.none> <1606678280.id8is1pm08.astroid@melmoth.none> <877dq40vxk.fsf@gnu.org> <1606724643.e3gcn2y8r4.astroid@rafflesia.none> Date: Thu, 03 Dec 2020 22:39:16 +0100 Message-ID: <87r1o6in7f.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.38 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: A68F9940509 X-Spam-Score: -2.38 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: 8WidF3hV/G4t --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Tanguy LE CARROUR skriver: > Hi Marius! > > > Excerpts from Marius Bakke's message of November 29, 2020 9:06 pm: >> Tanguy LE CARROUR skriver: >>=20 >>> I've tried to modify `python-virtualenv` to make it use our current >>> version of `python-distlib`. Poetry builds, but it does not work >>> properly! >>> >>> ``` >>> $ poetry install >>> Creating virtualenv test-4avGy1Vc-py3.8 in /home/tanguy/.cache/pypoetry= /virtualenvs >>> >>> ImportError >>> >>> cannot import name 'enquote_executable' from 'distlib.scripts' >>> (/gnu/store/2j3qn0ksry1qarwih9knh1ngr6zm2rci-python-distlib-0.3.0/lib= /python3.8/site-packages/distlib/scripts.py) >>> ``` >>> >>> So I guess the version of distlib does matter and we cannot do without. >>=20 >> To get these patches on 'master' without rebuilding the world, you can >> create a new 'python-distlib' like so: >>=20 >> ;; TODO: Merge with 'python-distlib' on the next rebuild cycle. >> (define-public python-distlib/next >> (package >> (inherit python-distlib) >> (version "1.2.3") >> (source (origin ...)))) >>=20 >> ...and in the packages that require the new version, refer to >> 'python-distlib/next' instead of 'python-distlib'. >>=20 >> Does that make sense? > > Yes, thanks, that's a great solution, indeed! > > I'm only concerned about the poor soul who has to remember to get rid of > the `python-distlib/next` and update `python-virtualenv` package > definition. I guess none of this is auto-magic, right?! It's not automatic indeed. But as long as there is a source code comment mentioning 'core-updates', 'staging' or 'rebuild cycle', chances are some poor soul will take care of it appropriately in due time. ;-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFDBAEBCgAtFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl/JWwQPHG1hcml1c0Bn bnUub3JnAAoJEKKgbfKjOlT6vbYH/19jHqC7xh+gpYYSvrVO+Gppu5+ibxQ9kKUV HFliHo8+8jIaOaKxwzXk5mBOviDb7d0JBTnGtvjXywf11sD4BuVhkgtSbgodsdb+ CHJKaqHLZ/2Z1PunrVPb8PN3mlIxIs0HEA+8VusB3n2EPeCYQ8ojgwsNr6Io03ft 5D/IRQWa8daGTJD7hLBaSXMFpiwiuO9+FzScfqfTszb20C6OXEQ+9t1N/n/A1P68 9JlpUQd6uafalhfa0vgoYttuXM4aCf1qmJVmvz+JlE5+82+Usldg4gG74MhuV69A ZyOXWTUM18ioCV6ms6oUKTsGGBUKD2UIVL2nwXdZK0ZEvSIWKBk= =OBpB -----END PGP SIGNATURE----- --=-=-=--