## Features:
* Support installing extras from the current project in dependency groups.
* Add support for conditional set_env using PEP-496 environment markers.
* Add __TOX_ENVIRONMENT_VARIABLE_ORIGINAL_CI, which passes through the CI
variable if present.
* A new tox life cycle event is now exposed for use via Plugins API.
* Pass ssh-agent variables SSH_AGENT_PID and SSH_AUTH_SOCK in pass_env by
default.
* Added constraints to allow specifying constraints files for all
dependencies.
* Allow disabling tox plugins via the TOX_DISABLED_EXTERNAL_PLUGINS
environment variable.
## Bugfixes:
* Fix wheel corruption errors when the build backend updates the file in
place.
* Expand braced range syntax in all internal sections of tox.ini
(e.g. deps, testenv).
* Fix None appearing as the config filename in error output when the user's
default config file is corrupt.
* Previously, when tox ran in an automatically provisioned environment, it
could hang waiting for a PEP 517 build backend if used in conjunction
with the --installpkg option.
* Prevent tox from hanging upon exit due to orphaned build threads and
subprocesses when the --installpkg option is used with sdist.
* Makes the error message more clear when pyproject.toml file cannot be
loaded or is missing expected keys.
* The tox_extend_envs() hook recently added turned out to not work well
with tox run. It was fixed internally, not to exhaust the underlying
iterator on the first use.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=135
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
Index: tox-4.34.1/tests/tox_env/python/pip/req/test_file.py
|
|
===================================================================
|
|
--- tox-4.34.1.orig/tests/tox_env/python/pip/req/test_file.py
|
|
+++ tox-4.34.1/tests/tox_env/python/pip/req/test_file.py
|
|
@@ -207,8 +207,8 @@ _REQ_FILE_TEST_CASES = [
|
|
pytest.param(
|
|
"numpy[2,1] @ file://./downloads/numpy-1.9.2-cp34-none-win32.whl",
|
|
{},
|
|
- ["numpy[1,2]@ file://./downloads/numpy-1.9.2-cp34-none-win32.whl"],
|
|
- ["numpy[1,2]@ file://./downloads/numpy-1.9.2-cp34-none-win32.whl"],
|
|
+ ["numpy[1,2] @ file://./downloads/numpy-1.9.2-cp34-none-win32.whl"],
|
|
+ ["numpy[1,2] @ file://./downloads/numpy-1.9.2-cp34-none-win32.whl"],
|
|
id="path with name-extra-protocol",
|
|
),
|
|
pytest.param(
|
|
@@ -330,8 +330,8 @@ _REQ_FILE_TEST_CASES = [
|
|
pytest.param(
|
|
"\tp @ https://github.com/a/b/c/d.zip ",
|
|
{},
|
|
- ["p@ https://github.com/a/b/c/d.zip"],
|
|
- ["p@ https://github.com/a/b/c/d.zip"],
|
|
+ ["p @ https://github.com/a/b/c/d.zip"],
|
|
+ ["p @ https://github.com/a/b/c/d.zip"],
|
|
id="whitespace around",
|
|
),
|
|
]
|