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.

Add an option to specify custom python3 requirements for virtualenv

See original GitHub issue

Hello,

Currently I am using netbox reports which are using the DNS python library. So I need to install this python library directly in the netbox virtualenv. I saw this variable netbox_pip_constraints which is in a template but there is not task to install this template. When we will agree with this feature, I am able to implement it if you want.

Regards.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
laecommented, May 2, 2020
  • I’m going to force-push an amended commit (didn’t force push b/c I’d already merged something into it), so I can take care of this and the doc updates needed.
  • I just need a confirmation that upgrading from 2.7 to 2.8 works fine - I may get to this soon (I don’t have access to an existing install currently so I need to make one), but if anyone else confirms it, it’ll be merged and released.
0reactions
laecommented, Jun 10, 2020

Can you provide reasoning for that? If you’re just using an older version of NetBox, you can just set netbox_stable_version to that version and use 1.0.0. There aren’t any breaking changes (or well, there shouldn’t be) in 1.0.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

venv — Creation of virtual environments — Python 3.11.1 ...
A virtual environment is created on top of an existing Python installation, known as the virtual environment's “base” Python, and may optionally be...
Read more >
Installing and using virtualenv with Python 3
Overview Virtualenv is a tool used to create an isolated Python environment. ... You must first install a custom version of Python 3....
Read more >
python - Creating a virtualenv with preinstalled packages as in ...
Typically the steps you always takes are: git clone <repo>; cd <repo>; pip install virtualenv (if you don't already have virtualenv installed); virtualenv...
Read more >
Use Virtualenv to customize Python - IU KB - Indiana University
Following are instructions for using Virtualenv to set up and customize personal Python spaces on IU's research supercomputers.
Read more >
Create Virtual Environment using “virtualenv” and add it to ...
You can get it by running pip install virtualenv . It works by making an exact copy of your Python interpreter binary (the...
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