π We'd like to thank the following folks who contributed to this release:
Removals:
session.install outside a venv (#580)π New features:
-N alias for --no-reuse-existing-virtualenvs (#639)NOX_CURRENT_SESSION environment variable (#641)π Improvements:
VENV_DIR to dev session in cookbook (#591)tutorial.rst (#586)tox-to-nox (#575)silent=True returns the command output (#578)π Bugfixes:
FileNotFoundError in load_nox_module (#571)Internal changes:
pyproject.toml) (#616, #619)requirements-dev.txt (#582)myst-parser for Markdown docs (#561)π Claudio Jolowicz, Diego Ramirez, and Tom Fleet have become maintainers of Nox. We'd like to thank the following folks who contributed to this release:
π New features:
mamba backend (#444, #448, #546, #551)session.debug to show debug-level messages (#489)FORCE_COLOR environment variable (#524, #548)session.chdir() as a context manager (#543)session.install() without a valid backend (#537)π Improvements:
channel option when using the conda backend (#522)--keywords expression contains a syntax error (#493)session.notify() in tutorial page (#500)session.run() fails and how to handle failures (#533)π Bugfixes:
session.chdir() (#555, #556)CONDA_PREFIX environment variable (#538)bin directory for the conda backend on Windows (#535)Internal changes:
load_module with exec_module (#498)MANIFEST.in during CI (#552)LICENSE from MANIFEST.in (#505)setuptools use the standard library's distutils to work around virtualenv bug. (#547, #549)shlex.join() when logging a command (#490)shutil.rmtree() over shelling out to rm -rf in noxfile (#519)--error-on-missing-interpreter to CI (#532)conda_tests session by default if user has conda installed (#521)requirements-conda-test.txt (#536)π New features:
session.warn to output warnings (#482)session.invoked_from (#472)π Improvements:
nox.options.verbose (#466)session.notify example to docs (#467)noxfile.py is found (#463)noxfile.py docstring when using nox -l (#459)Internal changes:
test_session_completer from project level noxfile (#480)setup.py, use setup.cfg (#456, #457, #458)Special thanks to our contributors:
--help message by function. (#442)--no-install to skip install commands in reused environments. (#432)--force-python as shorthand for --python and --extra-python. (#427)@nox.parametrize to select the session Python. (#413)posargs when scheduling another session via session.notify. (#397)nox.needs_version to specify Nox version requirements. (#388)session.name to get the session name. (#386)venv_params is used. (#420)NoxColoredFormatter.format (#374)--extra-python (#361)python keyword (#367)py.typed to manifest.in (#360)--python with nox.options from --sessions and --keywords (#359)conda_install and install args are now automatically double-quoted when needed. (#312)conda_install. This allows users to continue executing Nox sessions on already installed environments. (#314)python.exe found was not the correct one. (#310)--add-timestamp option (#323)Session.run_always(). (#331)venv_backend, including the ability to set the backend globally. (#326)session.create_tmp. (#320)--pythons command-line option to allow specifying which versions of Python to run. (#304)venv_params. (#280)importlib.metadata for metadata loading, removing our dependency on pkg_resources. (#277)stdout.isatty to finalize color instead of stdin.isatty. (#267)appveyor.yml. (#258)_option_set.py. (#249)tasks.py. (#241)VIRTUAL_ENV environment variable to commands executed in a virtualenv. (#245)