-
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 failed to load dependencies on some sdist #9272
Labels
Comments
isra17
added
kind/bug
Something isn't working as expected
status/triage
This issue needs to be triaged
labels
Apr 4, 2024
Hum, I did run the command refered and upgraded my poetry instance and I still have the same issue:
|
I expect you did not clear your cache |
I did clear my poetry cache. Let me try in a docker container to make sure. |
Deleted the wrong cache. This fixed it. Thanks! |
This was referenced Apr 6, 2024
This was referenced Apr 27, 2024
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.
Labels
Description
Using a custom Pypi repository (Codeartifact) I stumbled into a dependency errors while moving to Pants. As it turns out, Poetry wasn't installing one of our package (
opentelemetry-api
) proper dependencies. I was able to reproduce with Pypi, by using a custom repository with Pypi legacy API (https://pypi.org/simple
).When installing
opentelemetry-api
using the custom repository without the JSON API, none of its dependencies are installed:Running
poetry lock
shows similar issue:Workarounds
I suppose I can manually add each dependency. I was able to catch one package having this issue, but how many of them have the same issue?
Poetry Installation Method
pip
Operating System
MacOS
Poetry Version
Poetry (version 1.5.1)
Poetry Configuration
Python Sysconfig
No response
Example pyproject.toml
Poetry Runtime Logs
The text was updated successfully, but these errors were encountered: