-
-
Notifications
You must be signed in to change notification settings - Fork 150
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
nox fails in CI even when nox.options.error_on_missing_interpreters = False
#650
Labels
Comments
This was referenced Sep 6, 2022
its because of noxfile_value = getattr(noxfile_args, enable_name) # False
command_value = getattr(command_args, enable_name) # True
disable_value = getattr(command_args, disable_name) # None
return (command_value or noxfile_value) and not disable_value #(False or True) and not None
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current Behavior
This PR makes CI fail if there are missing Python interpreters:
There was an exception for
--no-error-on-missing-interpreters
to override this behavior, but setting this in thenoxfile.py
itself does not work:In CI:
Expected Behavior
When
nox.options.error_on_missing_interpreters = False
is set, missing interpreters should not fail in CI.Steps To Reproduce
Create a
noxfile.py
withRun this in a
python:3.9
Docker image in GitLab CI.Environment
Anything else?
tox
allows this to be set in their configuration file:The text was updated successfully, but these errors were encountered: