-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
PEP 778: Supporting Symlinks in Wheels #3786
base: main
Are you sure you want to change the base?
Conversation
Hi Emma! We normally assign the next available PEP numbers (for example, 747), what's the justification for jumping up to 777? @warsaw Please can you confirm you're sponsoring the second PEP here ("Supporting Symlinks in Wheels")? And we need a sponsor for the first one ("Reinventing the Wheel (Wheel 2.0)" - excellent title btw!). @warsaw Will you sponsor this one as well? And for next time, we normally don't open a PEP discussion thread (https://discuss.python.org/t/pep-778-supporting-symlinks-in-wheels/53824) until after the draft PEP has been merged into the repo - it means a first pass review and fixes can be made, but more importantly, means we have a stable PR for people to review. We've had situations where people were still looking at the old PR preview even after merge and subsequent PR updates. |
Hey Hugo! Sorry! I selected 777 because I expect a series of related PEPs (wheel 2.0) and I wanted to have their numbers grouped together (like 482, 483, 484), if someone puts a new PEP up between now and when I get to writing the other PEPs, it would break the grouping. I posted to discuss to get feedback on 778 while I work on 777. Sorry for not following the process I'll try to follow it more closely in future. |
Confirmed! |
Just to be explicit, yes I'll sponsor this one as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please could you copy the "New PEP" template into the PR message and check them off?
https://github.com/python/peps/blob/main/.github/PULL_REQUEST_TEMPLATE/Add%20a%20new%20PEP.md
For example, please also add Barry to the CODEOWNERS file for these.
symlinks are unsupported on the platform, and explain why installation has failed. | ||
|
||
For people building libraries, documentation on ``packaging.python.org`` should describe the use | ||
cases and caveats (especially platform suppport) of symlinks in wheels. Otherwise it should be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cases and caveats (especially platform suppport) of symlinks in wheels. Otherwise it should be | |
cases and caveats (especially platform support) of symlinks in wheels. Otherwise it should be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was there a change you wanted to suggest here? I don't see any diff.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what happened there! Edited to remove the third P in "suppport".
Co-authored-by: Hugo van Kemenade <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
EDIT: this was indeed raised in the Discourse thread already. For symlinks - have you looked at the approach @njsmith took for pybi and the rationale for it? https://github.com/njsmith/posy/blob/main/pybi/README.md#symlinks They are stored both as actual symlinks in the zip file with one of the common extensions for representing them, and as metadata in the RECORD file. This means that if you're just using a naive zip tool (e.g. In general I think it would be good to unify wheel 2.0 with pybi as far as possible / make it so that the pybi format doesn't need to exist and it's just wheel 2.0. (BTW - are you all still at sprints?) (Also should I be commenting here or on the Discourse thread?) |
Discourse for more general discussion like this, thanks. |
Co-authored-by: Hugo van Kemenade <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
The PEP has been split out into python#4036
Ah, this won't build cleanly until 777 is merged in. I'll make sure to update the MR after that so it builds correctly. Also, I've added the checklist template to the original message. |
(Merge conflict resolved) 777 is now merged, where are we up to with this 778? |
Posting here to reserve the PEP numbers and posting the text of PEP 778 to share on discuss.
Basic requirements (all PEP Types)
PEP has next available number,& set in filename (pep-NNNN.rst
), PR title (PEP 123: <Title of PEP>
) andPEP
headerAuthor
orSponsor
, and formally confirmed their approvalAuthor
,Status
(Draft
),Type
andCreated
headers filled out correctlyPEP-Delegate
,Topic
,Requires
andReplaces
headers completed if appropriate.github/CODEOWNERS
for the PEPStandards Track requirements
Discussions-To
andPost-History
📚 Documentation preview 📚: https://pep-previews--3786.org.readthedocs.build/pep-0778/