From 376056617df9407d8aff1afd37dbe8c7d0aed9f7 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 10 Dec 2025 23:06:11 +0000 Subject: gnu: python-nox: Update to 2025.11.12. * gnu/packages/python-check.scm (python-nox): Update to 2025.11.12. [arguments] : Skip tests requiring uv. [propagated-inputs]: Remove python-packaging and python-py; add python-attrs, python-dependency-groups, and python-humanize. [native-inputs]: Remove python-jinja2. Change-Id: Ia310a49b1b76841e267c10a34549510880b1bbf0 Signed-off-by: Rutherther --- gnu/packages/python-check.scm | 36 +++++++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 11 deletions(-) (limited to 'gnu/packages/python-check.scm') diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 63fb8c995a9..514bdd21bf9 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1775,28 +1775,42 @@ also ensuring that the notebooks are running without errors.") (define-public python-nox (package (name "python-nox") - (version "2024.10.09") + (version "2025.11.12") (source (origin - ;; No tests in the PyPI tarball. (method git-fetch) (uri (git-reference - (url "https://github.com/wntrblm/nox") - (commit version))) + (url "https://github.com/wntrblm/nox") + (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "0gvv6hcwmmmg1sgwar42061ahx5p773d5fzx3c7sq81wh3gp7lqr")))) + (base32 "19cpsdi158ngn5jskfk50zbjn745nhlijx1w73rcmmqph0rl518r")))) (build-system pyproject-build-system) + ;; tests: 631 passed, 40 skipped + (arguments + (list + #:test-flags + #~(list "-k" + (string-join + ;; XXX: Tests fails to find uv. + (list "not test_download_python_always_preexisting_interpreter[uv]" + "test_download_python_auto_missing_interpreter[uv]" + "test_download_python_failed_install[always-uv]" + "test_download_python_failed_install[auto-uv]" + "test_noxfile_script_mode" + "test_noxfile_script_mode_exec" + "test_noxfile_script_mode_url_req") + " and not ")))) + (native-inputs + (list python-hatchling + python-pytest)) (propagated-inputs (list python-argcomplete + python-attrs python-colorlog - python-packaging - python-py + python-dependency-groups + python-humanize python-virtualenv)) - (native-inputs - (list python-hatchling - python-jinja2 - python-pytest)) (home-page "https://nox.thea.codes/") (synopsis "Flexible test automation") (description -- cgit v1.3