From unknown Sat Sep 06 02:03:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#29796] [PATCH 2/2] gnu: Add python2-numpy@1.8 Resent-From: Konrad Hinsen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Dec 2017 06:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 29796 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 29796@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15138392578450 (code B ref -1); Thu, 21 Dec 2017 06:55:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Dec 2017 06:54:17 +0000 Received: from localhost ([127.0.0.1]:45115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRukC-0002CE-SZ for submit@debbugs.gnu.org; Thu, 21 Dec 2017 01:54:17 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44467) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRukB-0002C1-2z for submit@debbugs.gnu.org; Thu, 21 Dec 2017 01:54:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRuk4-0005WM-SV for submit@debbugs.gnu.org; Thu, 21 Dec 2017 01:54:10 -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.1 required=5.0 tests=BAYES_20,DATE_IN_PAST_12_24, FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46201) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eRuk4-0005W9-Pr for submit@debbugs.gnu.org; Thu, 21 Dec 2017 01:54:08 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRuk3-0007nj-8f for guix-patches@gnu.org; Thu, 21 Dec 2017 01:54:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRujy-0005Rl-Gz for guix-patches@gnu.org; Thu, 21 Dec 2017 01:54:07 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:46587) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eRujy-0005RQ-D9 for guix-patches@gnu.org; Thu, 21 Dec 2017 01:54:02 -0500 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id EC3C220B4B; Thu, 21 Dec 2017 01:54:01 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Thu, 21 Dec 2017 01:54:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= content-type:date:from:message-id:mime-version:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=b6osQaD0cYNqEGFx1 x3Dgeo0x+NZhK3VegCSQwdtbso=; b=WT1O9OmZJ98Zx756EPAz8otV205dimnFb 39g/n8/6Lv2mJd/W5u5NtucxxRWTfh19ZAt2k6/ojkcxRTyNL48J8er5hxo8eMZP rfVRItVBzLEdBSY1FuIIx9jt7fFleKT21GdxxthIFpDrhqpuivf6oiCeU/zBf4OA tAepa0csK2OVd0kfW5PzioYBhpoDmVj1sD7cH5qF9p6Yh4A82EIexx36q7RBoWss blOxIDhtzLCDudftMaI7Uqsa6Oe5JrN++RtJXDKVyG90ytREJ9hdRJaDZun+39tv k42HJnRZ6FqxIDGbT5kdsJquadh4t1pbv9uhlkOtdmf3N30/QUiiA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=b6osQaD0cYNqEGFx1x3Dgeo0x+NZhK3VegCSQwdtbso=; b=N4eiVapI zAg4ZBWJHmtZwqRfxE579w0H10ABpjWDm7xKoA96moRdZHXkpyJGQY1nXqH3cq/s yvge+8Gg4UoEm5vXhMhkAE8X7QNiT1QA0j1j6PQzh8qhywm6m0bLFui33XaD58fk NbQs6ZfEPyOhyWwZDJZS7UjSfm/giOsv/381HHcdrYWwtKXY6/hXIaz4RqVw6NsV rMrCDtMWma6KSziVra1FCvVIAKjhntr4Yv/bwyCAXYcLfZxiQXJwc0Z8xoPNEPHQ 0PBktP7wIhVj24/5F8Gw9RY75wfclrg6t1WZmwTwuNBlp4W/W8mWW9EaYjd1IRdi PCvgsnDhIgJqeQ== X-ME-Sender: Received: from ordinateur-de-catherine--konrad.home (lfbn-1-752-215.w86-246.abo.wanadoo.fr [86.246.222.215]) by mail.messagingengine.com (Postfix) with ESMTPA id 67F652443F; Thu, 21 Dec 2017 01:54:01 -0500 (EST) From: Konrad Hinsen Date: Wed, 20 Dec 2017 17:19:14 +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-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: -3.6 (---) NumPy 1.8 is the last version that contains the submodule numpy.oldnumeric that ensures compatibility with code written for NumPy's predecessor Numeric. --- gnu/packages/python.scm | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index e768b60ed..3ebf3f2e2 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -2694,6 +2694,49 @@ capabilities.") (define-public python2-numpy-next (package-with-python2 python-numpy-next)) +;; NOTE: NumPy 1.8 is packaged only for Python 2 because it is of +;; interest only for legacy code going back to NumPy's predecessor +;; Numeric. +(define-public python2-numpy-1.8 + (package (inherit python2-numpy) + (version "1.8.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/numpy/numpy/archive/v" version ".tar.gz")) + (file-name (string-append "python2-numpy-" version ".tar.gz")) + (sha256 + (base32 + "0sc20gz1b17xnyrkp5frca3ql5qfalpv916hfg2kqxpwr6jg0f1g")))) + (arguments + (substitute-keyword-arguments (package-arguments python2-numpy) + ((#:phases phases) + `(modify-phases ,phases + (replace 'configure-blas-lapack + (lambda* (#:key inputs #:allow-other-keys) + (call-with-output-file "site.cfg" + (lambda (port) + (format port + "[openblas] +libraries = openblas,lapack +library_dirs = ~a/lib:~a/lib +include_dirs = ~a/include:~a/include +" + (assoc-ref inputs "openblas") + (assoc-ref inputs "lapack") + (assoc-ref inputs "openblas") + (assoc-ref inputs "lapack")))) + #t)))))) + (description "NumPy is the fundamental package for scientific computing +with Python. It contains among other things: a powerful N-dimensional array +object, sophisticated (broadcasting) functions, tools for integrating C/C++ +and Fortran code, useful linear algebra, Fourier transform, and random number +capabilities. Version 1.8 is the last one to contain the numpy.oldnumeric API +that includes the compatibility layer numpy.oldnumeric with NumPy's predecessor +Numeric.") + (license license:bsd-3))) + (define-public python-munch (package (name "python-munch") -- 2.14.3 (Apple Git-98) From unknown Sat Sep 06 02:03:19 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Konrad Hinsen Subject: bug#29796: closed (Re: [bug#29796] [PATCH 2/2] gnu: Add python2-numpy@1.8) Message-ID: References: <20171223230129.52e6aa27@scratchpost.org> X-Gnu-PR-Message: they-closed 29796 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 29796@debbugs.gnu.org Date: Sat, 23 Dec 2017 22:02:06 +0000 Content-Type: multipart/mixed; boundary="----------=_1514066526-18862-1" This is a multi-part message in MIME format... ------------=_1514066526-18862-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #29796: [PATCH 2/2] gnu: Add python2-numpy@1.8 which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 29796@debbugs.gnu.org. --=20 29796: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D29796 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1514066526-18862-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 29796-done) by debbugs.gnu.org; 23 Dec 2017 22:01:35 +0000 Received: from localhost ([127.0.0.1]:49667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSrrL-0004tH-7E for submit@debbugs.gnu.org; Sat, 23 Dec 2017 17:01:35 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:49858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eSrrH-0004t8-TF for 29796-done@debbugs.gnu.org; Sat, 23 Dec 2017 17:01:32 -0500 Received: from localhost (77.118.245.126.wireless.dyn.drei.com [77.118.245.126]) by dd26836.kasserver.com (Postfix) with ESMTPSA id C102B3360499; Sat, 23 Dec 2017 23:01:30 +0100 (CET) Date: Sat, 23 Dec 2017 23:01:29 +0100 From: Danny Milosavljevic To: Konrad Hinsen Subject: Re: [bug#29796] [PATCH 2/2] gnu: Add python2-numpy@1.8 Message-ID: <20171223230129.52e6aa27@scratchpost.org> In-Reply-To: References: X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29796-done Cc: 29796-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: -0.7 (/) Thanks! Applied to master as a08d5a07a921af93487c1b52cd0c1fb8fbe27b51 after some changes to the commit message. ------------=_1514066526-18862-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 21 Dec 2017 06:54:17 +0000 Received: from localhost ([127.0.0.1]:45115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRukC-0002CE-SZ for submit@debbugs.gnu.org; Thu, 21 Dec 2017 01:54:17 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44467) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRukB-0002C1-2z for submit@debbugs.gnu.org; Thu, 21 Dec 2017 01:54:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRuk4-0005WM-SV for submit@debbugs.gnu.org; Thu, 21 Dec 2017 01:54:10 -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.1 required=5.0 tests=BAYES_20,DATE_IN_PAST_12_24, FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46201) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eRuk4-0005W9-Pr for submit@debbugs.gnu.org; Thu, 21 Dec 2017 01:54:08 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRuk3-0007nj-8f for guix-patches@gnu.org; Thu, 21 Dec 2017 01:54:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRujy-0005Rl-Gz for guix-patches@gnu.org; Thu, 21 Dec 2017 01:54:07 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:46587) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eRujy-0005RQ-D9 for guix-patches@gnu.org; Thu, 21 Dec 2017 01:54:02 -0500 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id EC3C220B4B; Thu, 21 Dec 2017 01:54:01 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Thu, 21 Dec 2017 01:54:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= content-type:date:from:message-id:mime-version:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=b6osQaD0cYNqEGFx1 x3Dgeo0x+NZhK3VegCSQwdtbso=; b=WT1O9OmZJ98Zx756EPAz8otV205dimnFb 39g/n8/6Lv2mJd/W5u5NtucxxRWTfh19ZAt2k6/ojkcxRTyNL48J8er5hxo8eMZP rfVRItVBzLEdBSY1FuIIx9jt7fFleKT21GdxxthIFpDrhqpuivf6oiCeU/zBf4OA tAepa0csK2OVd0kfW5PzioYBhpoDmVj1sD7cH5qF9p6Yh4A82EIexx36q7RBoWss blOxIDhtzLCDudftMaI7Uqsa6Oe5JrN++RtJXDKVyG90ytREJ9hdRJaDZun+39tv k42HJnRZ6FqxIDGbT5kdsJquadh4t1pbv9uhlkOtdmf3N30/QUiiA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=b6osQaD0cYNqEGFx1x3Dgeo0x+NZhK3VegCSQwdtbso=; b=N4eiVapI zAg4ZBWJHmtZwqRfxE579w0H10ABpjWDm7xKoA96moRdZHXkpyJGQY1nXqH3cq/s yvge+8Gg4UoEm5vXhMhkAE8X7QNiT1QA0j1j6PQzh8qhywm6m0bLFui33XaD58fk NbQs6ZfEPyOhyWwZDJZS7UjSfm/giOsv/381HHcdrYWwtKXY6/hXIaz4RqVw6NsV rMrCDtMWma6KSziVra1FCvVIAKjhntr4Yv/bwyCAXYcLfZxiQXJwc0Z8xoPNEPHQ 0PBktP7wIhVj24/5F8Gw9RY75wfclrg6t1WZmwTwuNBlp4W/W8mWW9EaYjd1IRdi PCvgsnDhIgJqeQ== X-ME-Sender: Received: from ordinateur-de-catherine--konrad.home (lfbn-1-752-215.w86-246.abo.wanadoo.fr [86.246.222.215]) by mail.messagingengine.com (Postfix) with ESMTPA id 67F652443F; Thu, 21 Dec 2017 01:54:01 -0500 (EST) From: Konrad Hinsen To: guix-patches@gnu.org Subject: [PATCH 2/2] gnu: Add python2-numpy@1.8 Date: Wed, 20 Dec 2017 17:19:14 +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: -3.6 (---) NumPy 1.8 is the last version that contains the submodule numpy.oldnumeric that ensures compatibility with code written for NumPy's predecessor Numeric. --- gnu/packages/python.scm | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index e768b60ed..3ebf3f2e2 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -2694,6 +2694,49 @@ capabilities.") (define-public python2-numpy-next (package-with-python2 python-numpy-next)) +;; NOTE: NumPy 1.8 is packaged only for Python 2 because it is of +;; interest only for legacy code going back to NumPy's predecessor +;; Numeric. +(define-public python2-numpy-1.8 + (package (inherit python2-numpy) + (version "1.8.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/numpy/numpy/archive/v" version ".tar.gz")) + (file-name (string-append "python2-numpy-" version ".tar.gz")) + (sha256 + (base32 + "0sc20gz1b17xnyrkp5frca3ql5qfalpv916hfg2kqxpwr6jg0f1g")))) + (arguments + (substitute-keyword-arguments (package-arguments python2-numpy) + ((#:phases phases) + `(modify-phases ,phases + (replace 'configure-blas-lapack + (lambda* (#:key inputs #:allow-other-keys) + (call-with-output-file "site.cfg" + (lambda (port) + (format port + "[openblas] +libraries = openblas,lapack +library_dirs = ~a/lib:~a/lib +include_dirs = ~a/include:~a/include +" + (assoc-ref inputs "openblas") + (assoc-ref inputs "lapack") + (assoc-ref inputs "openblas") + (assoc-ref inputs "lapack")))) + #t)))))) + (description "NumPy is the fundamental package for scientific computing +with Python. It contains among other things: a powerful N-dimensional array +object, sophisticated (broadcasting) functions, tools for integrating C/C++ +and Fortran code, useful linear algebra, Fourier transform, and random number +capabilities. Version 1.8 is the last one to contain the numpy.oldnumeric API +that includes the compatibility layer numpy.oldnumeric with NumPy's predecessor +Numeric.") + (license license:bsd-3))) + (define-public python-munch (package (name "python-munch") -- 2.14.3 (Apple Git-98) ------------=_1514066526-18862-1--