From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 21 11:53:59 2021 Received: (at 49123) by debbugs.gnu.org; 21 Jun 2021 15:53:59 +0000 Received: from localhost ([127.0.0.1]:36836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvMFL-00022J-1S for submit@debbugs.gnu.org; Mon, 21 Jun 2021 11:53:59 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:50996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvMFI-000228-Ke for 49123@debbugs.gnu.org; Mon, 21 Jun 2021 11:53:58 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by laurent.telenet-ops.be with bizsmtp id Krtu2500d0mfAB401rtu82; Mon, 21 Jun 2021 17:53:54 +0200 Message-ID: Subject: Re: [bug#49123] [PATCH 20/24] gnu: Add python-plyer. From: Maxime Devos To: slg <0x2d@disroot.org>, 49123@debbugs.gnu.org Date: Mon, 21 Jun 2021 17:53:54 +0200 In-Reply-To: <20210620010742.4259-20-0x2d@disroot.org> References: <20210620010742.4259-1-0x2d@disroot.org> <20210620010742.4259-20-0x2d@disroot.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-ExYYy1ntHDmEV3NlJ19u" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1624290835; bh=BQyUReRblfeLCW/DR8yUx6lhrkBn+SVdRH8wWZ8rpyA=; h=Subject:From:To:Date:In-Reply-To:References; b=uxx7f2mGQ8WFK6Dnn1+NuITVK35GGCphZ06gwx3qs3XDkuYYXihI40w4YDCkdMTLc Nri4vRy60zSNBj9fN8CZrR72RDFcm5nX+3kZPeSfce1S/r7mdjr4OA/jFtRAXfPhSo pbFqz//xW2G0H8/tGNrCcHxmP0f1w474B2wWsMxzWWTYQo4xImslAT6EvRBLcrv8lh X5XOzqjp7kBvdbQhmrWpURiaRAKWgREsBHhy4XkHOkWfXFiZ2LQFGlxaoLt2ch7nuc AV3C0xzagP0fQHtA5K3LlvIeyn4owEfSeqi3Nho86jLVabvq8/A9Eg/Er7s+WmUnRL IuijGBMW4B+EA== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 49123 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-ExYYy1ntHDmEV3NlJ19u Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > +(define-public python-plyer > + (package > + (name "python-plyer") > + [...] > + (arguments > + `(#:tests? #f)) ;; Circular dependency on itself Seems odd that python-plyer's tests cannot find python-plyer, but whatever. You can try to work-around the cycle by defining two python-plyer packages, like this (fill in the ...): (define-public python-plyer (package (name ...) (version ...) (build-system ...) ;; do not add (arguments ...) here! ;; (This comment should not go into the revised patch) (native-inputs ;; Add a comment on why this is necessary `(("python-plyer" ,python-plyer-for-tests))) (home-page ...) (synopsis ...) (description ...))) (define python-plyer-for-tests (package/hidden (inherit python-plyer) (native-inputs '()))) That way, first a python-plyer without tests will be built, and then the real python-plyer will be built with tests. Greetings, Maxime. --=-ExYYy1ntHDmEV3NlJ19u Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYNC2EhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7shKAP44fTuMvknVR8Myp5tGbLgvkek6 uwLxgFMmBUhDvZqwdgD/Y8cXGMZK2tGvS3FvBVmgN9RDbDhua8y1BaczTYXcwww= =rdFY -----END PGP SIGNATURE----- --=-ExYYy1ntHDmEV3NlJ19u--