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.

Where nox should be installed

See original GitHub issue

In the second chapter of Hypermodern Python you use pip install --user --upgrade nox to install nox did you do this inside the virtualenvironment created by poetry? OR you deactivate the virtualenvironment and install globally nox?

If you did it inside poetry virtualenvironment you use pip instead of poetry so that it doesn’t stay in the pyptoject.toml packages?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

cjolowiczcommented, Jul 11, 2020

@wanderrful This is a known issue. Please see (which has further links).

cjolowiczcommented, Jul 3, 2020

You create in each run of your session the file requirements.txt and then install with pip -r? or do you create it once with poetry and then use it every session, and update it every time you install new modules?

The requirements.txt file is generated every time the session is run. It is not installed with pip install -r. Dependencies are installed with pip install <package>, but the requirements.txt file is passed as a constraints file via the --constraint option. This ensures that the versions in the constraints file are used for all dependencies and subdependencies. In other words, we selectively install packages instead of the entirety of dependencies, but honor the version pins for all dependencies.

Note that pylint and the plugins are also installed in the Poetry environment. So if you just need to quickly lint some files, you can always poetry run pylint. Use Nox to run full checks in a repeatable way in isolated environments. Use the Poetry environment to interact with your package during development, and to quickly run one-off checks and tasks.

A third option is to run pylint via pre-commit. This will check files staged for a commit, and only perform installs the first time the check runs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tutorial — Nox 2022.11.21 documentation
Now that you've installed Nox and have a Noxfile you can run Nox! Open your project's directory in a terminal and run nox...
Read more >
NOX App Player installation & configuration tutorial (Android ...
... installation & configuration tutorial for PC Windows 10 (Android Emulator) download here: This will ...
Read more >
Nitrogen Oxides Control Regulations | New England | US EPA
These emissions can be reduced by making process changes (such as ... of 1990 required major stationary sources of NOx to install and ......
Read more >
How to Download and Install NoxPlayer on Windows?
Step 1: Go to the official website of NoxPlayer and click on the download button. ... Step 2: Go to your downloads ......
Read more >
How to Install Android NoxPlayer Emulator on Windows PC
Choose the checkbox I have read and accept the Nox agreement. · NoxAppPlayer installation is in progress. · Android NoxAppPlayer installed ...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found