-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
The yanked
flag should not be ignored
#146
Comments
Thanks for the report! Sounds like it's probably a quick fix. |
Thanks for the report. The Simple JSON API contains "yanked" flag, so it would be possible to use that flag to skip the package. Are you interested in making a PR? |
Thanks, yes I would like to give it a try. |
I drafted a PR. Can you take a look? |
Sorry but implementing https://peps.python.org/pep-0592/#installers into the current code would be complicated and requires more code changes, and I think the core maintainer should do it. |
@whitphx Sure. Thanks for the code pointer. Let me take it over and have a look |
Currently
micropip.install()
ignores theyanked
flag and even installs the yanked version.For example, as of 2024-10-22,
micropip.install("python-multipart")
installs0.0.13
even though the version is yanked.As a reference,
pip
deals with theyank
flag properly, as the yankedpython-multipart==0.0.13
is ignored as below for example.The text was updated successfully, but these errors were encountered: