2024.03.02
We'd like to thank the following folks who contributed to this release:
- @DiddiLeija
- @MicaelJarniac
- @chrysle
- @edgarrmondragon
- @fazledyn-or
- @franekmagiera
- @frenzymadness
- @henryiii
- @johnthagen
- @mayeut
- @patrick91
- @q0w
- @samypr100
- @scop
- @stasfilin
- @stefanv
New Features:
- Add
uv
backend by @henryiii in #762 - Add venv backend fallback by @henryiii in #787
- Add option
--reuse-venv {yes,no,never,always}
by @samypr100 in #730 - Add environment variable
NOX_DEFAULT_VENV_BACKEND
for default backend by @edgarrmondragon in #780 - Rename
session.run_always
tosession.run_install
by @henryiii in #770 - Add more option argument completions by @scop in #707
- Implement
tox-to-nox
for tox 4 by @frenzymadness in #687 - Allow
--force-python
on unparametrized sessions by @chrysle in #756 - Add
include_outer_env
parameter tosession.run
and friends by @franekmagiera in #652 - GitHub Action: Add support for the
~
version specifier by @mayeut in #712
Bugfixes:
- Rebuild environment when changing to an incompatible backend type by @henryiii in #781
- Warn user when first argument to
session.run
is a list by @stefanv in #786 - Allow overriding
nox.options.sessions
with--tags
by @q0w in #684 - Allow overriding
NO_COLOR
with--force-color
by @stasfilin in #723 - Fix
nox.options.error_on_missing_interpreters
when running in CI by @samypr100 in #725
Documentation Improvements:
- Create an official Nox badge by @johnthagen in #714 and #715
- Add recipe for generating a matrix with GitHub Actions by @henryiii in #696
- Update some links by @henryiii in #774
Internal Changes:
- fix: always pull versions from metadata by @henryiii in #782
- chore: ruff moved to astral-sh by @henryiii in #722
- Use double quotes instead of single in github actions examples by @patrick91 in #724
- tests: fixes when running locally by @henryiii in #721
- chore: modernize Ruff config, bump pre-commit by @henryiii in #744
- chore(deps): bump actions/checkout from 3 to 4 by @dependabot in #738
- chore: ruff-format by @henryiii in #745
- chore(action): update default python-versions by @mayeut in #767
- chore(ci): allow manual runs on branches without a PR by @mayeut in #766
- chore(ci): bump actions/setup-python & conda-incubator/setup-miniconda by @mayeut in #765
- ci: group dependabot updates by @henryiii in #755
- fix(types): improve typing by @henryiii in #720
- ci: fix coverage combine for different OS's by @henryiii in #778
- ci: update to artifacts v2 by @henryiii in #772
- ci: remove skipped job & combine (faster) by @henryiii in #771
- chore: cleanup Ruff a bit by @henryiii in #783
- chore(deps): bump the actions group with 2 updates by @dependabot in #784
- style: add type hints, update few functions by @stasfilin in #728
- Include Python 3.12 in GHA by @DiddiLeija in #743
- Allow tests to pass in environments where NO_COLOR=1 is set by @edgarrmondragon in #777
- tests: support running when the Python launcher for UNIX is present by @henryiii in #775
- chore: drop unneeded config option by @henryiii in #773
- Bump minimum virtualenv to 20.14.1 by @johnthagen in #747
- chore: save session name in
Func
by @MicaelJarniac in #718 - Removed the problematic Python 2.7.18 version by @stasfilin in #726
- Fixed Improper Method Call: Replaced
NotImplementedError
by @fazledyn-or in #749