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.

Test PyPI should include the `--index-url` argument for the pip install command.

See original GitHub issue

What’s the problem this feature will solve? Copy-pasting the pip install command on Test PyPI won’t actually install from Test PyPI

Describe the solution you’d like instead of pip install package_name we should show pip install --index-url https://test.pypi.org/simple/ package_name

Additional context It would also be super awesome if pip just had an alias for this, e.g. pip install --with-test-pypi package_name.


Good First Issue: This issue is good for first time contributors. If you’ve already contributed to Warehouse, work on another issue without this label instead. If there is not a corresponding pull request for this issue, it is up for grabs. For directions for getting set up, see our Getting Started Guide. If you are working on this issue and have questions, feel free to ask them here, #pypa-dev on Freenode, or the pypa-dev mailing list.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
nlhkabucommented, Jul 28, 2018

ah, yes sorry. I will remove this from the sprint list. my mistake!

0reactions
dicommented, Oct 28, 2018

Fixed in #4941.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using TestPyPI - Python Packaging User Guide
You can upload your distributions to TestPyPI using twine by specifying ... python3 -m pip install --index-url https://test.pypi.org/simple/ your-package.
Read more >
pip install - pip documentation v22.3.1
Description#. Install packages from: PyPI (and other indexes) using requirement specifiers. VCS project urls. Local project directories.
Read more >
Command-line arguments to pip install should take ... - GitHub
we have a custom PyPI server and the requirements file contains the --index-url; I wanted to install the project on a system without...
Read more >
Using pip with two --extra-index-url arguments that both point ...
By specifying one of the --extra-index-url s as the --index instead, and adding PyPI as an --extra-index-url , I was able to download...
Read more >
Using Python's pip to Manage Your Projects' Dependencies
The pip command looks for the package in PyPI, resolves its dependencies, and installs everything in your current Python environment to ...
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