summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-12-12 15:08:17 +0000
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:18:43 +0100
commit1ea1298bba759801aa72fd775b5229ea80706944 (patch)
treec435712540d27bfde76e09cd4768be969e22f4c0 /gnu
parent8392c834c8043f27ea1f33b27d61e4e6fb2c49c5 (diff)
gnu: python-fgivenx: Update to 2.4.2-0.cf51dbf.
* gnu/packages/python-science.scm (python-fgivenx): Update towcf51dbf8b7efdd8d84f055740a069a5b882dcf77. [source]: Switch to git-fetch providing comparability with recent matblotlib version. [arguments]: Drop all. [home-page]: Fix URL https://github.com/fgivenx/fgivenx responding with 404, new one is taken from PyPI page. Change-Id: Ia255f4b44967ee32e9b4a18cc15b80aa4cf0b09e Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-science.scm32
1 files changed, 18 insertions, 14 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index ad8ccaa753e..df8d83c9b32 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1170,32 +1170,36 @@ standard software: R and Python.")
(define-public python-fgivenx
(package
(name "python-fgivenx")
- (version "2.4.2")
+ ;; See: https://github.com/handley-lab/fgivenx/issues/30
+ (properties '((commit . "cf51dbf8b7efdd8d84f055740a069a5b882dcf77")
+ (revision . "0")))
+ (version (git-version "2.4.2"
+ (assoc-ref properties 'revision)
+ (assoc-ref properties 'commit)))
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "fgivenx" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/handley-lab/fgivenx")
+ (commit (assoc-ref properties 'commit))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1ji6fqxsxmp58yvc16r41wjakgnw710gwhwviyi6q42bfj9lag6z"))))
+ (base32 "1z9lwrjvz977gk6z7zqj8d21yi0xcz67mj1737yzzdc8c03nzg9w"))))
(build-system pyproject-build-system)
- (arguments
- (list
- ;; tests: 24 passed, 1 deselected, 167578 warnings
- #:test-flags
- ;; AttributeError: 'GrouperView' object has no attribute 'join'
- #~(list "--deselect=fgivenx/test/test_drivers.py::test_plotting")))
+ ;; tests: 25 passed, 1 warning
(native-inputs
(list python-pytest
python-pytest-mpl
python-setuptools))
(propagated-inputs
- (list python-getdist
- python-matplotlib
- python-joblib
+ (list python-matplotlib
python-numpy
python-scipy
+ ;; [optional]
+ python-getdist
+ python-joblib
python-tqdm))
- (home-page "https://github.com/fgivenx/fgivenx")
+ (home-page "https://github.com/handley-lab/fgivenx")
(synopsis "Functional Posterior Plotter")
(description
"@code{fgivenx} is a Python package for plotting posteriors of functions.