You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nox recently made a big change from declarative to imperative and broke the Noxfile API.
We need to update our Noxfiles to work with the new API and update our test scripts to install nox (instead of nox-automation) and invoke python3 -m nox {args}.
Most projects just need to do a few steps:
Remove usage of session_{name} sessions and use @nox.session instead.
Don't use session.interpreter, use @nox.session(py='...')
Don't use nox.parametrize for multiple Pythons, use @nox.session(py=['..', '..']).
The text was updated successfully, but these errors were encountered:
Nox recently made a big change from declarative to imperative and broke the Noxfile API.
We need to update our Noxfiles to work with the new API and update our test scripts to install
nox
(instead ofnox-automation
) and invokepython3 -m nox {args}
.Most projects just need to do a few steps:
session_{name}
sessions and use@nox.session
instead.session.interpreter
, use@nox.session(py='...')
nox.parametrize
for multiple Pythons, use@nox.session(py=['..', '..'])
.The text was updated successfully, but these errors were encountered: