guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 622938d004426d8762752b6a5bf2f11f6f12e85b
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Dec 23 18:15:48 2025 +0100

    gnu: python-gitlab: Update to 7.0.0.
    
    * gnu/packages/python-web.scm (python-gitlab): Update to 7.0.0.
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [arguments]<#:test-flags>: Ignore graphql tests, as well as a failing test.
    [native-inputs]: Add python-anyio, python-pytest, python-responses,
    python-setuptools.
    
    Change-Id: I0ed72d559bdb376da3680bfb6a4166f66c6d0884
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-web.scm | 30 +++++++++++++++++++++---------
 1 file changed, 21 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 26d4eabeb6..f625740b74 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -9603,16 +9603,28 @@ is part of the Weblate translation platform.")
 (define-public python-gitlab
   (package
     (name "python-gitlab")
-    (version "3.2.0")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "python-gitlab" version))
-              (sha256
-               (base32
-                "1gi4lp2g4k99zqcx2bgqx940bpmpbc1w9qkl5gy33hpy148yhvlg"))))
-    (build-system python-build-system)
+    (version "7.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/python-gitlab/python-gitlab";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0rf1hz5n724f8sfc7g3fzfz96jsv9y145pi6gc8qscsjq3z4vi37"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:tests? #f))                             ;tests require network access
+     (list
+      #:test-flags
+      #~(list "--ignore=tests/unit/test_graphql.py"
+              ;; XXX: Missing helper script.
+              "-k" "not test_data_from_helper" "tests/unit")))
+    (native-inputs
+     (list python-anyio
+           python-pytest
+           python-responses
+           python-setuptools))
     (propagated-inputs (list python-requests python-requests-toolbelt))
     (home-page "https://github.com/python-gitlab/python-gitlab";)
     (synopsis "Interact with GitLab API")

Reply via email to