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 YEenASvnyV/YIAAA0tVLHw (envelope-from ) for ; Fri, 04 Dec 2020 07:37:15 +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 QMAbOSrnyV9rXwAA1q6Kng (envelope-from ) for ; Fri, 04 Dec 2020 07:37:14 +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 6C3E09404CC for ; Fri, 4 Dec 2020 07:37:14 +0000 (UTC) Received: from localhost ([::1]:48344 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kl5eT-00020z-9y for larch@yhetil.org; Fri, 04 Dec 2020 02:37:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kl5eI-00020s-TW for guix-patches@gnu.org; Fri, 04 Dec 2020 02:37:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59132) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kl5eI-0003Mq-M6 for guix-patches@gnu.org; Fri, 04 Dec 2020 02:37:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kl5eI-00074Z-Hz for guix-patches@gnu.org; Fri, 04 Dec 2020 02:37:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45003] [PATCH] gnu: poetry: Fix a problem with a dependency. Resent-From: Tanguy LE CARROUR Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 04 Dec 2020 07:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45003 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45003-done@debbugs.gnu.org, Marius Bakke Received: via spool by 45003-done@debbugs.gnu.org id=D45003.160706736927122 (code D ref 45003); Fri, 04 Dec 2020 07:37:02 +0000 Received: (at 45003-done) by debbugs.gnu.org; 4 Dec 2020 07:36:09 +0000 Received: from localhost ([127.0.0.1]:42445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl5dQ-00073O-NI for submit@debbugs.gnu.org; Fri, 04 Dec 2020 02:36:08 -0500 Received: from relay10.mail.gandi.net ([217.70.178.230]:50177) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl5dO-00072w-Ms for 45003-done@debbugs.gnu.org; Fri, 04 Dec 2020 02:36:06 -0500 Received: from localhost (static-176-185-184-238.axione.abo.bbox.fr [176.185.184.238]) (Authenticated sender: tanguy@bioneland.org) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 98065240002; Fri, 4 Dec 2020 07:35:59 +0000 (UTC) Date: Fri, 04 Dec 2020 08:35:57 +0100 From: Tanguy LE CARROUR References: <20201202083354.19350-1-tanguy@bioneland.org> <87o8jaimtw.fsf@gnu.org> In-Reply-To: <87o8jaimtw.fsf@gnu.org> MIME-Version: 1.0 User-Agent: astroid/0.15.0 (https://github.com/astroidmail/astroid) Message-Id: <1607066633.9zez5fcynx.astroid@melmoth.none> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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.29 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-Migadu-Queue-Id: 6C3E09404CC X-Spam-Score: -2.29 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: 4ir6lkZJJLwF *Oups*, I sent my message to quickly=E2=80=A6 Excerpts from Marius Bakke's message of December 3, 2020 10:47 pm: > Updating packaging alone is also a staging-level change, so I did not > dig much further. But there is some room for improvement here. Maybe > by (setenv "PYTHONPATH" (string-append ".:" (getenv "PYTHONPATH"))) ? Actually, I noticed some weird things when using Poetry, that might be related to PYTHONPATH. Even if it was installed in its own profile, it was using python packages installed outside of it. Can't remember for sure, but I think it was `virtualenv`. I had to unset my PYTHONPATH to make it use the ones installed in the profi= le. But, now that the versions are the same in the default profile and in this dedicated Poetry profile, everything seems to be working just fine. > I also wonder whether pytest needs to propagate packaging at all, or if > wrapping is enough. Do you know how common it is to "import pytest" or > "from pytest import foo", and whether those code paths would need > 'packaging'? Usually, one would only do this in the test suite, or in a package that extends pytest behaviour. At least it's what I see from the 450,942 results I've found on Github. But I have to confess that I did not go through all of them! ^_^' Regards --=20 Tanguy