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

Consider removing per-release JSON files #125

Open
chriskuehl opened this issue Aug 9, 2023 · 1 comment
Open

Consider removing per-release JSON files #125

chriskuehl opened this issue Aug 9, 2023 · 1 comment

Comments

@chriskuehl
Copy link
Owner

I added support for the per-release JSON API (e.g. /pypi/requests/1.0.0/json) in the hopes that tools like Poetry could use it to quickly fetch dependencies during dependency resolution without needing to download the entire wheel, but they never supported this for internal registries anyway (python-poetry/poetry#5337).

I later added the --no-per-release-json argument to allow disabling this since it introduces a huge number of new files per release which slows down registry generation a lot.

I think we should probably just remove that feature entirely (or at the very least disable it by default), especially with PEP658 now adopted which I'm going to add support for soon. It's a better way to achieve the same goal and will actually be supported by tools going forward.

@asottile
Copy link
Collaborator

asottile commented Aug 9, 2023

yeah we delete all these files too so I'm fine to just kill the feature entirely

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants