summaryrefslogtreecommitdiff
path: root/gnu/packages/python-science.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r--gnu/packages/python-science.scm68
1 files changed, 38 insertions, 30 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index e7c32481e9..61f75dd6b6 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1350,6 +1350,7 @@ that is 20-25x faster than @code{numpy.histogram2d}.")
(sha256
(base32 "19labbgnq85p4r4jbli2p045lgh57larhi2g2anagfxnlzpqdf5a"))))
(build-system pyproject-build-system)
+ (arguments (list #:test-backend #~'unittest))
(propagated-inputs (list python-numpy))
(native-inputs (list python-scipy python-setuptools python-wheel))
(home-page "https://danifold.net/fastcluster.html")
@@ -1906,7 +1907,11 @@ between dataframe libraries.
(sha256
(base32 "1lpgsagmgxzsas7g8yiv6wmyss8q57w92h70fn11rnpadsvx16xz"))))
(build-system pyproject-build-system)
- (arguments (list #:test-flags #~(list "-c" "/dev/null"))) ;avoid coverage
+ (arguments
+ (list
+ #:test-flags
+ #~(list "-c" "/dev/null" ;avoid coverage
+ "-k" "not test_iter_indices_matmul"))) ; flaky
(native-inputs
(list python-cython
python-numpy
@@ -2445,19 +2450,19 @@ or as a TikZ file for use in LaTeX documents;
(define-public python-qdldl
(package
(name "python-qdldl")
- (version "0.1.7.post2")
+ (version "0.1.7.post5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "qdldl" version))
(sha256
- (base32 "1lspam0k8gnw1yglqxvdv350fq00nkgdfmkizmx7bk0hxjjkj5ab"))))
+ (base32 "0vi8dgrw32qj03z2dd3zqd0d625pibq3xmlgmidfsnwvqkhrj4qb"))))
(build-system pyproject-build-system)
(native-inputs
(list cmake-minimal
pybind11
- python-setuptools
- python-wheel))
+ python-pytest
+ python-setuptools))
(propagated-inputs (list python-numpy python-scipy))
(home-page "https://github.com/oxfordcontrol/qdldl-python/")
(synopsis "QDLDL LDL factorization routine")
@@ -5469,34 +5474,37 @@ data.")
(license license:expat)))
(define-public python-supersmoother
- (package
- (name "python-supersmoother")
- (version "0.4")
- (source
- (origin
- (method git-fetch) ; no package in PyPI
- (uri (git-reference
- (url "https://github.com/jakevdp/supersmoother")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1lkj8l2mpki6x2pxcwlrplx63lhi8h9v2rzxgjfb0cppsfr8m1wp"))))
- (build-system pyproject-build-system)
- (native-inputs
- (list python-pytest
- python-scipy
- python-setuptools
- python-wheel))
- (propagated-inputs
- (list python-numpy))
- (home-page "http://github.com/jakevdp/supersmoother")
- (synopsis "Python implementation of Friedman's Supersmoother")
- (description
- "This package provides an efficient implementation of
+ ;; 0.4 was release in 2017, there a lot of changes on master branch
+ ;; providing tests fixtures.
+ (let ((commit "0a81544ac6bb33bdb08deeba69e97a4ceebcebcf")
+ (revision "0"))
+ (package
+ (name "python-supersmoother")
+ (version (git-version "0.4" revision commit))
+ (source
+ (origin
+ (method git-fetch) ; no package in PyPI
+ (uri (git-reference
+ (url "https://github.com/jakevdp/supersmoother")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1r79nssw4a44zizvqg8y685nv3asdfj440s227phfww6kz33s3la"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest
+ python-scipy
+ python-setuptools))
+ (propagated-inputs
+ (list python-numpy))
+ (home-page "http://github.com/jakevdp/supersmoother")
+ (synopsis "Python implementation of Friedman's Supersmoother")
+ (description
+ "This package provides an efficient implementation of
@url{https://www.slac.stanford.edu/pubs/slacpubs/3250/slac-pub-3477.pdf,
Friedman's SuperSmoother} based in Python. It makes use of numpy for fast
numerical computation.")
- (license license:bsd-2)))
+ (license license:bsd-2))))
(define-public python-pylems
(package