summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-05-08 16:35:33 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-05-24 10:19:30 +0100
commitbf301587df771c1be5bad34b150d3ba42bd722d4 (patch)
tree4f9fc73606ed46a3d3591905736116aa8d46051a /gnu
parentef979a65bd5bf695bc758090a515141d5b28c190 (diff)
gnu: python-tox: Update to 4.27.0.
* gnu/packages/python-check.scm (python-tox): Update to 4.27.0. [source]: Switch to git-fetch. [arguments] <test-flags>: Run tests in parallel; rework skipped tests. [propagated-inputs]: Remove python-tomli and python-typing-extensions. [native-inputs]: Remove python-wheel; add python-docutils. Change-Id: I04f7ab23b9c14111c387294658cc62e6f71e8eb1
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-check.scm72
1 files changed, 49 insertions, 23 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 5ed487edb63..a03a6a1053c 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -5138,32 +5138,60 @@ when writing automated tests in Python.")
5138 ;; only. 5138 ;; only.
5139 (package 5139 (package
5140 (name "python-tox") 5140 (name "python-tox")
5141 (version "4.23.2") 5141 (version "4.27.0")
5142 (source 5142 (source
5143 (origin 5143 (origin
5144 (method url-fetch) 5144 (method git-fetch)
5145 (uri (pypi-uri "tox" version)) 5145 (uri (git-reference
5146 (url "https://github.com/tox-dev/tox")
5147 (commit version)))
5148 (file-name (git-file-name name version))
5146 (sha256 5149 (sha256
5147 (base32 5150 (base32 "1z8bc37sbzzrssw426v5xr94ywk5l3i6dy4hfppv6y9mihmr8yk7"))))
5148 "0b2a5wrjwryjzg58v1mwzx3wn7pr2wwk7z2cwy16xpsmwl05w1w6"))))
5149 (build-system pyproject-build-system) 5151 (build-system pyproject-build-system)
5150 (arguments 5152 (arguments
5151 (list 5153 (list
5154 ;; tests: 1867 passed, 11 skipped, 2 warnings
5152 #:test-flags 5155 #:test-flags
5153 #~(list "-k" (string-join 5156 #~(list "--numprocesses" (number->string (parallel-job-count))
5154 ;; These freeze the test suite 5157 #$@(map (lambda (ls) (string-append "--deselect=tests/"
5155 (list "not test_parallel" 5158 (string-join ls "")))
5156 "test_parallel_live" 5159 '(("plugin/test_plugin.py"
5157 ;; Needs internet access 5160 "::test_plugin_hooks_and_order")
5158 "test_build_wheel_external" 5161 ("session/cmd/test_devenv.py"
5159 "test_run_installpkg_targz" 5162 "::test_devenv_fail_multiple_target")
5160 "test_python_generate_hash_seed" 5163 ("session/cmd/test_parallel.py"
5161 ;; XXX Tries to call python-wrapper-3.10.7/bin/tox 5164 "::test_keyboard_interrupt")
5162 "test_call_as_exe" 5165 ("session/cmd/test_sequential.py"
5163 ;; assert 'covdefaults>=1.2; python_version == "2.7" 5166 "::test_skip_pkg_install")
5164 ;; or python_version == "3.11"' == 'sphinx>=3' 5167 ("session/cmd/test_show_config.py"
5165 "test_load_dependency_many_extra") 5168 "::test_show_config_cli_flag")
5166 " and not ")))) 5169 ("session/cmd/test_show_config.py"
5170 "::test_show_config_pkg_env_once")
5171 ("session/cmd/test_show_config.py"
5172 "::test_show_config_pkg_env_skip")
5173 ("session/cmd/test_show_config.py"
5174 "::test_show_config_py_ver_impl_constants")
5175 ("test_call_modes.py"
5176 "::test_call_as_exe")
5177 ("tox_env/python/test_python_api.py"
5178 "::test_python_disable_hash_seed")
5179 ("tox_env/python/test_python_api.py"
5180 "::test_python_generate_hash_seed")
5181 ("tox_env/python/test_python_api.py"
5182 "::test_python_hash_seed_from_env_and_disable")
5183 ("tox_env/python/test_python_api.py"
5184 "::test_python_hash_seed_from_env_and_override")
5185 ("tox_env/python/test_python_api.py"
5186 "::test_python_keep_hash_seed")
5187 ("tox_env/python/test_python_api.py"
5188 "::test_python_set_hash_seed")
5189 ("tox_env/python/virtual_env/package/"
5190 "test_package_cmd_builder.py"
5191 "::test_build_wheel_external")
5192 ("tox_env/python/virtual_env/package/"
5193 "test_package_cmd_builder.py"
5194 "::test_run_installpkg_targz"))))))
5167 (propagated-inputs 5195 (propagated-inputs
5168 (list python-cachetools 5196 (list python-cachetools
5169 python-chardet 5197 python-chardet
@@ -5173,11 +5201,10 @@ when writing automated tests in Python.")
5173 python-platformdirs 5201 python-platformdirs
5174 python-pluggy 5202 python-pluggy
5175 python-pyproject-api 5203 python-pyproject-api
5176 python-tomli
5177 python-typing-extensions
5178 python-virtualenv)) 5204 python-virtualenv))
5179 (native-inputs 5205 (native-inputs
5180 (list python-devpi-process 5206 (list python-devpi-process
5207 python-docutils
5181 python-flaky 5208 python-flaky
5182 python-hatch-vcs 5209 python-hatch-vcs
5183 python-hatchling 5210 python-hatchling
@@ -5186,8 +5213,7 @@ when writing automated tests in Python.")
5186 python-pytest-mock 5213 python-pytest-mock
5187 python-pytest-xdist 5214 python-pytest-xdist
5188 python-re-assert 5215 python-re-assert
5189 python-time-machine 5216 python-time-machine))
5190 python-wheel))
5191 (home-page "https://tox.readthedocs.io") 5217 (home-page "https://tox.readthedocs.io")
5192 (synopsis "Virtualenv-based automation of test activities") 5218 (synopsis "Virtualenv-based automation of test activities")
5193 (description "Tox is a generic virtualenv management and test command line 5219 (description "Tox is a generic virtualenv management and test command line