Skip to content

chore(deps): upgrade tox - #3475

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/tox
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/tox

Conversation

@renovate

@renovate renovate Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
tox (changelog) ~=4.65 → ~=4.67 age confidence
tox-gh (changelog) >=1.8.0,<2 → >=1.9.4,<2 age confidence
tox-uv (changelog) >=1.36.0,<2 → >=1.37.10,<2 age confidence

Release Notes

tox-dev/tox (tox)

v4.67.17

Compare Source

Bug fixes
  • Reject requested environment names with a stray dash, such as py310- or py310--lint, and suggest the name without it, instead of creating an environment with that name (#​4476) by @​lau0708 and @​gaborbernat. (#​4475)
  • A requirements file whose declared encoding (PEP 263 coding cookie) cannot decode its content now raises a descriptive error naming the file and the declared encoding, instead of surfacing a raw UnicodeDecodeError (#​4468) by @​waw666waw666 and @​gaborbernat.
  • Accept a --root directory that does not exist again, instead of failing with FileNotFoundError (#​4472) by @​qianeric-backup and @​gaborbernat.
  • Reject an override that has no key, such as -x =1, instead of silently ignoring it. In TOX_OVERRIDE or the user configuration file, such an entry now makes tox warn and ignore that list, as an entry without = already does (#​4473) by @​qianeric-backup and @​gaborbernat.
  • Report a file in place of the work directory (from --workdir, work_dir or a stray .tox file), or a file passed as --root with the work directory under it, as a tox error instead of a traceback (#​4474) by @​ChaseZhang-ai and @​gaborbernat.
  • Report labels given to -m or TOX_LABELS that no environment defines, with a suggestion for a close match, instead of selecting nothing (#​4478) by @​chiruu12 and @​gaborbernat.

Documentation
  • Fix the tox_after_run_commands example in the plugin how-to, which failed the environment with an AttributeError, and correct the verbosity flags listed for each logging level (#​4466) by @​mmporong and @​gaborbernat.
  • Give the -x example in the override how-to the section names for tox.toml, pyproject.toml and tox.ini, since an override that spells the section for another file format changes nothing (#​4464) by @​JROtto5 and @​gaborbernat.
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.67.16

Compare Source

Bug fixes

Performance
  • Defer imports until the modules are needed on Python 3.15, reducing startup time for common CLI operations (#​4450) by @​gaborbernat.
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.67.15

Compare Source

Security
  • Create the work directory with owner-only access on POSIX also when no package is built; under a permissive umask it was created group-writable, leaving the environments inside it reachable by other accounts (#​4449) by @​gaborbernat. (#​4444)

🐍 PyPI release

📜 Full Changelog

v4.67.14

Compare Source

Bug fixes
  • An environment name that combines an interpreter prefix with an explicit version, such as pypy-3.10, now works together with other factors. pypy-3.10-lint or tests-cpython-3.13 used to fail with conflicting factors, because the prefix and the version were read as two separate Python factors. With ignore_base_python_conflict, such an environment name now takes precedence over base_python as other Python factors already do, so pypy-3.10-lint runs on pypy3.10 instead of the configured base_python (#​4404) by @​syahra712 and @​gaborbernat.
  • A set_env entry with an empty name, such as =value in tox.ini or an environment file, or "" = "value" in a TOML table, now fails as invalid instead of passing an unnamed variable to the commands, which broke them on Windows (#​4423) by @​arindam77 and @​gaborbernat. (#​4422)
  • When tox writes set_env entries back out as lines, for example to combine a {[section]set_env} reference with an --override, a value ending in a backslash no longer swallows the environment marker that follows it, which made a variable scoped to one platform apply everywhere (#​4426) by @​anwang132 and @​gaborbernat. (#​4425)
  • An environment specific --override that appends with +=, such as testenv:py.deps+=pytest-xdist, now appends to the value the environment inherits from [testenv] or env_run_base instead of replacing it. Appending to a set such as labels adds to it, and appending to a single value such as description fails with an error, as it already did within one section (#​4434) by @​hemtilva and @​gaborbernat. (#​4432)
  • --use-feature in deps or a requirements file now accepts any feature name and leaves the check to pip, instead of rejecting every name other than 2020-resolver and fast-deps (#​4436) by @​Doomguy-BFG9000 and @​gaborbernat. (#​4435)
  • A duration just under a whole minute, hour or day, such as 59.999 seconds, is now shown as 1 minute instead of 60 seconds, and a hundredth of a second after a whole minute, hour or day, as in 1 minute 0.01 seconds, is no longer dropped (#​4420) by @​syahra712 and @​gaborbernat.
  • Changing system_site_packages now recreates the environment. Before, tox reused the existing environment, which kept the old setting because virtualenv applies it only when it creates one. An environment created with the setting on by an earlier tox release is recreated once after upgrading (#​4393) by @​abhishekcpp007 and @​gaborbernat.
  • Honor encoding declarations in the first two lines of requirements files before trying UTF-8 or the locale encoding. A declared encoding Python does not know fails the environment with an error naming the file instead of an internal error (#​4440) by @​Ramji-Purwar and @​gaborbernat.
  • Recognize reversed extra markers such as "dev" == extra when selecting package dependencies (#​4397) by @​Jinyong-Li and @​gaborbernat.
  • Report circular requirements and constraints file includes with a clear error instead of raising RecursionError (#​4439) by @​Ramji-Purwar and @​gaborbernat.
  • tox config and {[testenv:NAME]commands} references now keep the - and ! exit-code prefixes of commands, so an inherited ignored or inverted command no longer turns into a plain one (#​4421) by @​anubhavlal07 and @​gaborbernat.
  • {factor:label} now resolves a labeled factor value that contains a dash, such as flit-core, instead of falling back to its default (#​4406) by @​gaborbernat.
  • {factor:label} now resolves to the factor the label's group put in the environment name when two groups share a value. Before, with factors = [{ source = ["py312", "py313"] }, { target = ["py312", "py313"] }], the environment migrate-py313-py312 read py312 for both labels (#​4402) by @​Kernel-Hunter and @​gaborbernat.

Documentation
  • Explain in the pkg_dir reference that it belongs to packaging environments and show how a run environment refers to it (#​4428) by @​vudigapranav and @​gaborbernat. (#​4424)
  • Document that package staging creates the work directory with owner-only access, why a process running as another account then fails to import from an environment, and how to opt out by creating the work directory or changing its mode (#​4448) by @​gaborbernat. (#​4444)

Security
  • tox now treats a Windows junction where a run environment's directory, or its log or tmp folder, should live as it treats a symlink: it replaces the junction without touching the files of its target, also when the target is missing. A junction at the environment directory itself makes tox fail with is a link where this environment should live unless -r is given, instead of raising FileExistsError (#​4418) by @​subotac and @​gaborbernat.

Packaging
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.67.13

Compare Source

Bug fixes
  • Relative {glob:...} and TOML replace = "glob" patterns now match files when tox_root contains [, * or ?. tox treats those characters in the project path literally while keeping wildcards in the configured pattern (#​4389) by @​qodelicious and @​gaborbernat.
  • When work_dir or tox_root contains [, * or ?, tox now treats those characters literally in its own executable paths and in default or relative package_glob patterns. This lets it run environment commands and find packages built by package = external (#​4390) by @​qodelicious and @​gaborbernat.
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.67.12

Compare Source

Bug fixes
  • A quoted set_env value that ends with a literal backslash and contains a semicolon no longer loses its quote protection, so WINPATH="C:\tools;C:\bin\\" keeps the whole value instead of failing with invalid marker. tox now counts the backslashes in front of a quote: an even number leaves the quote unescaped (#​4388) by @​haigou-web and @​gaborbernat. (#​4387)

🐍 PyPI release

📜 Full Changelog

v4.67.11

Compare Source

Bug fixes
  • Package staging no longer fails on a .tox that only the project's own writers can change, such as one owned by the workspace owner while root runs tox, or a 777 build directory on Bitbucket. A work directory that other accounts could change, such as a 777 .tox left by an older tox under umask 000 or restored from a CI cache, is made private and emptied once at the start of a run, so tox recreates its environments instead of failing. When staging still refuses a path, the error names its owner and mode (#​4386) by @​gaborbernat. (#​4376)

🐍 PyPI release

📜 Full Changelog

v4.67.10

Compare Source

Bug fixes
  • A pair of numbers after a - is no longer read as a range, so py-django-4-2 keeps its name instead of splitting into py-django-4, 3 and 2. Braced ranges such as py-django-{4-5} still expand (#​4380) by @​ericdelorefice and @​gaborbernat.
  • On Windows, quoted option values in requirements files and deps, such as -r "sub dir/base.txt", now have their quotes removed as they do on other platforms and in pip; before, the quotes stayed in the path and the file could not be opened. On every platform, a quoted -r, -c or -f value in deps keeps its spaces as written instead of gaining literal backslashes (#​4381) by @​abo3losh1 and @​gaborbernat.
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.67.9

Compare Source

🐍 PyPI release

📜 Full Changelog

v4.67.8

Compare Source

Bug fixes
  • A .tox created under umask 002 no longer fails the package staging check. When the current user owns a group-writable work directory left by an older tox, tox makes it owner-only and removes group write from the staging directories inside it. Provisioning runs the same repair before starting the provisioned tox, which may be a release without it, and creates a missing work directory owner-only. Previously, such checkouts failed until .tox was deleted, and a fresh .tox also failed when tox provisioned itself (#​4377) by @​gaborbernat. (#​4376)

🐍 PyPI release

📜 Full Changelog

v4.67.7

Compare Source

Bug fixes
  • PEP 723 metadata lines with content now require a space after #. Empty blocks count when detecting duplicates, and invalid requires-python values report a configuration error. Previously, malformed content lines could make tox read metadata that other script runners ignored (#​4371) by @​abhishekcpp007 and @​gaborbernat.
New Contributors

🐍 PyPI release

📜 Full Changelog

v4.67.6

Compare Source

Features
  • Accept --config-settings (-C) on requirement lines in requirements files, which pip supports, instead of failing with unrecognized arguments; it is still rejected when written in deps directly, like --hash (#​4366) by @​mmporong and @​gaborbernat.

Bug fixes
  • Package builds now work under umasks such as 0002 because tox creates new staging directories and missing parents with owner-only access. Existing directories keep their permissions (#​4360) by @​stephenfin and @​gaborbernat.
  • tox config no longer fails with an AssertionError when an environment uses a runner whose plugin is not installed. It skips that environment, as tox run and tox list already do (#​4361) by @​nk-batman21 and @​gaborbernat.
  • Invalid set_env markers now report the key. For INI values, the error explains how to write a literal semicolon as \; (#​4364) by @​faresrafat3 and @​gaborbernat.
  • Restore built-in runner choices for --runner so --runner virtualenv does not fail with an empty choices list (#​4365) (#​4367) by @​gaborbernat.
  • Compare interpreter implementation names without regard to case when validating base_python against environment names (#​4369) by @​mayankdhingra02 and @​gaborbernat.
New Contributors

PyPI release

Full Changelog

v4.67.5

Compare Source

Bug fixes
  • A packaging environment whose base_python (or default_base_python) is not installed no longer crashes with KeyError: 'skip_missing_interpreters'. It now fails with the missing interpreter, or skips the run environment when skip_missing_interpreters is true, as tox did before 4.36.0 (#​4213) by @​gaborbernat. (#​4212)
  • Keep environment markers when a package extra refers to another extra of the same package. For example, demo[dev]; python_version < '3.10' keeps the version condition on dependencies from dev (#​4216) by @​ericdelorefice and @​gaborbernat.
  • A pylock.toml or a tox user configuration file (TOX_USER_CONFIG_FILE) saved with a UTF-8 byte order mark, as some Windows editors do, is now read instead of failing with a TOML decode error or being ignored with failed to read config file (#​4217) by @​pcbeingused333.
  • With args_are_paths enabled, a positional argument naming an existing file whose rewritten path relative to change_dir starts with - (for example tests/--config=evil.cfg) is now prefixed with ./ so the command still receives a path instead of an option (#​4317) by @​rahuldevikar and @​gaborbernat. (#​4218)
  • An extending TOML replace table with a nonempty marker now raises an error instead of adding its internal value and marker keys to deps or requires. Markers on set_env values remain supported (#​4320) by @​rahuldevikar and @​gaborbernat. (#​4220)
  • A TOML type mismatch no longer includes an expanded string or container value. A malformed commands setting with {env:...} reports its type instead of the substituted text (#​4327) by @​rahuldevikar and @​gaborbernat. (#​4221)
  • Keep artifacts supplied with --installpkg out of tox's provisioning environment while installing them in the requested test environments (#​4304) by @​Pratham2511 and @​gaborbernat. (#​4222)
  • A file: URI passed to --installpkg is now percent-decoded once instead of twice, so a path containing a literal % sequence, such as a directory named feature%2Flogin, selects the package the user named (#​4300) by @​pcbeingused333 and @​gaborbernat. (#​4223)
  • A relative TOX_INSTALL_PKG or user configuration install_pkg path is now resolved against the invocation directory, as --installpkg already was, so tox inspects and installs from the same path (#​4333) by @​rahuldevikar and @​gaborbernat. (#​4224)
  • tox refuses a symlink or Windows junction at meta_dir because the build frontend empties that directory during metadata preparation (#​4332) by @​rahuldevikar and @​gaborbernat. (#​4225)
  • An explicitly empty base_python (for example {env:TOXPYTHON:python3.11} with TOXPYTHON empty) now fails during configuration with base_python for env <name> is empty. Blank entries in a base_python list are ignored (#​4326) by @​rahuldevikar and @​gaborbernat. (#​4226)
  • A path setting that expands to an empty value, such as env_tmp_dir = {env:SCRATCH_DIR} with SCRATCH_DIR unset, now fails with a configuration error instead of resolving to the current directory, which tox could then clear (#​4330) by @​rahuldevikar and @​gaborbernat. (#​4227)
  • Keep every value of a multi-value command line flag, such as -f py legacy, with that flag. The command scanner took a later value matching a subcommand as the command, causing environments without that factor to run (#​4319) by @​rahuldevikar and @​gaborbernat. (#​4228)
  • Unreadable wheels, invalid wheel metadata, and unreadable or empty source archives supplied through --installpkg now produce errors that name the artifact instead of internal error tracebacks (#​4287) by @​santhiprakash and @​gaborbernat. (#​4230)
  • Reject NUL characters in set_env file assignments with a handled input error instead of a subprocess traceback (#​4279) by @​Doomguy-BFG9000 and @​gaborbernat. (#​4231)
  • Limit each requirement or constraint file to 10 MiB, so oversized and endless includes fail with a size error. For remote files, tox checks a 120-second deadline between response body reads. Slow HTTP framing can delay that check (#​4312) by @​rahuldevikar and @​gaborbernat. (#​4232)
  • tox now validates inline script dependencies as requirements before installing them. An invalid entry such as a pip option fails before tox passes the dependencies to pip (#​4306) by @​santhiprakash and @​gaborbernat. (#​4233)
  • Read static package dependencies and the editable-legacy install path from the packaging environment's package_root instead of the core one, so a package_root set in [testenv:.pkg] no longer pairs the built package with the dependencies declared next to tox.ini (#​4321) by @​rahuldevikar and @​gaborbernat. (#​4234)
  • A package environment path that is already a symlink no longer causes tox list to create file.lock under the link target (#​4311) by @​rahuldevikar and @​gaborbernat. (#​4235)
  • tox now expands ${VAR} in requirements and constraints files using the environment running pip, including pass_env and set_env, instead of the tox process. A variable absent from that environment stays literal, so tox cannot put its host value in a fetched URL. To retain expansion, add it to pass_env or define it with set_env (#​4323) by @​rahuldevikar and @​gaborbernat. (#​4236)
  • Mask values when a flag or environment variable name contains a secret keyword after a newline (#​4259) by @​haigou-web and @​gaborbernat. (#​4237)
  • tox -h no longer prints secret-looking --key=value values from TOX_OVERRIDE. Conversion warnings also mask those values in invalid TOX_ options (#​4303) by @​faresrafat3 and @​gaborbernat. (#​4238)
  • A tox.toml or pyproject.toml string with literal braces around text containing a colon, such as a JSON argument holding a URL or a time, is now kept as written, as in tox.ini, instead of being read as a {key:default} reference. Positional arguments such as set_env:x passed into such braces through {posargs} no longer expand into the value of that setting (#​4269) by @​Anandb71 and @​gaborbernat. (#​4239)
  • Reject wheel metadata entries over 8 MiB uncompressed, limiting memory use during package installation (#​4328) by @​rahuldevikar and @​gaborbernat. (#​4240)
  • Recreate an environment when its .tox-info.json contains a non-mapping value for a section that requires a mapping (#​4258) by @​haigou-web and @​gaborbernat. (#​4241)
  • Preserve empty positional arguments when rewriting relative paths for change_dir (#​4256) by @​Fire162 and @​gaborbernat. (#​4242)
  • base_python_file rejects non-regular files, undecodable content, and version lines over 1024 characters with a handled error naming the file. It reads comments in bounded chunks, so a long comment can still precede the version (#​4325) by @​rahuldevikar and @​gaborbernat. (#​4243)
  • base_python_file now accepts only a Python version specifier (such as 3.13 or pypy3.10) from the version file. A path or program name there no longer makes tox start that program during interpreter discovery, and the rejected line is not echoed in the error message (#​4324) by @​rahuldevikar and @​gaborbernat. (#​4244)
  • An inline deps or constraints entry that directly substitutes a host variable via {env:NAME} or a TOML replace = "env" table now passes ${OTHER} text in that value to pip unchanged. A TOML reference to the loaded entry keeps the same behavior. A ${NAME} reference written in the configuration or a substitution default still expands (#​4329) by @​rahuldevikar and @​gaborbernat. (#​4245)
  • pylock now evaluates Python and platform markers using a complete environment from the target interpreter. Previously, missing values such as implementation_version came from the Python running tox, which could select a package locked for the wrong interpreter (#​4331) by @​rahuldevikar and @​gaborbernat. (#​4246)
  • For active packages in a pylock.toml, reject whitespace or control characters in hash tokens, archive or VCS URLs, commit IDs, and subdirectories before writing pip requirements. A line break in one of these fields could add a pip option such as --index-url. The check also covers values pip expands from ${VAR} references. Changing a referenced value reinstalls the locked packages (#​4315) by @​rahuldevikar and @​gaborbernat. (#​4247)
  • A direct URL entry in requires (such as tox @ file:///path/to/tox.whl) now triggers provisioning unless the installed distribution's direct_url.json records the requested source, including a supported archive hash, subdirectory, or VCS revision. pip discards fragment fields such as egg; these no longer trigger repeat provisioning. When the installer omits credentials from the origin record, a credentialed direct URL without a requested archive hash fails with an explanation instead of hanging during provisioning (#​4314) by @​rahuldevikar and @​gaborbernat. (#​4248)
  • tox now rejects sdist members whose paths or link targets escape the extraction directory. On Python versions without the tarfile data filter, tox checks each member as it extracts the archive (#​4316) by @​rahuldevikar and @​gaborbernat. (#​4249)
  • Report the file and line number for an invalid set_env file line, since its content may contain a secret (#​4298) by @​r3wretrhy and @​gaborbernat. (#​4250)
  • Keep input bytes out of tox config INI, JSON, and TOML output when a configuration key reads non-UTF-8 data (#​4302) by @​ducanhnguyen223, ducanhnguyen223 and @​gaborbernat. (#​4251)
  • A pre-existing symlink at .tox-info.json no longer supplies cached state. When tox writes state, it replaces the link and leaves its target untouched (#​4322) by @​rahuldevikar and @​gaborbernat. (#​4253)
  • When rebuilding a stale bootstrap environment for virtualenv_spec, tox removes a link at the cache path and creates the replacement without venv's clear option. A link placed there after cleanup and before directory creation stops the rebuild without emptying its target (#​4313) by @​rahuldevikar and @​gaborbernat. (#​4254)
  • Redirected Windows output now escapes characters its code page cannot encode instead of raising UnicodeEncodeError. The stream keeps its encoding (#​4257) by @​haigou-web and @​gaborbernat. (#​4255)
  • Read the Docs now fetches Git history and tags before installing tox, so VCS version detection can satisfy tox-uv (#​4337) by @​gaborbernat. (#​4336)
  • A host variable substituted through set_env into deps or constraints now keeps ${NAME} text literal for pip. A ${NAME} written in the configuration still expands (#​4342) by @​gaborbernat.

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team November 18, 2026 19:38
@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Nov 18, 2026
@renovate
renovate Bot requested review from a team, Lumabots and NeloBlivion November 18, 2026 19:38
@github-project-automation github-project-automation Bot moved this to Todo in Pycord Nov 18, 2026
@renovate

renovate Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: uv.lock
Using CPython 3.14.10 interpreter at: /opt/containerbase/tools/python/3.14.10/bin/python3
error: No solution found when resolving dependencies for split (markers: python_full_version == '3.10.*')
  cause: Because the requested Python version (>=3.10, <3.15) does not satisfy Python>=3.11 and tox>=4.67.0 depends on Python>=3.11, we can conclude that tox>=4.67.0 cannot be used.
         And because py-cord:tox depends on tox>=4.67 and your project requires py-cord:tox, we can conclude that your project's requirements are unsatisfiable.

hint: While the active Python version is 3.14, the resolution failed for other Python versions supported by your project. Consider limiting your project's supported Python versions using `requires-python`.

hint: The `requires-python` value (>=3.10, <3.15) includes Python versions that are not supported by your dependencies (e.g., tox>=4.67.0 only supports >=3.11). Consider using a more restrictive `requires-python` value (like >=3.11).

@renovate
renovate Bot requested review from Lulalaby and Paillat-dev November 18, 2026 19:38
@renovate
renovate Bot requested a review from a team as a code owner November 18, 2026 19:38
@renovate
renovate Bot requested review from Icebluewolf and VincentRPS November 18, 2026 19:38
github-actions[bot]
github-actions Bot previously approved these changes Nov 18, 2026
@Paillat-dev

Copy link
Copy Markdown
Member

Depends on us doing a python 3.11 bump

github-actions[bot]
github-actions Bot previously approved these changes Nov 19, 2026
@Paillat-dev
Paillat-dev dismissed github-actions[bot]’s stale review November 20, 2026 13:36

The merge-base changed after approval.

@Paillat-dev
Paillat-dev requested review from a team as code owners November 20, 2026 13:36
@Paillat-dev
Paillat-dev requested a review from a team November 20, 2026 13:36

@Paillat-dev Paillat-dev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

github-actions[bot]
github-actions Bot previously approved these changes Nov 21, 2026
github-actions[bot]
github-actions Bot previously approved these changes Dec 1, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file on hold

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant