-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
poetry does not prefer custom repository but docs say it does #2564
Labels
kind/bug
Something isn't working as expected
Comments
MrGreenTea
added
kind/bug
Something isn't working as expected
status/triage
This issue needs to be triaged
labels
Jun 16, 2020
linw1995
added a commit
to linw1995/poetry
that referenced
this issue
Jul 16, 2020
2 tasks
3 tasks
abn
added a commit
to abn/poetry
that referenced
this issue
Oct 19, 2020
When a project specifies non default sources, PyPI gets added as the default source. This will prioritise packages available in PyPI when the package exists in both index. This change ensures that PyPI is only used as a default when no other sources are provided. Resolves: python-poetry#1677 python-poetry#2564 python-poetry#3238
abn
added a commit
to abn/poetry
that referenced
this issue
Oct 19, 2020
When a project specifies non default sources, PyPI gets added as the default source. This will prioritise packages available in PyPI when the package exists in both index. This change ensures that PyPI is only used as a default when no other sources are provided. Resolves: python-poetry#1677 python-poetry#2564 python-poetry#3238
abn
added a commit
to abn/poetry
that referenced
this issue
Oct 19, 2020
When a project specifies non default sources, PyPI gets added as the default source. This will prioritise packages available in PyPI when the package exists in both index. This change ensures that PyPI is only used as a default when no other sources are provided. Resolves: python-poetry#1677 python-poetry#2564 python-poetry#3238
abn
added a commit
to abn/poetry
that referenced
this issue
Oct 23, 2020
When a project specifies non default sources, PyPI gets added as the default source. This will prioritise packages available in PyPI when the package exists in both index. This change ensures that PyPI is only used as a default when no other sources are provided. Resolves: python-poetry#1677 python-poetry#2564 python-poetry#3238
Resolved with |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
-vvv
option).Issue
When adding a custom repository that contains a package that also exists on pypi.org, it will be downloaded from pypi.org.
My use case is adding a wheel for typed-ast to my custom repo that works on windows and python 3.9, as such a wheel is not provided on pypi.org yet.
Sadly this does not work and installation on windows fails.
In the docs it says
The wheel also does not appear in
poetry.lock
:When I set my custom repository as default and add pypi.org as secondary, it works:
With that the
poetry.lock
contains:The text was updated successfully, but these errors were encountered: