gnu: python-scipy: Update to 1.3.1.

* gnu/packages/python-xyz.scm (python-scipy): Update to 1.3.1.
(python2-scipy): Keep at version 1.2.2.
This commit is contained in:
Ricardo Wurmus 2019-09-07 00:42:16 +02:00
parent 8cc5d3dc4d
commit a35f153d54
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 14 additions and 4 deletions

View File

@ -4033,14 +4033,14 @@ operators such as union, intersection, and difference.")
(define-public python-scipy (define-public python-scipy
(package (package
(name "python-scipy") (name "python-scipy")
(version "1.2.2") (version "1.3.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "scipy" version)) (uri (pypi-uri "scipy" version))
(sha256 (sha256
(base32 (base32
"1cgvgin8fvckv96hjh3ikmwkra5rif51bdb75ifzf7xbil5iwcx4")))) "1df113c9i6vazsn6y3n9wc22jh737z1g7dmx3mypkdwpdnscyhr6"))))
(build-system python-build-system) (build-system python-build-system)
(propagated-inputs (propagated-inputs
`(("python-numpy" ,python-numpy) `(("python-numpy" ,python-numpy)
@ -4136,9 +4136,19 @@ routines such as routines for numerical integration and optimization.")
(properties `((python2-variant . ,(delay python2-scipy)))) (properties `((python2-variant . ,(delay python2-scipy))))
(license license:bsd-3))) (license license:bsd-3)))
;; Version 1.2.2 is the last version to support Python 2
(define-public python2-scipy (define-public python2-scipy
(package-with-python2 (package
(inherit (package-with-python2
(strip-python2-variant python-scipy))) (strip-python2-variant python-scipy)))
(version "1.2.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "scipy" version))
(sha256
(base32
"1cgvgin8fvckv96hjh3ikmwkra5rif51bdb75ifzf7xbil5iwcx4"))))))
(define-public python-socksipy-branch (define-public python-socksipy-branch
(package (package