From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: gnu: python-pytest: Update to 5.2.1. Date: Wed, 23 Oct 2019 11:00:47 +0300 Message-ID: <20191023080047.GD20347@E5400> References: <20191023072243.comuq7dmvnl67reo@rafflesia> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="84ND8YJRMFlzkrP4" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:45227) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNBZh-0005Xa-4l for guix-devel@gnu.org; Wed, 23 Oct 2019 04:00:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNBZf-00056N-2q for guix-devel@gnu.org; Wed, 23 Oct 2019 04:00:57 -0400 Received: from flashner.co.il ([178.62.234.194]:56976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iNBZc-00052f-Si for guix-devel@gnu.org; Wed, 23 Oct 2019 04:00:55 -0400 Content-Disposition: inline In-Reply-To: <20191023072243.comuq7dmvnl67reo@rafflesia> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Tanguy Le Carrour Cc: Guix --84ND8YJRMFlzkrP4 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 23, 2019 at 09:22:43AM +0200, Tanguy Le Carrour wrote: > Hi Guix! >=20 > I'm working on updating python-pytest and=E2=80=A6 not everything is goin= g as > smoothly as I was expecting! :-( >=20 > Pytest 5.2.1 depends on Pluggy >=3D0.12.0=E2=80=A6 which depends on > importlib-metadata. But when I had the latter as a propagated-input to > python-pluggy, then `guix build` gets stuck. >=20 > diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm > index a7f83dcd31..ab80cdebf9 100644 > --- a/gnu/packages/python-xyz.scm > +++ b/gnu/packages/python-xyz.scm > @@ -8914,17 +8914,19 @@ library as well as on the command line.") > (define-public python-pluggy > (package > (name "python-pluggy") > - (version "0.11.0") > + (version "0.13.0") > (source > (origin > (method url-fetch) > (uri (pypi-uri "pluggy" version)) > (sha256 > (base32 > - "10511a54dvafw1jrk75mrhml53c7b7w4yaw7241696lc2hfvr895")))) > + "0d4gsvb4kjqhiqqi4bbsdp7s1xlyl5phibcw1q1mrpd65xia2pzs")))) > (build-system python-build-system) > (native-inputs > `(("python-setuptools-scm" ,python-setuptools-scm))) > + (propagated-inputs > + `(("python-importlib-metadata" ,python-importlib-metadata))) > (synopsis "Plugin and hook calling mechanism for Python") > (description "Pluggy is an extraction of the plugin manager as us= ed by > Pytest but stripped of Pytest specific details.") >=20 > The problem seems to be that python-importlib-metadata's dependency graph > contains=E2=80=A6 python-pluggy! >=20 > How am I supposed to fix this chicken and egg situation?! Is this > something that should be notified to upstream?! >=20 I assume python-importlib-metadata only needs python-pytest for running the test suite. We have a couple of python libraries that have '-bootstrap' added to the end. You could try making a python-importlib-metadata-bootstrap which doesn't use python-pytest and doesn't run the test suite, and use that as an input for python-pytest. Or if that's not the circle that's created then you'll have to find where it is. Same advice though, create another package with less functionality or without tests and use that to break the cycle. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --84ND8YJRMFlzkrP4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl2wCK8ACgkQQarn3Mo9 g1EolBAAkCDz5gxe+XaN/oCoKWBFl1qrywvLSna5IbjLXIY4BIKFqv8Q2Ab+/wIs TSRA0+lqx7Zn6+gIr+BKGcc4wl587v6FSuyElNnUVIUhjuCu1YV9/zjvs75LAEmn dHMh1Qgt4hdGMN6X8LjCK6kJxQXwTWn8HEPrsaE3AAQ1cK1uLQZdqahKU6h4a1ca 8o0NGYp67sCGYPzP9tkcgaKqyZ8kEqY/SioKB1a0RGh6nIxwS4L+FF8cWEF3WARL Z5kor8qs94qEK/Ix1rUabAsRksfCmAa7FB+vAGWhJoAqtcLDAQvAJxD8oQifUBD0 S7JKodKnOKhLuVbVuTFkWxo6QDIW7aPLV2wTDWooAutRPdb71O7RVccDGiF+YQzS nUVEzioguhzC11jmxvgtjkkAfW/tr7UBEMT9PHC9w4g3cR9oMFHdr+XIR7CHa446 ycnw0QE3MnNkiCUf7/f8OjEv0812d552pvra2l8UDbgDuqxZG1FxGQCg7+ZcfgaS VghsIK7IasVVbXbCr3zpEvUJRyN80nVpNrwkrGSAByHn9Kt1o7vMAiR2tsNdpsAH KbBnpCiSwjinSGsnzsLMa46ibbPgAKY1MyJKP9UlLIpJXQxwl2JTDtuTJqtG3VpH NAwmO9cohuvRsSu+xneIU2tXkpsCzjHB9613nOS6xLlcghM9tuw= =L10/ -----END PGP SIGNATURE----- --84ND8YJRMFlzkrP4--