diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-31 01:20:12 +0000 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:20:04 +0100 |
| commit | bb97a094eab30645158e13c3aeb1426c339bdec3 (patch) | |
| tree | 0be79d5d3c6fa1422ffd9fef8b2099c37bc33672 | |
| parent | c8d5ee01f29e78c28ee0b24c4d0a2eb7037aeb03 (diff) | |
gnu: python-chaospy: Update to 4.3.21.
* gnu/packages/statistics.scm (python-chaospy): Update to 4.3.21.
[propagated-inputs]: Remove python-importlib-metadata.
[native-inputs]: Remove python-wheel.
Change-Id: I686c7fbaea1cf2e238c4a9eb3f1800489122b1c8
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
| -rw-r--r-- | gnu/packages/statistics.scm | 34 |
1 files changed, 24 insertions, 10 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index ea94cd376b2..cd4efb45233 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -619,30 +619,44 @@ available, greatly increasing its breadth and scope.") (define-public python-chaospy (package (name "python-chaospy") - (version "4.3.13") - (source (origin ;; PyPI misses Pytest fixtures. + (version "4.3.21") + (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/jonathf/chaospy") - (commit (string-append "v" version)))) + (url "https://github.com/jonathf/chaospy") + (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 - "1bn4jmwygs5h0dskbniivj20qblgm75pyi9hcjf47r25kawd730m")))) + "1x9jsy1jsshki0jn2hh8dby20b9haznzas2m03y3wswfgcjbr3md")))) (build-system pyproject-build-system) (arguments (list + ;; tests: 388 passed, 33 warnings #:phases #~(modify-phases %standard-phases - ;; The deprecation warnings break the tests. + ;; TODO: The deprecation warnings break the tests, report upstream. + ;; + ;; AttributeError: module 'numpy' has no attribute 'bool'. `np.bool` + ;; was a deprecated alias for the builtin `bool`. To avoid this + ;; error in existing code, use `bool` by itself. Doing this will not + ;; modify any behavior and is safe. If you specifically wanted the + ;; numpy scalar type, use `np.bool_` here. The aliases was + ;; originally deprecated in NumPy 1.20; for more details and + ;; guidance see the original release note at: + ;; https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations (add-after 'unpack 'dont-treat-deprecation-warnings-as-error (lambda _ (substitute* "pyproject.toml" (("\"error::DeprecationWarning\",") ""))))))) - (propagated-inputs (list python-importlib-metadata python-numpoly - python-numpy python-scipy)) - (native-inputs (list python-pytest python-scikit-learn python-setuptools - python-wheel)) + (native-inputs + (list python-pytest + python-scikit-learn + python-setuptools)) + (propagated-inputs + (list python-numpoly + python-numpy + python-scipy)) (home-page "https://chaospy.readthedocs.io/en/master/") (synopsis "Numerical tool for performing uncertainty quantification") (description "Chaospy is a numerical toolbox for performing uncertainty |
