Skip to content

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]

@cofiem
Copy link
Author

cofiem commented Jan 17, 2025

I'm no longer able to work on this PR. Someone else is welcome to take it over, or it can be closed.

@notatallshaw
Copy link
Member

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,

@pfmoore
Copy link
Member

pfmoore commented Jan 17, 2025

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.

@atalman
Copy link

atalman commented Mar 14, 2025

Hi @cofiem please don't close this PR I believe I maybe interested in helping to land this PR.

@notatallshaw
Copy link
Member

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.

@notatallshaw notatallshaw added the state: up for grabs (PR) Good idea, but needs a new champion as the PR author is busy or unreachable. label Aug 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:chronographer:provided state: up for grabs (PR) Good idea, but needs a new champion as the PR author is busy or unreachable.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants