summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm52
1 files changed, 37 insertions, 15 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index d0ec62cb2df..0d2ed6984cd 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -86,6 +86,7 @@
86 #:use-module (gnu packages python-web) 86 #:use-module (gnu packages python-web)
87 #:use-module (gnu packages python-xyz) 87 #:use-module (gnu packages python-xyz)
88 #:use-module (gnu packages qt) 88 #:use-module (gnu packages qt)
89 #:use-module (gnu packages rust-apps) ;for uv
89 #:use-module (gnu packages sphinx) 90 #:use-module (gnu packages sphinx)
90 #:use-module (gnu packages time) 91 #:use-module (gnu packages time)
91 #:use-module (gnu packages version-control) 92 #:use-module (gnu packages version-control)
@@ -2039,7 +2040,7 @@ also ensuring that the notebooks are running without errors.")
2039(define-public python-nox 2040(define-public python-nox
2040 (package 2041 (package
2041 (name "python-nox") 2042 (name "python-nox")
2042 (version "2025.11.12") 2043 (version "2026.08.10")
2043 (source 2044 (source
2044 (origin 2045 (origin
2045 (method git-fetch) 2046 (method git-fetch)
@@ -2048,23 +2049,36 @@ also ensuring that the notebooks are running without errors.")
2048 (commit version))) 2049 (commit version)))
2049 (file-name (git-file-name name version)) 2050 (file-name (git-file-name name version))
2050 (sha256 2051 (sha256
2051 (base32 "19cpsdi158ngn5jskfk50zbjn745nhlijx1w73rcmmqph0rl518r")))) 2052 (base32 "1cwpdrk3j1iikzbrzzaxb3gz4x87c74cwfjjh0rgxv67p2s0xxml"))))
2052 (build-system pyproject-build-system) 2053 (build-system pyproject-build-system)
2053 ;; tests: 631 passed, 40 skipped
2054 (arguments 2054 (arguments
2055 (list 2055 (list
2056 ;; tests: 890 passed, 45 skipped, 11 deselected, 1 xpassed
2056 #:test-flags 2057 #:test-flags
2057 #~(list "-k" 2058 #~(append
2058 (string-join 2059 ;; Network access is required.
2059 ;; XXX: Tests fails to find uv. 2060 (map (lambda (test)
2060 (list "not test_download_python_always_preexisting_interpreter[uv]" 2061 (string-append "--deselect=tests/test_main.py" test))
2061 "test_download_python_auto_missing_interpreter[uv]" 2062 (list "::test_noxfile_script_mode"
2062 "test_download_python_failed_install[always-uv]" 2063 "::test_noxfile_script_mode_exec"
2063 "test_download_python_failed_install[auto-uv]" 2064 "::test_noxfile_script_mode_url_req"))
2064 "test_noxfile_script_mode" 2065 ;; Tests try to download particular Python versions.
2065 "test_noxfile_script_mode_exec" 2066 (map (lambda (test)
2066 "test_noxfile_script_mode_url_req") 2067 (string-append "--deselect=tests/test_virtualenv.py" test))
2067 " and not ")))) 2068 (list (string-append "::test_create_reuse_environment_"
2069 "with_broken_interpreter_symlink[uv]")
2070 "::test_create_reuse_uv_environment"
2071 "::test_stale_environment[uv-virtualenv-False]"
2072 "::test_uv_creation"
2073 "::test_uv_install[3.11-True]"
2074 "::test_uv_install[cpython3.9-True]"
2075 "::test_uv_install[pypy3.8-True]"
2076 "::test_uv_install[python3.12-True]")))
2077 #:phases
2078 #~(modify-phases %standard-phases
2079 (add-before 'check 'pre-check
2080 (lambda _
2081 (setenv "HOME" "/tmp"))))))
2068 (native-inputs 2082 (native-inputs
2069 (list python-hatchling 2083 (list python-hatchling
2070 python-pytest)) 2084 python-pytest))
@@ -2073,8 +2087,16 @@ also ensuring that the notebooks are running without errors.")
2073 python-attrs 2087 python-attrs
2074 python-colorlog 2088 python-colorlog
2075 python-dependency-groups 2089 python-dependency-groups
2090 python-discovery
2076 python-humanize 2091 python-humanize
2077 python-virtualenv)) 2092 python-packaging
2093 python-platformdirs
2094 python-virtualenv
2095 ;; [optional]
2096 python-jinja2
2097 python-pbs-installer
2098 python-tox
2099 uv))
2078 (home-page "https://nox.thea.codes/") 2100 (home-page "https://nox.thea.codes/")
2079 (synopsis "Flexible test automation") 2101 (synopsis "Flexible test automation")
2080 (description 2102 (description