guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 61903af405de9267397981cd644e9692ae487d1e
Author: Sharlatan Hellseher <sharlata...@gmail.com>
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 3345238b01..dc441fa7dd 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6849,13 +6849,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")

Reply via email to