pip
pip copied to clipboard
Implement PEP 708
Implement PEP 708 - "Extending the Repository API to Mitigate Dependency Confusion Attacks".
Allows pip to use Repository "Tracks" Metadata and "Alternate Locations" Metadata.
Releates to #11784
A simple beginning, to check that my understanding is reasonable.
I plan, but do not promise, to continue working on this as I am able.
FYI, you can't use modern typing in Pip while Pip still supports Python 3.8, e.g. set[str] needs to be from typing import Set; Set[str]
I'm no longer able to work on this PR. Someone else is welcome to take it over, or it can be closed.
Thanks @cofiem for letting us know, I will relay this back to the discussion community to see if someone else is sufficiently motivated to impelemt this,
Thanks @cofiem - I'll be honest, I hadn't realised that PyPI had implemented PEP 708 (thanks for your work doing that as well!) so I assumed this was relatively low priority. That's my mistake, for which I apologise. Hopefully someone else can pick this up and build on the work you've done.
Hi @cofiem please don't close this PR I believe I maybe interested in helping to land this PR.
please don't close this PR I believe I maybe interested in helping to land this PR.
You're welcome to open a new PR with existing and/or new commits.