summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-08-10 10:35:14 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:05 +0100
commit7394d82cf44861b5d7b825dfae4981b0cf41ae76 (patch)
treefc8b6269414aaf69357a9dced70dc881754aa778 /gnu/packages/python-xyz.scm
parent5bcc5e7011e6b952d0a652b500180f66b62710ac (diff)
gnu: python-distro: Update to 1.9.0.
* gnu/packages/python-xyz.scm (python-distro): Update to 1.9.0. [build-system]: Use pyproject. [arguments] <test-flags>: Skip 3 tests. [native-inputs]: Add python-setuptools. [home-page]: Fix permanent redirect. Change-Id: I64acf4c3811f2b0e97abc2a6f568fe55a0ab9693
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm25
1 files changed, 17 insertions, 8 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7a3683255b..f7d9b80f1a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -31622,20 +31622,29 @@ for manual interpretation.")
(define-public python-distro
(package
(name "python-distro")
- (version "1.6.0")
+ (version "1.9.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "distro" version))
(sha256
- (base32
- "09441261dd3c8b2gv15vhw1cryzg60lmgpkk07v6hpwwkyhfbxc3"))))
- (build-system python-build-system)
+ (base32 "1vfvkgfvrjpxpb48pf8rs2l5wfxij0plmffnw5p123wlv1ppr9rg"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list "-k" (string-join
+ ;; We are not on Ubunto distro:
+ ;; AssertionError: assert '' == 'ubuntu'.
+ (list "not test_ubuntu14normal_lsb_release"
+ "test_trailingblanks_lsb_release"
+ "test_ubuntu14nomodules_lsb_release")
+ " and not "))))
(native-inputs
- (list python-pytest))
- (home-page "https://github.com/nir0s/distro")
- (synopsis
- "OS platform information API")
+ (list python-pytest
+ python-setuptools))
+ (home-page "https://github.com/python-distro/distro")
+ (synopsis "OS platform information API")
(description
"@code{distro} provides information about the OS distribution it runs on,
such as a reliable machine-readable ID, or version information.