-
Notifications
You must be signed in to change notification settings - Fork 248
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
Use Nox? #646
Comments
For an example of something very similar for manylinux, see pypa/manylinux#1055 - noxfile https://github.com/pypa/manylinux/pull/1055/files#diff-f7a16a65f061822bcc73b8296f4dc837353d379d8d9cc5307982cb6941442835 |
Another nox example: https://github.com/scikit-build/scikit-build-sample-projects/pull/12/files |
nox looks like a great tool! I never used tox myself, it always had this 'heavy' feeling, probably because of the configuration files.
If this is possible, that would be great. |
In bin, we have some code that likely could be run by nox, and at least one piece of code that could be replaced by Nox. This could simplify some of the scripts - mostly looking at the first half of update_dependencies.py. It could be then run either from a Nox docker container, using the Nox action, or locally if someone has installed all the required versions of Python, without having the current
--no-docker
duplication.This could possibly be augmented over time to take support running all our development actions, so a new developer could easily run these in a controlled environment without having to set up anything, and get a matching environment to the CI. I wasn't that fond of tox - too rigid with too many options and assumptions , but nox is not bad, much cleaner and more natural with nicer output.
pip
uses nox and tox (slowly transitioning to nox-only, I think).packaging
andpackaging.python.org
use nox. Pretty much all the otherpypa
projects use tox.Common dev actions would mostly be still available as a script (though the nox runner would install the requirements for you), though some actions (esp. ones like update_dependencies) could only run in Nox (mostly ones that require multiple Python versions).
Thoughts?
PS: personally, I run
pipx run nox
which means I don't have to install nox.The text was updated successfully, but these errors were encountered: