guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 3a38c506ad6b2d6f5cd90ffec41fd5f55ea0feb5
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Jul 15 14:22:36 2025 +0100
gnu: python-ephemeral-port-reserve: Enable tests.
* gnu/packages/python-web.scm (python-ephemeral-port-reserve): Enable tests.
[source]: Switch to git-fetch contacting tests.
[native-inputs]: Add python-pytest.
Change-Id: If9768647f8e69c70329d1d3e761437152fbc50bd
---
gnu/packages/python-web.scm | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4f05adde74..fd4f46be05 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6969,13 +6969,17 @@ this it tries to be opinion-free and very extendable.")
(version "1.1.4")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "ephemeral_port_reserve" version))
+ (method git-fetch) ;no tests in PyPI archvie
+ (uri (git-reference
+ (url "https://github.com/Yelp/ephemeral-port-reserve")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1chl9hil7ggz6l4sfhmp0l2j55qcskbc3pj9360b0309jwndmxxq"))))
+ (base32 "1ifmf5zcw7mhbm73awmf5jwc4rw8lhk81mn4zp797lwkysjm38s7"))))
(build-system pyproject-build-system)
(native-inputs
- (list python-setuptools
+ (list python-pytest
+ python-setuptools
python-wheel))
(home-page "https://github.com/Yelp/ephemeral-port-reserve/")
(synopsis "Find an unused port, reliably")