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

Implement PEP 708 #12813

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Implement PEP 708 #12813

wants to merge 7 commits into from

Conversation

cofiem
Copy link

@cofiem cofiem commented Jun 30, 2024

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

@cofiem
Copy link
Author

cofiem commented Jun 30, 2024

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.

@notatallshaw
Copy link
Member

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]

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

Successfully merging this pull request may close these issues.

2 participants