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.

Support --(extra-)index-url when importing from requirements.txt

See original GitHub issue

While there a multiple related closed issues, I’m unclear about what the last stance on supporting --(extra-)index-url when importing from requirements.txt is. IMO, it’s am important migration scenario to support these to help adoption of pipenv. Also, it should be pretty much straight forward to add. If -i or --index-url is present in requirements.txt, the default [[source]] URL of https://pypi.python.org/simple in Pipfile should be replaced with whatever is given as the index URL. If one or more --extra-index-url are present, there should be additional [[source]] URLs pointing at the given locations.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

4reactions
iamkhushcommented, Feb 16, 2018

It would be nice to have --extra-index-url or --index-url parsed and added to the source automatically.

Read more comments on GitHub >

github_iconTop Results From Across the Web

extra-index-url in requirements.txt · Issue #8103 · pypa/pip
I suspect that the PipSession being built is only being populated with the index URLs from the command line, not the ones from...
Read more >
ubuntu - --extra-index-url not work in python requirements.txt
I try to download this package: echo --extra-index-url https://google-coral.
Read more >
Installing private Python packages
We use --extra-index-url to allow pip to keep the original Index URL. This allows pip to implicitly install public packages that your private...
Read more >
Specifying dependencies in Python | Cloud Functions ...
Dependencies in Python are managed with pip and expressed in a metadata file ... --extra-index-url ... Import from this module to use your...
Read more >
Python developer reference for Azure Functions
Both Python Functions programming models support local ... tells the remote build to run pip install by using the --extra-index-url option.
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