diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-01-27 09:53:07 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-07 12:28:44 +0100 |
| commit | 586d4a71b16d14f00df3b4c7b89e310bb2e991ea (patch) | |
| tree | 4be4362b58c03afdfd290518eb6f74796b2732da /gnu/packages/python-xyz.scm | |
| parent | 5faad87a9121440e1411ea0e8da6f2e746f8bbd4 (diff) | |
gnu: python-pytooling: Update to 8.11.0.
* gnu/packages/python-xyz.scm (python-pytooling): Update to 8.11.0.
[arguments]<#:test-flags>: Update them.
<#:phases>: Add phase 'patch-git-bin-for-tests to drop former failing
tests.
[native-inputs]: Add python-aiohttp, python-requests.
Change-Id: Ie23d82f758d6361fa948ab97f314d7f25e91bbc8
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 3a790dc5fbe..1ba1801b461 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4276,7 +4276,7 @@ configuration file.") (define-public python-pytooling (package (name "python-pytooling") - (version "8.7.6") + (version "8.11.0") (source (origin (method git-fetch) @@ -4285,7 +4285,7 @@ configuration file.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1n0idfiwcsssvy3kfwkgdpwx7zmvzp44mv0285d8argdy6rd48p0")))) + (base32 "07vlx2kfcxhkm0dj3d3pgdxmqbv2hzgzgdrnpnjjf30pacwrlq1m")))) (build-system pyproject-build-system) (arguments (list @@ -4294,17 +4294,26 @@ configuration file.") #:tests? (not (or (%current-target-system) (target-x86-32?))) #:test-flags - #~(list "tests/unit" - "-k" (string-join - ;; Tests checking in /usr/bin and /usr/bin/git paths. - (list "not test_BinaryDirectory" - "test_ExecutablePath" - "test_VersionFlag") - " and not ")))) + #~(list + "tests/unit" + ;; These tests try to access the network. + "--deselect=tests/unit/Dependency/Python.py::PyPI::test_SphinxReports" + "--deselect=tests/unit/Dependency/Python.py::PyPI::test_pyTooling" + "--deselect=tests/unit/Dependency/Python.py::PyPI::test_pyVersioning") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-git-bin-for-tests + (lambda* (#:key inputs #:allow-other-keys) + (substitute* (list "tests/unit/CLIAbstraction/Executable.py" + "tests/unit/CLIAbstraction/Program.py") + (("/usr/bin") + (dirname (search-input-file inputs "/bin/git"))))))))) (native-inputs (list git-minimal/pinned + python-aiohttp python-colorama python-pytest + python-requests python-ruamel.yaml python-setuptools)) (home-page "https://pytooling.github.io/pyTooling/") |
