unstale

pypi / nox

nox

What changed in nox 2025 to 2026, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

13 breaking1 deprecations10 new APIs and options4 performance18 behavior and defaults3 tooling27 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

nox 202659 changes

Breaking changes 12

  • A dependency's mandatory requirements are now traversed even when it has no extras.

    2026.10.20release notes

  • The GitHub Action now defaults to Python 3.11-3.15.

    2026.10.20release notes

  • Conversion drops environment variables that tox 4.64.8 and later list in set_env.

    2026.10.20release notes

  • Unrecognized global options now produce an error.

    2026.08.10release notes

  • Script mode is isolated from an inherited PYTHONPATH.

    2026.08.10release notes

  • Provisioning with uv no longer writes ~/.local/bin shims.

    2026.08.10release notes

  • Python 3.15 requires virtualenv 21 or later.

    2026.08.10release notes

  • The option is enforced even when log=False.

    2026.07.11release notes

  • load_toml returns an empty dict when the script file is missing.

    2026.07.11release notes

  • Python 3.9 support was dropped.

    2026.07.11release notes

  • Fully non-ASCII session names are hashed instead of returning the envdir.

    2026.07.11release notes

  • Python 3.8 support is dropped, affecting which Python versions developers can use with nox.

    2026.04.10release notes

New APIs and options 6

  • A new backend uses py-rattler to provide fast conda-style environments in a /// script block; install it with the nox[rattler] extra.

    2026.10.20release notes

  • Sessions expose whether they are running in a parallel worker.

    2026.10.20release notes

  • Sessions can run in parallel experimentally; sessions must opt in, or use --allow-parallel.

    2026.08.10release notes

  • Python ranges with only an upper bound can be downloaded.

    2026.08.10release notes

  • The CommandFailed exception now exposes a return_code property.

    2026.07.11release notes

  • Adds a command to print full docstrings for provided sessions.

    2026.04.10release notes

Performance 4

Behavior and default changes 12

  • Options that accept lists now also accept tuples.

    2026.10.20release notes

  • Single-argument parametrization now accepts ranges and other iterators.

    2026.10.20release notes

  • The parallel banner and status header now fall back to ASCII.

    2026.10.20release notes

  • Running with --parallel no longer prints an experimental banner.

    2026.10.20release notes

  • The rattler backend now loads configuration from the default locations.

    2026.10.20release notes

  • Explicit command-line options take precedence over noxfile and alias values.

    2026.08.10release notes

  • Interpreter discovery now uses python-discovery, which should find Python better and supports version specifier sets.

    2026.08.10release notes

  • PEP 440 range interpreters are translated to conda version specs.

    2026.08.10release notes

  • Script mode reads requires-python to determine Python requirements.

    2026.08.10release notes

  • Modules are imported lazily on Python 3.15.

    2026.07.11release notes

  • The -t option now selects from all available sessions.

    2026.04.10release notes

  • Support for using multiple session decorators was improved.

    2026.02.09release notes

Tooling 3

  • Environment variables are shown in CLI help.

    2026.07.11release notes

  • The .nox directory is ignored by default, with .gitignore and CACHEDIR.TAG written to it.

    2026.04.10release notes

  • Typing for .run was improved.

    2026.02.09release notes

Fixes and other changes 22

  • External command classification now respects directory boundaries.

    2026.10.20release notes

  • Script mode no longer calls install() when a script declares no dependencies.

    2026.10.20release notes

  • Python versions read from classifiers now include free-threaded builds when the free-threading classifier is present.

    2026.10.20release notes

  • Script metadata is now read when the file starts with a UTF-8 BOM.

    2026.10.20release notes

  • Duplicate Python versions are removed from a session's Python list.

    2026.10.20release notes

  • Command conversion now preserves quoted paths.

    2026.10.20release notes

  • The parallel reporter now supports legacy encodings, improving parallel-mode support on legacy Windows.

    2026.08.17release notes

  • Python versions derived from classifiers are sorted.

    2026.08.10release notes

  • Conda version constraints on Windows are corrected.

    2026.08.10release notes

  • An empty inner @parametrize is retained when decorators are stacked.

    2026.08.10release notes

  • Building the manifest no longer crashes when a python-matrix session has an empty parametrize.

    2026.08.10release notes

  • The minimum version is corrected for major-only and multiple lower bounds.

    2026.08.10release notes

  • python_versions() no longer crashes when max_version is major-only.

    2026.08.10release notes

  • The fallback for --download-python is fixed.

    2026.07.11release notes

  • Interpreter-resolution edge cases are fixed.

    2026.07.11release notes

  • Nox no longer crashes when a parametrized session has an empty parameter list.

    2026.07.11release notes

  • Script-mode pip resolution on Windows is fixed.

    2026.07.11release notes

  • Missing parent directories for the session cache directory are created.

    2026.07.11release notes

  • The converter now handles = in set_env values and out-of-tree change_dir.

    2026.07.11release notes

  • Virtual environments are recreated when broken symlinks are present, such as after a Python upgrade.

    2026.04.10release notes

  • Nox supports uv 0.10's requirement to pass --clear when clearing an environment.

    2026.02.09release notes

  • Python 3.8 support was temporarily re-added because uv 0.10 still supports 3.8.

    2026.02.09release notes

nox 202517 changes

Breaking changes 1

  • Nox no longer accepts abbreviated options.

    2025.10.14release notes

Deprecations 1

  • Shows a warning when a duplicate session is encountered, with an eventual error planned.

    2025.10.14release notes

New APIs and options 4

  • Adds a Python option to control whether nox downloads Python, even when not using uv.

    2025.10.14release notes

  • Adds support for GitHub Actions Windows ARM runners.

    2025.10.14release notes

  • Supports scripts with custom names in script mode.

    2025.10.14release notes

  • Adds session.env_dir to get the Path to the environment.

    2025.10.14release notes

Behavior and default changes 6

  • The --report option now supports a Path as its file argument.

    2025.11.12release notes

  • The dependency is now optional; it is only needed to install Python when not using the uv backend.

    2025.10.16release notes

  • Runs taking over a second now include the time taken in the output.

    2025.10.16release notes

  • Updates the GitHub Action default to target the recommended Python range 3.10–3.14.

    2025.10.14release notes

  • Uses a separate SESSION_INFO logging level for session info instead of warning.

    2025.10.14release notes

  • Percolates the global verbose option to the silent argument for session installation commands.

    2025.10.14release notes

Fixes and other changes 5

  • Avoids warnings when running in script mode.

    2025.11.12release notes

  • Logs the output of a failed process.

    2025.10.14release notes

  • Correctly matches free-threaded Python versions.

    2025.10.14release notes

  • Fixes a validation error for nox.options.keywords.

    2025.10.14release notes

  • Tightens the type for venv_backend.

    2025.10.14release notes