Nox

Latest version: v2024.4.15

Safety actively analyzes 630130 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

2021.10.1

New features:
- Add `session.warn` to output warnings (482)
- Add a shared session cache directory (476)
- Add `session.invoked_from` (472)

Improvements:
- Conda logs now respect `nox.options.verbose` (466)
- Add `session.notify` example to docs (467)
- Add friendlier message if no `noxfile.py` is found (463)
- Show the `noxfile.py` docstring when using `nox -l` (459)
- Mention more projects that use Nox in the docs (460)

Internal changes:
- Move configs into pyproject.toml or setup.cfg (flake8) (484)
- Decouple `test_session_completer` from project level noxfile (480)
- Run Flynt to convert str.format to f-strings (464)
- Add python 3.10.0-rc2 to GitHub Actions (475, 479)
- Simplify CI build (461)
- Use PEP 517 build system, remove `setup.py`, use `setup.cfg` (456, 457, 458)
- Upgrade to mypy 0.902 (455)

Special thanks to our contributors:
- henryiii
- cjolowicz
- FollowTheProcess
- franekmagiera
- DiddiLeija

2021.6.12

- Fix crash on Python 2 when reusing environments. (450)
- Hide staleness check behind a feature flag. (451)
- Group command-line options in `--help` message by function. (442)
- Avoid polluting tests with a .nox directory. (445)

2021.6.6

- Add option `--no-install` to skip install commands in reused environments. (432)
- Add option `--force-python` as shorthand for `--python` and `--extra-python`. (427)
- Do not reuse environments if the interpreter or the environment type has changed. (418, 425, 428)
- Allow common variations in session names with parameters, such as double quotes instead of single quotes. Session names are considered equal if they produce the same Python AST. (417, 434)
- Preserve the order of parameters in session names. (401)
- Allow `nox.parametrize` to select the session Python. (413)
- Allow passing `posargs` when scheduling another session via `session.notify`. (397)
- Prevent sessions from modifying each other's posargs. (439)
- Add `nox.needs_version` to specify Nox version requirements. (388)
- Add `session.name` to get the session name. (386)
- Gracefully shutdown child processes. (393)
- Decode command output using the system locale if UTF-8 decoding fails. (380)
- Fix creation of Conda environments when `venv_params` is used. (420)
- Various improvements to Nox's type annotations. (376, 377, 378)
- Remove outdated notes on Windows compatibility from the documentation. (382)
- Increase Nox's test coverage on Windows. (300)
- Avoid mypy searching for configuration files in other directories. (402)
- Replace AppVeyor and Travis CI by GitHub Actions. (389, 390, 403)
- Allow colorlog <7.0.0. (431)
- Drop contexter from test requirements. (426)
- Upgrade linters to the latest version. (438)

2020.12.31

- Fix `NoxColoredFormatter.format` (374)
- Use conda remove to clean up existing conda environments (373)
- Support users specifying an undeclared parametrization of python via `--extra-python` (361)
- Support double-digit minor version in `python` keyword (367)
- Add `py.typed` to `manifest.in` (360)
- Update Nox to latest supported python versions. (362)
- Decouple merging of `--python` with `nox.options` from `--sessions` and `--keywords` (359)
- Do not merge command-line options in place (357)

2020.8.22

- `conda_install` and `install` args are now automatically double-quoted when needed. (312)
- Offline mode is now auto-detected by default by `conda_install`. This allows users to continue executing Nox sessions on already installed environments. (314)
- Fix the default paths for Conda on Windows where the `python.exe` found was not the correct one. (310)
- Add the `--add-timestamp` option (323)
- Add `Session.run_always()`. (331)

2020.5.24

- Add new options for `venv_backend`, including the ability to set the backend globally. (326)
- Fix various typos in the documentation. (325, 326, 281)
- Add `session.create_tmp`. (320)
- Place all of Nox's command-line options into argparse groups. (306)
- Add the `--pythons` command-line option to allow specifying which versions of Python to run. (304)
- Add a significant amount of type annotations. (297, 294, 290, 282, 274)
- Stop building universal wheels since we don't support Python 2. (293)
- Add the ability to specify additional options for the virtualenv backend using `venv_params`. (280)
- Prefer `importlib.metadata` for metadata loading, removing our dependency on `pkg_resources`. (277)
- Add OmegaConf and Hydra to list of projects that use Nox. (279)
- Use a more accurate error message, along with the cause, if loading of noxfile runs into error. (272)
- Test against Python 3.8. (270)
- Fix a syntax highlighting mistake in configuration docs. (268)
- Use `stdout.isatty` to finalize color instead of `stdin.isatty`. (267)

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.