mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-29 07:42:23 -05:00
gnu: python-pint: Update to 0.23.
* gnu/packages/python-xyz.scm (python-pint): Update to 0.23. [arguments]: Disable "test_load_definitions_stage_2" test. [native-inputs]: Remove python-dask, python-distributed, python-importlib-metadata, python-setuptools-scm, python-sparse, python-uncertainties, and python-xarray; add python-pytest-benchmark. [propagated-inputs]: Add python-uncertainties. Change-Id: I98baae3369e5ffeea96355d9509296771c33dc50
This commit is contained in:
parent
1c01f7e5c6
commit
745b208767
1 changed files with 15 additions and 16 deletions
|
@ -1406,30 +1406,29 @@ (define-public python-pymdown-extensions
|
||||||
(define-public python-pint
|
(define-public python-pint
|
||||||
(package
|
(package
|
||||||
(name "python-pint")
|
(name "python-pint")
|
||||||
(version "0.22")
|
(version "0.23")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "Pint" version))
|
(uri (pypi-uri "Pint" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0cs4lsvngrkfzpnrmxcwz728m47y0xbw1knksz51cc6gpdm9y4rd"))))
|
"1d69dqs0j907x4hgz2k8f3zjzhgs9zvlw2k0gi955g3dc28rnl71"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
;; This single test tries to write to $HOME/.cache/pint.
|
(list
|
||||||
(list #:test-flags #~'("-k" "not test_auto")))
|
#:test-flags
|
||||||
|
'(list "-k" (string-append
|
||||||
|
;; This test tries to write to $HOME/.cache/pint.
|
||||||
|
"not test_auto"
|
||||||
|
;; Fails with "Group USCSLengthInternational already
|
||||||
|
;; present in registry"
|
||||||
|
" and not test_load_definitions_stage_2"))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-dask
|
(list python-pytest python-pytest-benchmark python-pytest-cov
|
||||||
python-distributed
|
python-pytest-mpl python-pytest-subtests))
|
||||||
python-importlib-metadata
|
(propagated-inputs
|
||||||
python-pytest ;for pytest-subtests
|
(list python-typing-extensions
|
||||||
python-pytest-cov
|
python-uncertainties))
|
||||||
python-pytest-mpl
|
|
||||||
python-pytest-subtests
|
|
||||||
python-setuptools-scm
|
|
||||||
python-sparse
|
|
||||||
python-uncertainties
|
|
||||||
python-xarray))
|
|
||||||
(propagated-inputs (list python-typing-extensions))
|
|
||||||
(home-page "https://github.com/hgrecco/pint")
|
(home-page "https://github.com/hgrecco/pint")
|
||||||
(synopsis "Physical quantities module")
|
(synopsis "Physical quantities module")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue