From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6JFLNSWtxF8PagAA0tVLHw (envelope-from ) for ; Mon, 30 Nov 2020 08:28:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id WBcoMSWtxF+nKwAA1q6Kng (envelope-from ) for ; Mon, 30 Nov 2020 08:28:21 +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 7DE549404CF for ; Mon, 30 Nov 2020 08:28:21 +0000 (UTC) Received: from localhost ([::1]:49432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjeXk-0000Sh-Di for larch@yhetil.org; Mon, 30 Nov 2020 03:28:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56306) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjeXS-0000SO-CN for guix-patches@gnu.org; Mon, 30 Nov 2020 03:28:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41841) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjeXS-0005jn-40 for guix-patches@gnu.org; Mon, 30 Nov 2020 03:28:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjeXS-0004g7-11 for guix-patches@gnu.org; Mon, 30 Nov 2020 03:28:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44077] gnu: poetry: Update to 1.1.4. Resent-From: Tanguy LE CARROUR Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 30 Nov 2020 08:28:01 +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: Nicolas Goaziou , Marius Bakke Cc: 44077@debbugs.gnu.org Received: via spool by 44077-submit@debbugs.gnu.org id=B44077.160672485217937 (code B ref 44077); Mon, 30 Nov 2020 08:28:01 +0000 Received: (at 44077) by debbugs.gnu.org; 30 Nov 2020 08:27:32 +0000 Received: from localhost ([127.0.0.1]:53387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjeWx-0004fF-SC for submit@debbugs.gnu.org; Mon, 30 Nov 2020 03:27:32 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:45297) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjeWv-0004ev-CF for 44077@debbugs.gnu.org; Mon, 30 Nov 2020 03:27:29 -0500 X-Originating-IP: 176.159.32.89 Received: from localhost (176-159-32-89.abo.bbox.fr [176.159.32.89]) (Authenticated sender: tanguy@bioneland.org) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 4860324000A; Mon, 30 Nov 2020 08:27:22 +0000 (UTC) Date: Mon, 30 Nov 2020 09:27:19 +0100 From: Tanguy LE CARROUR 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> In-Reply-To: <877dq40vxk.fsf@gnu.org> MIME-Version: 1.0 User-Agent: astroid/0.15.0 (https://github.com/astroidmail/astroid) Message-Id: <1606724643.e3gcn2y8r4.astroid@rafflesia.none> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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.28 X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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-TUID: 5jtxiBw2hJAX 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?! Regards --=20 Tanguy