Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packaging Tutorial should mention that packages TestPyPI and PyPI are different sets #528

Closed
pradyunsg opened this issue Jun 27, 2018 · 2 comments
Assignees
Labels
good first issue type: bug A confirmed bug or unintended behavior

Comments

@pradyunsg
Copy link
Member

From pypa/packaging-problems#170

Packages on TestPyPI and PyPI can differ. This can result in a hard-to-debug issue where one is unable to install my-package as dependency is not available on TestPyPI. It's not clear to a first timer that this might happen and what they should do next, since doing pip install dependency would work out for them but the suggested way to test their TestPyPI package won't.

I think there's 2 possible suggestions here:

  • Using --no-deps to install the my-package and then doing pip install my-package to install dependency from PyPI.
  • Making the user manually install dependency from PyPI then installing my-package from TestPyPI.

I'd prefer the former since there's no need to manually mention the dependencies (assuming it works; I didn't check).

@theacodes theacodes self-assigned this Jun 27, 2018
@theacodes theacodes added the type: bug A confirmed bug or unintended behavior label Jun 27, 2018
@dstufft
Copy link
Member

dstufft commented Jun 28, 2018

This is probably covered long term by pypi/warehouse#2286, pypi/warehouse#918, or pypi/warehouse#726.

@pastelmind
Copy link
Contributor

I think this overlaps with #559, which was closed by #593. Should this be closed?

@chrysle chrysle closed this as completed Oct 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue type: bug A confirmed bug or unintended behavior
Projects
None yet
Development

No branches or pull requests

5 participants