-
Notifications
You must be signed in to change notification settings - Fork 431
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
Can we use regular nox (and not the special native-venv nox fork?) #508
Comments
Is the venv-virtualenv distinction actually relevant now? virtualenv now uses the same mechanism as venv on Python 3. |
I just tried plain nox with I'm waiting for #509 to land before doing more testing. |
Ok, also plain @cs01 what used to break in the tests with virtualenv? Would it be obvious (like tests failing) or was it something more subtle to look out for? |
The issue was that from within a nox task, virtual environments were not able to be created. This is a corner case for nox usage that obviously pipx exploits heavily. IIRC it had to do primarily with the python path resolution. If it works on vanilla nox now, that is great. I have been stressing about my custom nox branch for a while, so I am happy to delete it if things are working now. |
The |
How would this feature be useful?
If we switched to regular nox (and not @cs01's) fork we could normalize our flow and take advantage of nox development and bug fixes.
Describe the solution you'd like
The comment in
noxfile.py
says to use @cs01's fork of nox...Currently nox wntrblm/nox#199 is closed, and a patch (wntrblm/nox#231) merged. nox has option
@nox.session(venv_backend='venv')
that can allow the use of avenv
backend.Can we switch to this now? Is there any reason to keep using the special fork of nox?
Describe alternatives you've considered
Alternative would be to keep doing what we're doing. However I'm starting to wonder how stale the special fork of nox is getting.
The text was updated successfully, but these errors were encountered: