sharlatan pushed a commit to branch python-team
in repository guix.
commit af22a0a5da77214c0f0e43590714d2b871f220a3
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Nov 23 12:42:12 2024 +0000
gnu: python-sniffio: Update to 1.3.1.
* gnu/packages/python-xyz.scm (python-sniffio): Update to 1.3.1.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Use default 'check phase.
[native-inputs]: Add python-setuptools and python-wheel.
Change-Id: I4a657235ad061721d8ca5193ed3318aa13e1b5a7
---
gnu/packages/python-xyz.scm | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index fbd5ab0c44..5c5239f1c6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16681,22 +16681,20 @@ subtasks.")
(define-public python-sniffio
(package
(name "python-sniffio")
- (version "1.2.0")
+ (version "1.3.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "sniffio" version))
(sha256
- (base32 "1pnkvi6wvn4qd37y69n1ls6n8l63gfmn3pvb1jb50gqxxkn6wrn4"))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda _
- (invoke "pytest" "-vv"))))))
+ (base32 "1p496yran6zwg47m7w26r8y89nrsbkrrbf4119slj3qaczf4wcpl"))))
+ (build-system pyproject-build-system)
(native-inputs
- (list python-curio python-pytest python-pytest-cov))
+ (list python-curio
+ python-pytest
+ python-pytest-cov
+ python-setuptools
+ python-wheel))
(home-page "https://github.com/python-trio/sniffio")
(synopsis "Detect which async library a program is running under")
(description "This package detects which async library a program is