question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can we use regular nox (and not the special native-venv nox fork?)

See original GitHub issue

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…

# until this is fixed in nox. See
# https://github.com/theacodes/nox/issues/199

Currently nox theacodes/nox#199 is closed, and a patch (theacodes/nox#231) merged. nox has option @nox.session(venv_backend='venv') that can allow the use of a venv 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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
cs01commented, Oct 2, 2020

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.

1reaction
uranusjrcommented, Sep 29, 2020

Is the venv-virtualenv distinction actually relevant now? virtualenv now uses the same mechanism as venv on Python 3.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nitrogen Oxides (NOx), Why and How They are Controlled - EPA
The use of carbon as an adsorbent has not led to a marketable product, but it is sometimes used to limit NOx emissions...
Read more >
A Beginner's Guide to NOx, NO and NO2 as Air Pollutants
A blog introducing the nitrogen oxide family: NOx, NO and NO2. We explain the differences and whether you should be concerned about them...
Read more >
The Chemical Aspect of NOx Scrubbing - - CR Clean Air
The symbol NOx is frequently used to represent the composite of the two. The other nitrogen oxides seldom occur in appreciable quantities and...
Read more >
Oxides of Nitrogen (NOx) - Combustion Technology
The primary nitrogen pollutants produced by combustion are nitric oxide (NO) and nitrogen dioxide (NO2) and are generally referred to collectively as NOx....
Read more >
pipx - bytemeta
Installation not pulling in optional extras-requires packages. itsayellow ... Can we use regular nox (and not the special native-venv nox fork?) itsayellow.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found