From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 20 06:41:49 2017 Received: (at submit) by debbugs.gnu.org; 20 Dec 2017 11:41:49 +0000 Received: from localhost ([127.0.0.1]:43192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRckl-0000Xn-JZ for submit@debbugs.gnu.org; Wed, 20 Dec 2017 06:41:49 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33083) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRckj-0000Xa-Ha for submit@debbugs.gnu.org; Wed, 20 Dec 2017 06:41:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRckd-0000ED-4I for submit@debbugs.gnu.org; Wed, 20 Dec 2017 06:41:32 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.9 required=5.0 tests=BAYES_50,DATE_IN_PAST_12_24, FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33700) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eRckd-0000E8-19 for submit@debbugs.gnu.org; Wed, 20 Dec 2017 06:41:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRckb-0006pA-Kq for guix-patches@gnu.org; Wed, 20 Dec 2017 06:41:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRckX-00009b-LH for guix-patches@gnu.org; Wed, 20 Dec 2017 06:41:29 -0500 Received: from poussette.synchrotron-soleil.fr ([195.221.0.32]:39630) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRckX-00009L-Dz for guix-patches@gnu.org; Wed, 20 Dec 2017 06:41:25 -0500 Received: from localhost (unknown [127.0.0.1]) by poussette.synchrotron-soleil.fr (Postfix) with ESMTP id CC4D760107; Wed, 20 Dec 2017 11:41:24 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 poussette.synchrotron-soleil.fr CC4D760107 X-Virus-Scanned: amavisd-new at synchrotron-soleil.fr Received: from poussette.synchrotron-soleil.fr ([127.0.0.1]) by localhost (poussette.synchrotron-soleil.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hhbT1QsAwSV2; Wed, 20 Dec 2017 12:41:23 +0100 (CET) Received: from SUN-DAG4.synchrotron-soleil.fr (sun-dag4 [195.221.0.186]) by poussette.synchrotron-soleil.fr (Postfix) with ESMTP id B6E8C60094; Wed, 20 Dec 2017 12:41:23 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 poussette.synchrotron-soleil.fr B6E8C60094 Received: from KHs-MacBook.local (195.221.0.171) by SUN-DAG4.synchrotron-soleil.fr (195.221.0.186) with Microsoft SMTP Server id 14.3.123.3; Wed, 20 Dec 2017 12:41:23 +0100 From: Konrad Hinsen To: Subject: [PATCH 2/2] gnu: Add python-activepapers Date: Tue, 19 Dec 2017 12:50:22 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.6 (---) X-Debbugs-Envelope-To: submit 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.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: gnu/packages/python.scm | 68 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 5580b7d50..1a376e04d 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -12000,3 +12000,71 @@ particularly convenient for use in tests.") (define-public python2-tempdir (package-with-python2 python-tempdir)) [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_NEUTRAL SPF: sender does not match SPF record (neutral) 0.8 DATE_IN_PAST_12_24 Date: is 12 to 24 hours before Received: date 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (konrad.hinsen[at]fastmail.net) gnu/packages/python.scm | 68 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 5580b7d50..1a376e04d 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -12000,3 +12000,71 @@ particularly convenient for use in tests.") (define-public python2-tempdir (package-with-python2 python-tempdir)) +(define-public python-activepapers + (package + (name "python-activepapers") + (version "0.2.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ActivePapers.Py" version)) + (sha256 + (base32 + "02bpx36ixwag1g958plgjwpxaiadsj4669gsnxc8hb5aw2jplnr5")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'delete-python2-code + (lambda _ + (for-each delete-file + '("lib/activepapers/builtins2.py" + "lib/activepapers/standardlib2.py" + "lib/activepapers/utility2.py")))) + (replace 'check + (lambda _ + (use-modules (srfi srfi-1) + (ice-9 ftw)) + ;; Deactivate the test cases that download files + (setenv "NO_NETWORK_ACCESS" "1") + ;; For some strange reason, some tests fail if nosetests runs all + ;; test modules in a single execution. They pass if each test + ;; module is run individually. + (every zero? + (map (lambda (filename) + (system* "nosetests" + (string-append "tests/" filename))) + (scandir "tests" + (lambda (filename) + (string-suffix? ".py" filename)))))))))) + (native-inputs + `(("python-tempdir" ,python-tempdir) + ("python-nose" ,python-nose))) + (propagated-inputs + `(("python-h5py" ,python-h5py))) + (home-page "http://www.activepapers.org/") + (synopsis "Executable papers for scientific computing") + (description + "ActivePapers is a tool for working with executable papers, which +combine data, code, and documentation in single-file packages, +suitable for publication as supplementary material or on repositories +such as figshare or Zenodo.") + (properties `((python2-variant . ,(delay python2-activepapers)))) + (license license:bsd-3))) + +(define-public python2-activepapers + (let ((base (package-with-python2 + (strip-python2-variant python-activepapers)))) + (package + (inherit base) + (arguments + (substitute-keyword-arguments (package-arguments base) + ((#:phases phases) + `(modify-phases ,phases + (delete 'delete-python2-code) + (add-after 'unpack 'delete-python3-code + (lambda _ + (for-each delete-file + '("lib/activepapers/builtins3.py" + "lib/activepapers/standardlib3.py" + "lib/activepapers/utility3.py"))))))))))) -- 2.15.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 21 04:57:26 2017 Received: (at 29784) by debbugs.gnu.org; 21 Dec 2017 09:57:26 +0000 Received: from localhost ([127.0.0.1]:45224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRxbL-0006Y3-VU for submit@debbugs.gnu.org; Thu, 21 Dec 2017 04:57:26 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:8498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRxbJ-0006Xn-LI for 29784@debbugs.gnu.org; Thu, 21 Dec 2017 04:57:18 -0500 X-IronPort-AV: E=Sophos;i="5.45,435,1508796000"; d="scan'208";a="306429140" Received: from unknown (HELO ribbon) ([193.50.110.235]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/AES256-GCM-SHA384; 21 Dec 2017 10:57:09 +0100 From: ludovic.courtes@inria.fr (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Konrad Hinsen Subject: Re: [bug#29784] [PATCH 2/2] gnu: Add python-activepapers References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 1 =?utf-8?Q?Niv=C3=B4se?= an 226 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 21 Dec 2017 10:57:09 +0100 In-Reply-To: (Konrad Hinsen's message of "Tue, 19 Dec 2017 12:50:22 +0100") Message-ID: <87zi6c8kui.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 29784 Cc: 29784@debbugs.gnu.org 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: -5.0 (-----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Konrad Hinsen skribis: > gnu/packages/python.scm | 68 +++++++++++++++++++++++++++++++++++++++++++= ++++++ > 1 file changed, 68 insertions(+) > > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm > index 5580b7d50..1a376e04d 100644 > --- a/gnu/packages/python.scm > +++ b/gnu/packages/python.scm > @@ -12000,3 +12000,71 @@ particularly convenient for use in tests.") > (define-public python2-tempdir > (package-with-python2 python-tempdir)) >=20=20 > +(define-public python-activepapers > + (package > + (name "python-activepapers") Awesome! This had been on my to-do list for a while. :-) Below are some suggestions: avoid non-top-level =E2=80=98use-modules=E2=80= =99 form, and use =E2=80=98invoke=E2=80=99 as discussed recently on guix-devel. I=E2=80=99m getting a hash mismatch on the source: --8<---------------cut here---------------start------------->8--- Starting download of /gnu/store/gjxgw8jpak8jr34wpaay35a243xck97k-ActivePape= rs.Py-0.2.2.tar.gz >From https://pypi.io/packages/source/A/ActivePapers.Py/ActivePapers.Py-0.2.= 2.tar.gz... following redirection to `https://pypi.org/packages/source/A/ActivePapers.P= y/ActivePapers.Py-0.2.2.tar.gz'... following redirection to `https://files.pythonhosted.org/packages/source/A/= ActivePapers.Py/ActivePapers.Py-0.2.2.tar.gz'... following redirection to `https://pypi.python.org/packages/32/e0/c7147c88d8= 3f7520aded2308b34e5dcd36c91180a8c850119a749259f284/ActivePapers.Py-0.2.2.ta= r.gz'... ...y-0.2.2.tar.gz 32KiB 2.6MiB/s 00:00 [##################] 1= 00.0% sha256 hash mismatch for output path `/gnu/store/gjxgw8jpak8jr34wpaay35a243= xck97k-ActivePapers.Py-0.2.2.tar.gz' expected: 02bpx36ixwag1g958plgjwpxaiadsj4669gsnxc8hb5aw2jplnr5 actual: 12wkhjh90ffipjzv10swndp2xv9hd7xrxvg6v0n4n3i411pj4xb8 --8<---------------cut here---------------end--------------->8--- Could you check if something is amiss? Apart from that it LGTM, thank you! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 5bc9dea27..dad58cb95 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -12014,7 +12014,12 @@ particularly convenient for use in tests.") "02bpx36ixwag1g958plgjwpxaiadsj4669gsnxc8hb5aw2jplnr5")))) (build-system python-build-system) (arguments - `(#:phases + `(#:modules ((ice-9 ftw) + (srfi srfi-1) + (guix build utils) + (guix build python-build-system)) + + #:phases (modify-phases %standard-phases (add-after 'unpack 'delete-python2-code (lambda _ @@ -12024,20 +12029,17 @@ particularly convenient for use in tests.") "lib/activepapers/utility2.py")))) (replace 'check (lambda _ - (use-modules (srfi srfi-1) - (ice-9 ftw)) ;; Deactivate the test cases that download files (setenv "NO_NETWORK_ACCESS" "1") ;; For some strange reason, some tests fail if nosetests runs all ;; test modules in a single execution. They pass if each test ;; module is run individually. - (every zero? - (map (lambda (filename) - (system* "nosetests" - (string-append "tests/" filename))) - (scandir "tests" - (lambda (filename) - (string-suffix? ".py" filename)))))))))) + (for-each (lambda (filename) + (invoke "nosetests" + (string-append "tests/" filename))) + (scandir "tests" + (lambda (filename) + (string-suffix? ".py" filename))))))))) (native-inputs `(("python-tempdir" ,python-tempdir) ("python-nose" ,python-nose))) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 21 06:53:03 2017 Received: (at 29784) by debbugs.gnu.org; 21 Dec 2017 11:53:03 +0000 Received: from localhost ([127.0.0.1]:45350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRzPL-0001Nq-GK for submit@debbugs.gnu.org; Thu, 21 Dec 2017 06:53:03 -0500 Received: from brouette.synchrotron.fr ([195.221.0.33]:55622 helo=brouette.synchrotron-soleil.fr) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRzPI-0001N9-3I for 29784@debbugs.gnu.org; Thu, 21 Dec 2017 06:53:00 -0500 Received: from localhost (unknown [127.0.0.1]) by brouette.synchrotron-soleil.fr (Postfix) with ESMTP id D4F85700191; Thu, 21 Dec 2017 11:52:52 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 brouette.synchrotron-soleil.fr D4F85700191 X-Virus-Scanned: amavisd-new at synchrotron-soleil.fr Received: from brouette.synchrotron-soleil.fr ([127.0.0.1]) by localhost (brouette.synchrotron-soleil.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KdTVU4zmvQom; Thu, 21 Dec 2017 12:52:52 +0100 (CET) Received: from SUN-DAG3.synchrotron-soleil.fr (sun-dag3 [195.221.0.185]) by brouette.synchrotron-soleil.fr (Postfix) with ESMTP id 18A7D700190; Thu, 21 Dec 2017 12:52:52 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 brouette.synchrotron-soleil.fr 18A7D700190 Received: from KHs-MacBook.local (195.221.0.171) by SUN-DAG3.synchrotron-soleil.fr (195.221.0.185) with Microsoft SMTP Server id 14.3.123.3; Thu, 21 Dec 2017 12:52:51 +0100 From: Konrad Hinsen To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#29784] [PATCH 2/2] gnu: Add python-activepapers In-Reply-To: <87zi6c8kui.fsf@gnu.org> References: <87zi6c8kui.fsf@gnu.org> Date: Thu, 21 Dec 2017 12:52:51 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 29784 Cc: 29784@debbugs.gnu.org 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: 0.7 (/) Hi Ludo, > Below are some suggestions: avoid non-top-level =E2=80=98use-modules=E2= =80=99 form, and > use =E2=80=98invoke=E2=80=99 as discussed recently on guix-devel. Fine with me! I looked for inspiration in other package definitions, but probably not the best/most recent ones. > I=E2=80=99m getting a hash mismatch on the source: > expected: 02bpx36ixwag1g958plgjwpxaiadsj4669gsnxc8hb5aw2jplnr5 > actual: 12wkhjh90ffipjzv10swndp2xv9hd7xrxvg6v0n4n3i411pj4xb8 > --8<---------------cut here---------------end--------------->8--- > > Could you check if something is amiss? I figured out there the mismatch comes from, but I have no idea how I could (and still can) build python-activepapers on my machine, using precisely the definition I submitted. I had used a local file (URI of type file:///) for testing, and that's where the SHA256 in the package definition comes from. Then I uploaded the working version to PyPI, but from a different machine. I rebuilt the tarball on that machine, from identical source code, but Python's setuptools does not care about reproducible builds, so the file I uploaded has a different hash. Next I changed the URI in the package definition to (pypi-uri), but didn't think about verifying (and updating) the hash. I did, however, re-build the package (two rounds), and that worked fine. I just did it again, it still builds. This looks like Guix still uses the tarball in the store, in spite of the fact that I updated the URI in the package definition. In fact, nothing is built at all, "guix build" merely shows the store path of the already existing build. Even when I add --round=3D2, nothing gets rebuilt at all. Konrad. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 21 07:09:11 2017 Received: (at 29784) by debbugs.gnu.org; 21 Dec 2017 12:09:11 +0000 Received: from localhost ([127.0.0.1]:45356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRzew-0001lz-Tr for submit@debbugs.gnu.org; Thu, 21 Dec 2017 07:09:11 -0500 Received: from brouette.synchrotron.fr ([195.221.0.33]:57180 helo=brouette.synchrotron-soleil.fr) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRzev-0001lk-9u for 29784@debbugs.gnu.org; Thu, 21 Dec 2017 07:09:09 -0500 Received: from localhost (unknown [127.0.0.1]) by brouette.synchrotron-soleil.fr (Postfix) with ESMTP id 8BEF570018C; Thu, 21 Dec 2017 12:09:03 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 brouette.synchrotron-soleil.fr 8BEF570018C X-Virus-Scanned: amavisd-new at synchrotron-soleil.fr Received: from brouette.synchrotron-soleil.fr ([127.0.0.1]) by localhost (brouette.synchrotron-soleil.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LhCNnWpyPBd3; Thu, 21 Dec 2017 13:09:03 +0100 (CET) Received: from SUN-DAG3.synchrotron-soleil.fr (sun-dag3 [195.221.0.185]) by brouette.synchrotron-soleil.fr (Postfix) with ESMTP id F10317000D1; Thu, 21 Dec 2017 13:09:02 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 brouette.synchrotron-soleil.fr F10317000D1 Received: from KHs-MacBook.local (195.221.0.171) by SUN-DAG3.synchrotron-soleil.fr (195.221.0.185) with Microsoft SMTP Server id 14.3.123.3; Thu, 21 Dec 2017 13:09:02 +0100 From: Konrad Hinsen To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#29784] [PATCH 2/2] gnu: Add python-activepapers In-Reply-To: References: <87zi6c8kui.fsf@gnu.org> Date: Thu, 21 Dec 2017 13:09:02 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 29784 Cc: 29784@debbugs.gnu.org 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: 0.7 (/) Konrad Hinsen writes: > This looks like Guix still uses the tarball in the store, in spite of > the fact that I updated the URI in the package definition. In fact, One more test: I did a "guix gc" to clean up the store and re-launched the build. Now I get the hash mismatch that you reported as well. So this looks as if I can change the source URI without changing the hash under which the downloaded file is put in the store - is that right? Konrad. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 21 10:47:18 2017 Received: (at 29784) by debbugs.gnu.org; 21 Dec 2017 15:47:18 +0000 Received: from localhost ([127.0.0.1]:46302 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eS342-0000Pn-7r for submit@debbugs.gnu.org; Thu, 21 Dec 2017 10:47:18 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:38875) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eS340-0000Pa-KA for 29784@debbugs.gnu.org; Thu, 21 Dec 2017 10:47:17 -0500 X-IronPort-AV: E=Sophos;i="5.45,436,1508796000"; d="scan'208";a="306502503" Received: from unknown (HELO ribbon) ([193.50.110.235]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/AES256-GCM-SHA384; 21 Dec 2017 16:47:05 +0100 From: ludovic.courtes@inria.fr (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Konrad Hinsen Subject: Re: [bug#29784] [PATCH 2/2] gnu: Add python-activepapers References: <87zi6c8kui.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 1 =?utf-8?Q?Niv=C3=B4se?= an 226 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 21 Dec 2017 16:47:05 +0100 In-Reply-To: (Konrad Hinsen's message of "Thu, 21 Dec 2017 13:09:02 +0100") Message-ID: <87zi6c3wxy.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 29784 Cc: 29784@debbugs.gnu.org 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: -5.0 (-----) Konrad Hinsen skribis: > Konrad Hinsen writes: > >> This looks like Guix still uses the tarball in the store, in spite of >> the fact that I updated the URI in the package definition. In fact, > > One more test: I did a "guix gc" to clean up the store and re-launched > the build. Now I get the hash mismatch that you reported as well. Yes. Before running the GC, you still had the store item with the given hash in your store, the guix-daemon didn=E2=80=99t attempt to fetch it. To avoid this, you can always run: guix build -S the-package --check before submitting, to force a re-fetch. Can you resend the patch with the known-good hash? (Or just the hash if you prefer.) Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 21 12:00:35 2017 Received: (at 29784) by debbugs.gnu.org; 21 Dec 2017 17:00:35 +0000 Received: from localhost ([127.0.0.1]:46360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eS4Cx-0002B9-2o for submit@debbugs.gnu.org; Thu, 21 Dec 2017 12:00:35 -0500 Received: from smtp.synchrotron-soleil.fr ([195.221.0.32]:60200 helo=poussette.synchrotron-soleil.fr) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eS4Cu-0002At-Ra for 29784@debbugs.gnu.org; Thu, 21 Dec 2017 12:00:33 -0500 Received: from localhost (unknown [127.0.0.1]) by poussette.synchrotron-soleil.fr (Postfix) with ESMTP id 9209160160; Thu, 21 Dec 2017 17:00:25 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 poussette.synchrotron-soleil.fr 9209160160 X-Virus-Scanned: amavisd-new at synchrotron-soleil.fr Received: from poussette.synchrotron-soleil.fr ([127.0.0.1]) by localhost (poussette.synchrotron-soleil.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UhapwJhvADV9; Thu, 21 Dec 2017 18:00:20 +0100 (CET) Received: from SUN-DAG3.synchrotron-soleil.fr (sun-dag3 [195.221.0.185]) by poussette.synchrotron-soleil.fr (Postfix) with ESMTP id 004CC60136; Thu, 21 Dec 2017 18:00:19 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 poussette.synchrotron-soleil.fr 004CC60136 Received: from KHs-MacBook.local (195.221.0.171) by SUN-DAG3.synchrotron-soleil.fr (195.221.0.185) with Microsoft SMTP Server id 14.3.123.3; Thu, 21 Dec 2017 18:00:19 +0100 From: Konrad Hinsen To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#29784] [PATCH 2/2] gnu: Add python-activepapers In-Reply-To: <87zi6c3wxy.fsf@inria.fr> References: <87zi6c8kui.fsf@gnu.org> <87zi6c3wxy.fsf@inria.fr> Date: Thu, 21 Dec 2017 18:00:21 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 29784 Cc: 29784@debbugs.gnu.org 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: 0.7 (/) ludovic.courtes@inria.fr (Ludovic Court=C3=A8s) writes: > Yes. Before running the GC, you still had the store item with the given > hash in your store, the guix-daemon didn=E2=80=99t attempt to fetch it. > > To avoid this, you can always run: > > guix build -S the-package --check > > before submitting, to force a re-fetch. OK, good to know! > Can you resend the patch with the known-good hash? (Or just the hash if > you prefer.) The good hash is 12wkhjh90ffipjzv10swndp2xv9hd7xrxvg6v0n4n3i411pj4xb8 Konrad. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 22 03:47:51 2017 Received: (at 29784-done) by debbugs.gnu.org; 22 Dec 2017 08:47:52 +0000 Received: from localhost ([127.0.0.1]:46799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSIzf-0000zm-L9 for submit@debbugs.gnu.org; Fri, 22 Dec 2017 03:47:51 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:51709) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSIze-0000ze-4J for 29784-done@debbugs.gnu.org; Fri, 22 Dec 2017 03:47:50 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 881B710041; Fri, 22 Dec 2017 09:47:52 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aFQKSBKDROKU; Fri, 22 Dec 2017 09:47:50 +0100 (CET) Received: from ribbon (unknown [193.50.110.235]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 9C985FE6C; Fri, 22 Dec 2017 09:47:50 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Konrad Hinsen Subject: Re: [bug#29784] [PATCH 2/2] gnu: Add python-activepapers References: <87zi6c8kui.fsf@gnu.org> <87zi6c3wxy.fsf@inria.fr> Date: Fri, 22 Dec 2017 09:47:46 +0100 In-Reply-To: (Konrad Hinsen's message of "Thu, 21 Dec 2017 18:00:21 +0100") Message-ID: <87wp1fb13h.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 29784-done Cc: 29784-done@debbugs.gnu.org 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.0 (+) Konrad Hinsen skribis: > ludovic.courtes@inria.fr (Ludovic Court=C3=A8s) writes: > >> Yes. Before running the GC, you still had the store item with the given >> hash in your store, the guix-daemon didn=E2=80=99t attempt to fetch it. >> >> To avoid this, you can always run: >> >> guix build -S the-package --check >> >> before submitting, to force a re-fetch. > > OK, good to know! > >> Can you resend the patch with the known-good hash? (Or just the hash if >> you prefer.) > > The good hash is > > 12wkhjh90ffipjzv10swndp2xv9hd7xrxvg6v0n4n3i411pj4xb8 Perfect. Applied, thanks! Ludo=E2=80=99. From unknown Fri Jun 20 20:06:06 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 19 Jan 2018 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator