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

commit d5479da95a8caced3f96e3fbd1d09d4c4e218210
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Feb 7 17:13:56 2026 +0000

    gnu: python-pluggy: Switch to git-fetch.
    
    * gnu/packages/python-build.scm (python-pluggy):
    [source]: Switch to git-fetch.
    [arguments] <tests?>: Disable to break cycle with Pytest.
    [native-inputs]: Remove python-wheel.
    [home-page]: Use the URL mentioned on GitHub.
    
    Change-Id: I81b053c7de9e57598e2172e6b5c001a15b770e45
---
 gnu/packages/python-build.scm | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index 31b21bb57c..2816b62fbf 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -289,16 +289,20 @@ platform-specific directories, e.g. the ``user data 
dir''.")
     (version "1.6.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "pluggy" version))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/pytest-dev/pluggy";)
+              (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "1wr2vnbb7gy9wlz01yvb7rn4iqzd3mwmidk11ywk7395fq5i7k3x"))))
+        (base32 "01q2cmzdfi8sgyl1indbpl75142csizz9s8cryk2a0cjkcy26i56"))))
     (build-system pyproject-build-system)
+    (arguments
+     (list #:tests? #f)) ;to break cycle with pytest
     (native-inputs
      (list python-setuptools-bootstrap
-           python-setuptools-scm
-           python-wheel))
-    (home-page "https://pypi.org/project/pluggy/";)
+           python-setuptools-scm))
+    (home-page "https://pluggy.readthedocs.io/en/latest/";)
     (synopsis "Plugin and hook calling mechanism for Python")
     (description
      "Pluggy is an extraction of the plugin manager as used by Pytest but

Reply via email to