-
-
Notifications
You must be signed in to change notification settings - Fork 167
Closed
Description
No promises here, but this my personal wishlist for the next release:
Related series of ideas:
- Support session dependencies (
requires
) #631 - this is the key building block for making one thing depend on other things
Add some helpers to the nox.project
namespace for common tasks that have PEPs behind them:
- feat: helper to get dependency-groups #876
- feat: add helper to get the Python listing #877 (followup fix: warning about __main__ already being imported #884)
PEP 723 runner:
- feat: expose main as nox.main #878 - Easier runs via PEP 723
- feat: support PEP 723 noxfiles #881 - This would also users to share code, and even not have to install nox. Also extend using Python packages, like using click or rich inside a session.
Fixes:
- fix: support noxfile being a symlink #829
- fix: error with helpful message if invalid option is set via nox.options #871
- fix: error if invalid reuse_venv set #872
- fix: outer_env issues fixed #874
- fix: allow pypy- to be used (matching GHA) #913
- fix: catch PermissionError from popen when UV is not installed #908
- correct virtualenv bin dir under mingw python #901
- Use
uv python install
only with uv backend #900 - fix: include encoding for consistent behavior (default in Python 3.15+) #891
- chore: limit the visible items for tab completion #889
- fix(tox-to-nox): switch pkgutil for importlib-resources #887
- fix: validate entries in nox.config, too, using attrs #880 (and fix in fix: over validation of lists #921)
- fix: add a pyproject.toml default for load_toml #917
- fix(gha): drop PyPy from the default list for the GitHub Action #916
- fix: don't trigger a background update process for virtualenv #918
- fix: support broken uv (via pyenv) #922
Cleanup (with fixes):
- chore: limit the visible items for tab completion #889
- chore: more typing and test improvements #890
- chore: add more Ruff checks and fixes #893
- tests: statically type tests #894
- feat: drop support for tox 3 #910
- refactor: pull out env creation into helper method #912
- refactor: pulled out get_virtualenv & better typing #882
Tests
- tests: use tmp_path instead of tmpdir #895
- tests: statically type tests #894
- chore: add more Ruff checks and fixes #893
Longer term, I have ideas about the CLI that might make sense after #167.
Postponed:
- Add ability for many nox tasks to reuse the same session/virtual env #167 - allow
@nox.env
and then defining sessions for it. Would probably solve a lot of things at once, like custom venv locations and lock file support. - Allow for easy wheel-sharing #740 - add a "build" job and way to share wheels - could be just an example using the above one or two items.
- Support version specifiers in
nox
's Python definition #814 - this would also allow PEP 721's requires-python setting to be used. - Verify 3.13t works well
leodevian, edgarrmondragon, oliversen, SyntaxColoring, neerajanil and 2 more
Metadata
Metadata
Assignees
Labels
No labels