From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 3QbuBbMORmJezQAAgWs5BA (envelope-from ) for ; Thu, 31 Mar 2022 22:27:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iPUlObIORmK1ZAEAG6o9tA (envelope-from ) for ; Thu, 31 Mar 2022 22:27:30 +0200 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 806E22FAE8 for ; Thu, 31 Mar 2022 22:27:30 +0200 (CEST) Received: from localhost ([::1]:41370 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1na1OC-00071k-AE for larch@yhetil.org; Thu, 31 Mar 2022 16:27:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na1Nm-00071T-MZ for bug-guix@gnu.org; Thu, 31 Mar 2022 16:27:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46072) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1na1Nm-0004BM-E4 for bug-guix@gnu.org; Thu, 31 Mar 2022 16:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1na1Nm-0000YQ-7J for bug-guix@gnu.org; Thu, 31 Mar 2022 16:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#54658: "pypi->guix-package, no wheel" test fails Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 31 Mar 2022 20:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54658 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 54658@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16487583902090 (code B ref -1); Thu, 31 Mar 2022 20:27:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Mar 2022 20:26:30 +0000 Received: from localhost ([127.0.0.1]:39969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1na1NG-0000Xe-6c for submit@debbugs.gnu.org; Thu, 31 Mar 2022 16:26:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:57078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1na1NE-0000XW-4i for submit@debbugs.gnu.org; Thu, 31 Mar 2022 16:26:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45002) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na1ND-0006qS-Vx for bug-guix@gnu.org; Thu, 31 Mar 2022 16:26:28 -0400 Received: from [2a02:1800:110:4::f00:1a] (port=59094 helo=albert.telenet-ops.be) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1na1N8-000461-PK for bug-guix@gnu.org; Thu, 31 Mar 2022 16:26:24 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by albert.telenet-ops.be with bizsmtp id D8SH2700R4UW6Th068SJWC; Thu, 31 Mar 2022 22:26:18 +0200 Message-ID: From: Maxime Devos Date: Thu, 31 Mar 2022 22:26:06 +0200 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-JQhjBBEEtyaw1Gqwa98k" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648758378; bh=A4yOVBLkEyKFONyejk88Nlad2u5OinlDw1rhd+0zo+Q=; h=Subject:From:To:Date; b=VGM3Mst0rmFbAei1VeOwcbAB7M9GEv+RBBRprYZp4cvkt+Z1Z0XDsleEUFKZgYF3w 6vtWlq9myfhcuggC9k5Iy/UPqWWAB60kswqFG5DZEVHfjxcLkn/JFq7T4xoo+iHl/r qjoS82wQ571qsA7Owc1VqIIzsqOn3egodrULcnyb0fYj2modGC0+noZQIE0rnVakPy RM8K3Qjux3QlYPz0jAuejyF3pQ/tL+YH0c8HgoZmN1lhG+LTT7EOMksnzbpRBpFwZR J0YUOJL4sjrdglxkb2QuwLb1OFCC+UJ3y7Pposy0gkEY4lLsB6EbxW0SwmbYYkJqBJ nxTjTBomjvMkA== X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:1800:110:4::f00:1a (failed) Received-SPF: pass client-ip=2a02:1800:110:4::f00:1a; envelope-from=maximedevos@telenet.be; helo=albert.telenet-ops.be X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648758450; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=A4yOVBLkEyKFONyejk88Nlad2u5OinlDw1rhd+0zo+Q=; b=F7ZT+Nm4in47Tsyt8WA8tSe8uC1qKN7h0wBXChJ1D2cp4o58NCqWFmso4NNy0j9oR0LP2+ DOb393PJaJngDvIuUcwFXKoSnfgOkgloFe4SxseMxr5qTOVQWplS0bCFgGJV/i+pIFVO4Q fN6Z4+hl65SxAX/Pb9/duDaQp0QQRAr+gY3p0Tsb+G3DzGKi+/hz57GIkEyE5dlqz4UzY1 b8hf17lWylDrMHSquehUFlCRIHN+6yGAbWbigO3HJnz+YX04VLEMBzVet6X41VYdO9x+Z2 Np6L+yVkMrWxrUCghw6/RmD1epJEBz6J2Sx6N4rPZ2L1mZLTlczjuSYsVHz3BA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648758450; a=rsa-sha256; cv=none; b=hkYCM1kjer1FMX5byKCJ3PAfGuxwKzJ4NzZtD1UfyfPH5B/iM0xnlanSkUOkrlhdBHgJkU LVTA6fa4vyJLvANwv6nGTnOeBWMMxj0A92hlzKQhgbqkp41IMt9LrQI1bb6CEwq7XwhoLV 6OhC/IpquR1aVD+FPjkrCObebBkAWQTJSX+HA10RfQ/RdofBiFEEgezVAtogim4nE9uunH sX3NI+kGgHLGL0CqRNWqgtU0qlEyR7ujYBeCGdf8czvEm+CC//gK+U50aflihLnkbULKSy sOftVNo7KThNE6kpVxaWRrO5uk9Y86hfWfK6HEpndaE3tjRV+SjkAekwb9b++g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=VGM3Mst0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 3.53 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=VGM3Mst0; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 806E22FAE8 X-Spam-Score: 3.53 X-Migadu-Scanner: scn1.migadu.com X-TUID: ryfOAprnwVnn --=-JQhjBBEEtyaw1Gqwa98k Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I noticed "./pre-inst-env guix build guix" fails on my computer due to "pypi->guix-package, no wheel" failing. Here is an excerpt from the log: > test-name: pypi->guix-package, no wheel > location: /tmp/guix-build-guix-1.3.0-24.2fb4304.drv- > 0/source/tests/pypi.scm:221 > source: > + (test-assert > + "pypi->guix-package, no wheel" > + (mock ((guix import utils) > + url-fetch > + (lambda (url file-name) > + (match url > + ("https://example.com/foo-1.0.0.tar.gz" > + (begin > + (mkdir-p "foo-1.0.0/src/bizarre.egg-info") > + (with-output-to-file > + "foo-1.0.0/src/bizarre.egg- > info/requires.txt" > + (lambda () (display test-requires.txt))) > + (parameterize > + ((current-output-port (%make-void-port > "rw+"))) > + (system* "tar" "czvf" file-name "foo- > 1.0.0/")) > + (delete-file-recursively "foo-1.0.0") > + (set! test-source-hash > + (call-with-input-file file-name port- > sha256)))) > + ("=20 > https://example.com/foo-1.0.0-py2.py3-none-any.whl" > + #f) > + (_ (error "Unexpected URL: " url))))) > + (mock ((guix http-client) > + http-fetch > + (lambda (url . rest) > + (match url > + ("https://pypi.org/pypi/foo/json" > + (values > + (open-input-string test-json-1) > + (string-length test-json-1))) > + ("=20 > https://example.com/foo-1.0.0-py2.py3-none-any.whl" > + #f) > + (_ (error "Unexpected URL: " url))))) > + (match (pypi->guix-package "foo") > + (('package > + ('name "python-foo") > + ('version "1.0.0") > + ('source > + ('origin > + ('method 'url-fetch) > + ('uri ('pypi-uri "foo" 'version)) > + ('sha256 ('base32 (? string? hash))))) > + ('build-system 'python-build-system) > + ('propagated-inputs > + ('list 'python-bar 'python-foo)) > + ('native-inputs ('list 'python-pytest)) > + ('home-page "http://example.com") > + ('synopsis "summary") > + ('description "summary") > + ('license 'license:lgpl2.0)) > + (and (string=3D? > + (bytevector->nix-base32-string test- > source-hash) > + hash) > + (equal? > + (pypi->guix-package "foo" #:version > "1.0.0") > + (pypi->guix-package "foo")) > + (guard (c ((error? c) #t)) > + (pypi->guix-package > + "foo" > + #:version > + "42")))) > + (x (pk 'fail x #f)))))) > actual-value: #f > result: FAIL Greetings, Maxime. --=-JQhjBBEEtyaw1Gqwa98k 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+4iGRcl7gUCYkYOXhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7gCEAPwKNk6K/TzH6KzWXlDW0x9Mr+RU hBPKCxf9bNlTPeuaNAD/Z74IrbDXU0J1IAIsmmWfa649bBZInFwb21gqk9WUbwg= =/A5W -----END PGP SIGNATURE----- --=-JQhjBBEEtyaw1Gqwa98k--