guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 030f101ea085423a09ba19cb7794ae66aadfc86d
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Jun 28 20:31:12 2026 +0100
gnu: python-pint: Update to 0.25.3.
* gnu/packages/python-science.scm (python-pint): Update to 0.25.3.
[native-inputs]: Remove python-setuptools, python-setuptools-scm, and
python-wheel;
add python-hatch-vcs and python-hatchling.
---
gnu/packages/python-science.scm | 22 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 91361b63af..5ade64f993 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -2845,16 +2845,21 @@ particle information and extra goodies.")
(define-public python-pint
(package
(name "python-pint")
- (version "0.24.4")
+ (version "0.25.3")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "pint" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hgrecco/pint")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "100vp5jg2sqj5wxaflj1rqjv2pk4fd55l2h2sdn7m0vlnlwm89rm"))))
+ (base32 "0ra25yfvjm5fpc47wm2dk8vicpdblvjjizbs0n1ak5d65mqinv4p"))))
(build-system pyproject-build-system)
(arguments
(list
+ ;; tests: 2191 passed, 142 skipped, 11 xfailed, 9 warnings, 298 subtests
+ ;; passed
#:test-flags #~(list "--ignore=pint/testsuite/benchmarks")
#:phases
#~(modify-phases %standard-phases
@@ -2864,12 +2869,11 @@ particle information and extra goodies.")
;; '/homeless-shelter'
(setenv "HOME" "/tmp"))))))
(native-inputs
- (list python-pytest
+ (list python-hatch-vcs
+ python-hatchling
+ python-pytest
python-pytest-mpl
- python-pytest-subtests
- python-setuptools
- python-setuptools-scm
- python-wheel))
+ python-pytest-subtests))
(propagated-inputs
(list python-flexcache
python-flexparser