-
-
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 715: Disabling bdist_egg distribution uploads on PyPI #3161
Conversation
Signed-off-by: William Woodruff <william@yossarian.net>
Signed-off-by: William Woodruff <william@yossarian.net>
Signed-off-by: William Woodruff <william@yossarian.net>
Signed-off-by: William Woodruff <william@yossarian.net>
Signed-off-by: William Woodruff <william@yossarian.net>
Signed-off-by: William Woodruff <william@yossarian.net>
Apparently GH issues are not supported. Signed-off-by: William Woodruff <william@yossarian.net>
Signed-off-by: William Woodruff <william@yossarian.net>
Signed-off-by: William Woodruff <william@yossarian.net>
Signed-off-by: William Woodruff <william@yossarian.net>
Hey @woodruffw , could you please avoid renaming the file back and forth in the future? It obsoletes all reviewer comments and suggestions, and will furthermore make comments on in-flight reviews completely disappear into the void, which I've had happen to my half-dozen review suggestions so far twice now (which is, as you might imagine, rather frustrating 🙂). This is why we've switched to specifically asking in the new PEP checklist that instead of using a placeholder number, you just give the PEP the next available number that it would be assigned anyway (not used by a published or in-PR PEP) yourself from the get go, to avoid the need for a file name, etc. change in all but the unlikely event that your PEP number happens to conflict with another submitted around the same time, or your PEP is not approved for draft publication in its current form—in which case it is no worse than the previous situation of always having to rename at least once. Thanks! |
We should probably update PEP 1 if this is the new workflow, It still calls out:
|
I'm extremely sorry -- I hadn't realized (although should have reasonably expected) that these renames would invalidate in-flight reviews. I'll avoid any more renames for the time being; again, please accept my sincere apologies for the frustrations! Edit:
Yeah, this is what I followed, and I didn't see the checklist until @dstufft added it to my OP (thanks again!). I'll use the next-available PEP number in any subsequent PEPs I do. |
Yeah, seems there is a conflict between the checklist, PEP instructions, and the PEP numbering guidance from PEP-1:
Doesn't seem that a sequential PEP number is required. |
|
Yup, we should—as well as a similar line in PEP 12.
No worries, mistakes happen and you didn't realize—ideally GitHub should track these renames and move comments accordingly, but it doesn't. Thanks for understanding!
Yup, our oversight there, sorry! Our New PEP checklist is part of the New PEP PR template, but currently (as its an alpha GitHub feature we're testing) it does not actually work if you create the PR from the link GitHub sends you back when you
As the section states, the next sequential number is "almost always" used, with the rare historical exceptions being, as mentioned, "special" or "joke" PEPs with a clear and compelling reason to use the specific number. As far as I'm aware, while there's been a few requests for vanity numbers more recently, including by core devs, there hasn't been a compelling-enough case to deviate from the standard, established pattern in recent times, given it makes the ordering more useful, meaningful, predictable and consistent, and avoids favoritism and potential confusion as to why one PEP gets a "special" out of sequence number while another does not. |
I've never had the template actually work TBH, I'm not sure where it's supposed to show up, but I might have just always clicked the link that GitHub puts in my terminal after I push, I don't really remember. I just always copy/paste it manually out of the Does the alpha feature work if you have the "old" style pull request template? Would it make sense including a combined template until it does work? |
It shows up if you click the
Yeah, I'm used to doing that for reviews, so its not really a huge deal (unless the PRs are merged too quickly, i.e. <24 h or when I'm taking a break like I was for the past month), which is more of a potential problem with accepting/rejecting or marking Final PEPs as opposed to with New PEPs for which there's usually more than enough time to review and the requirements are better-understood and remembered.
Good question. I have no idea, honestly, because there's zero documentation anywhere, and its only enabled for this one repo so there's no way to test it besides pushing it live for everyone (it already took multiple rounds of trial and error debugging to get the current templates where they are now). We considered that option back before we had PR templates, but we didn't want it to be too cumbersome for authors among other reasons. |
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Signed-off-by: William Woodruff <william@yossarian.net>
Signed-off-by: William Woodruff <william@yossarian.net>
Signed-off-by: William Woodruff <william@yossarian.net>
I've added "Backwards Compatibility," "Security Implications," and "How To Teach This" sections per @CAM-Gerlach's recommendations: 54b4eb7 Edit: Sorry, mis-clicked the "close PR" button. |
Rather than referencing. Signed-off-by: William Woodruff <william@yossarian.net>
Signed-off-by: William Woodruff <william@yossarian.net>
Signed-off-by: William Woodruff <william@yossarian.net>
Signed-off-by: William Woodruff <william@yossarian.net>
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.
Some further followup fixes and suggestions, mostly on the added text. Otherwise, LGTM minus the rename, thanks!
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Thanks for the detailed review @CAM-Gerlach! I left two points open for resolution against what @ewdurbin was thinking here 🙂 |
Signed-off-by: William Woodruff <william@yossarian.net>
Hey, just FYI, while the GitHub UI makes it way too overly tempting, there's no need to actually need to keep merging in the latest |
Good to know, thank you! I'll avoid pressing the (tempting) merge button again 🙂 |
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Signed-off-by: William Woodruff <william@yossarian.net>
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.
LGTM now, minus the rename of the file and in the Codeowners/headers (which you can probably go ahead with now, since there are no other outstanding suggestions). Thanks!
@dstufft , did you have further comments or feedback?
I think it looks good to go for being posted for discussion. |
Signed-off-by: William Woodruff <william@yossarian.net>
Renamed and retitled! I assume I should create the discussion topic after merge? That's what PEP 1 indicates 🙂 |
Either right after or right before is OK. I normally do it right after so the file is live on the peps website. |
This is a new draft proposal for a packaging PEP.
As a high-level summary: this PEP proposes deprecating and then removing upload support for Egg distributions from PyPI, as identified by the
bdist_egg
filetype and/or the.egg
distribution filename extension.The PEP proposes a 6 month deprecation period, during which time Egg distributions will continue to be allowed. During the deprecation period, packages that upload an Egg distribution will receive an email warning them about the upcoming deprecation. At the end of the deprecation period, Egg uploads will be permanently disabled.
Existing Egg uploads will continue to be served by PyPI, and this PEP does not affect them.
Additional rationale for this PEP is present in pypi/warehouse#10653.
Basic requirements (all PEP Types)
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 PEPcc @dstufft @ewdurbin @di
📚 Documentation preview 📚: https://pep-previews--3161.org.readthedocs.build/