Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support users specifying an undeclared parametrization of python #361

Merged
merged 27 commits into from
Dec 29, 2020
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
8759209
feat: support users specifying an undeclared parametrization of python
crwilcox Nov 20, 2020
b016d61
fix: short circuit to throwing a key error earlier
crwilcox Nov 20, 2020
2b4e553
refactor to avoid 'uncovered' region
crwilcox Nov 20, 2020
3659f3e
simplify code, manage coverage
crwilcox Nov 21, 2020
73ae618
fix type issue
crwilcox Nov 21, 2020
b672b70
feat: add extra-python argument to control additional pythons
crwilcox Nov 24, 2020
08569a7
test: make sure mock has extra_pythons field
crwilcox Nov 24, 2020
6cf1b99
dedupe extra pythons that match existing pythons.
crwilcox Nov 24, 2020
974e222
Merge branch 'master' into allow-non-specified-python-versions
crwilcox Nov 24, 2020
169ede8
Update nox/manifest.py
crwilcox Nov 24, 2020
dc5dd73
revert: revert to before previous commit due to a bug
crwilcox Nov 25, 2020
3c43215
Add a method to ensure a unique and ordered session list.
crwilcox Nov 26, 2020
46f32f2
Treat extra_python as an override when no python is specified for a s…
crwilcox Nov 26, 2020
9d86ff0
Merge branch 'master' into allow-non-specified-python-versions
crwilcox Nov 26, 2020
57d6a5c
Use parametrized tests
crwilcox Nov 30, 2020
e4ab2b5
Merge branch 'master' into allow-non-specified-python-versions
crwilcox Nov 30, 2020
62e5948
Simplify handling of extra pythons
crwilcox Nov 30, 2020
7bb69a2
blacken
crwilcox Nov 30, 2020
e496dc1
docs: add a bit in usage.rst about using extra-pythons
crwilcox Dec 1, 2020
b6337f5
Merge branch 'master' into allow-non-specified-python-versions
crwilcox Dec 1, 2020
afe79e4
Update docs/usage.rst
crwilcox Dec 2, 2020
7812152
Merge branch 'master' into allow-non-specified-python-versions
crwilcox Dec 19, 2020
0d3bc44
docs: Expand on using python with extra-pythons
crwilcox Dec 23, 2020
bb37f02
Update docs/usage.rst
crwilcox Dec 28, 2020
9363b62
Update docs/usage.rst
crwilcox Dec 28, 2020
164e4ad
Merge branch 'master' into allow-non-specified-python-versions
crwilcox Dec 29, 2020
94b41b3
test: add a test to show unique list behavior is correct
crwilcox Dec 29, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,15 @@ In addition to Nox supporting executing single sessions, it also supports runnin

This will, in addition to specified python versions in the Noxfile, also create sessions for the specified versions.

This option can be combined with ``--python`` to replace, instead of appending, the Python interpreter for a given session::

nox --python 3.10 --extra-python 3.10 -s lint

Also, you can can specify ``python`` in place of a specific version. This will run the session
crwilcox marked this conversation as resolved.
Show resolved Hide resolved
using the ``python`` specified for the current ``PATH``:
crwilcox marked this conversation as resolved.
Show resolved Hide resolved

nox --python python --extra-python python -s lint


.. _opt-stop-on-first-error:

Expand Down