Skip to content

Update to new Nox #1736

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

Closed
theacodes opened this issue Oct 5, 2018 · 1 comment
Closed

Update to new Nox #1736

theacodes opened this issue Oct 5, 2018 · 1 comment
Labels

Comments

@theacodes
Copy link
Contributor

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:

  1. Remove usage of session_{name} sessions and use @nox.session instead.
  2. Don't use session.interpreter, use @nox.session(py='...')
  3. Don't use nox.parametrize for multiple Pythons, use @nox.session(py=['..', '..']).
@engelke
Copy link
Contributor

engelke commented Dec 3, 2018

Handled in PR #1770.

@engelke engelke closed this as completed Dec 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants