diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-12-23 18:15:48 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-28 20:51:52 +0000 |
| commit | 622938d004426d8762752b6a5bf2f11f6f12e85b (patch) | |
| tree | c289d406639a1c60b360ff2939a1ae5e8d52b872 /gnu/packages/python-web.scm | |
| parent | b7fd221b8b14cfa1cc8f6c11a40ba9f4c21d3375 (diff) | |
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 26d4eabeb60..f625740b74e 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") |
