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

Missing wheels (metadata.files all empty lists) #6045

Closed
3 tasks done
jstriebel opened this issue Jul 21, 2022 · 3 comments
Closed
3 tasks done

Missing wheels (metadata.files all empty lists) #6045

jstriebel opened this issue Jul 21, 2022 · 3 comments
Labels
kind/bug Something isn't working as expected

Comments

@jstriebel
Copy link
Contributor

  • I am on the latest Poetry version.

  • I have searched the issues of this repo and believe that this is not a duplicate.

  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

  • OS version and name: Debian 10.12

  • Poetry version: Tested with poetry 1.1.11, 1.1.14 and 1.2.0b3

Issue

When updating dependencies (e.g. via poetry update <my_dep>), wheels are not listed anymore under metadata.files in the poetry.lock file. At first this happened only for a single updated dependency, after clearing the pypi cache (via rm -rf ~/.cache/pypoetry/cache or poetry cache clear pypi --all) they are missing for all packages, even when wheels have been available before and listed. The same versions as before (that were not changed on pypi since) are now missing the files, poetry.lock looks like this now:



[metadata.files]
aiobotocore = []
aiohttp = []
aioitertools = []
aiosignal = []
anyio = []
appdirs = []
asciitree = []
astroid = []

I suspect that a recent change in the PyPI API might be the source of this issue:
https://discuss.python.org/t/backwards-incompatible-change-to-pypi-json-api/17154

I believe this is a critical bug, since wheels can not easily be installed anymore due to it.

PS: Thanks for all your great work with poetry! ❤️

@jstriebel jstriebel added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Jul 21, 2022
@dimbleby
Copy link
Contributor

#5970, clear your cache, retry with 1.1.14 (or 1.2.0b3), then please close - thanks

@jstriebel
Copy link
Contributor Author

Seems like I didn't update poetry properly when testing this, sorry for the duplicate. Works with proper 1.1.14 indeed, thanks!

Copy link

github-actions bot commented Mar 1, 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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

3 participants