Replies: 1 comment 1 reply
-
|
FYI, the extension works with the experimental resolver disabled :( |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello poetry community 👋, I am trying to write a poetry plugin that reads pypi indices from a pip.conf file and sets them as source repositories, see here
What I am observing is that the experimental installer (which is fast and nice) fails if a package (in this example
pycparser) cannot be found in one of the repos provided. In my casepoetry install,poetry self updateor any command that tries to look for packages trips up when trying to look forpycparserinhttps://test.pypi.org/simpleas it is not available there. I would have expected poetry to work like pip on this case, i.e. if it cannot find a package in theindex-url, try in any of theextra-index-urlindices and stop looking once you find one that is satisfies your conditions.But unfortunately that does not happen:
Find full log of `poetry self update` below
What I find fascinating is that in the log above it clearly scans all repos when resolving dependencies as it displays statements like:
or
but then it fails to install at the install step:
Beta Was this translation helpful? Give feedback.
All reactions