-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Release 21.2.0 #1514
Release 21.2.0 #1514
Conversation
'python -m incremental' does not work
|
I guess I need to make the same comment again :) We shouldn't be running the lint step to check for news fragments on the release branch, since there really shouldn't be any. |
a4264ad
to
1b79c41
Compare
|
@glyph In this section: https://github.com/twisted/twisted/blob/release-21.2.0-10091/docs/core/development/policy/release-process.rst#post-release The release document mentions to reset the version to $RELEASE.dev In https://www.python.org/dev/peps/pep-0440/ , the example they give is: |
|
@glyph also, if I run this command: It bumps the version to post0: Is post0 a valid pep440 version? If I read: https://www.python.org/dev/peps/pep-0440/#post-releases For dev releases: https://www.python.org/dev/peps/pep-0440/#developmental-releases it also states: But the example the give, while it shows Is incremental doing the right thing with the I'm not sure. |
|
I'm no authority on versioning, Black being a great example why nobody should be listening to me in this matter. However, since @rodrigc asked me for feedback: in my opinion This looks like one of those cases where having listed examples raises new questions beyond the actual text. PEP 8 in particular is great at this 😬 |
|
@ambv thanks for your feedback. I just needed an extra pair of eyes/opinion. :) I will make a slight change in the Twisted release docs for the post-release steps to use a |
…sted into release-21.2.0-10091
|
Oh sheesh, looks like there is a bug in incremental: |
|
I added postrelease support to incremental in twisted/incremental#37, but there's been no release of incremental since then. |
|
@cjwatson Just to confirm. https://pypi.org/project/incremental/ shows that 17.5.0 was the last released version of Your patch twisted/incremental#37 was merged into incremental in September 2019. So we need to do a new release of incremental to get your fix. Does that sound right? |
|
@rodrigc That's my understanding, though I have no idea what else might be involved. |
|
@cjwatson I confirmed your Do you know how I can update the Pypi release at https://pypi.org/project/incremental/ ? |
|
@hawkowl is the only person with maintainer permissions there at present, so she'll need to either give you permissions or do the release herself. Generally speaking, one releases to PyPI roughly as follows:
I really can't speak to whether there are any project-specific procedures around incremental that would need to be followed here, though. |
|
@cjwatson Hmm, @hawkowl hasn't been in contact for some months, so it may take some time to get access to this Pypi repo. As a short term workaround, do you think I could put an entry in https://github.com/twisted/twisted/blob/trunk/setup.cfg#L31 Do you know the syntax for that offhand? |
|
@rodrigc Sorry, I have to bow out of the conversation at this point as I don't know the answers to your questions. |
|
@cjwatson I was just given access to the Pypi repository for Twisted incremental. I just did a 21.3.0 release which has your patches for PEP 440 compliant post release support. I'm going to use that version in this PR. Thanks for your submission, and sorry it took so long to get it released! |
0f0350a
to
51ac9ac
Compare
|
@rodrigc — So I think the intent of PEP 440 is that "post" releases are those made to fix artifact or docs issues and generally don't change the code, making them a poor choice semantically for what we want here. The idea is that when you release X.Y.Z, you switch your source tree to be versioned as However, with @ambv's blessing - and I want to be clear, this conclusion is 100% his fault - I think we should flout this convention and go with Hey @hynek just flagging this for you too in case it's relevant to your new career as a full-time SemVer thought leader |
To rephrase my comment above: "yes" |
|
Untagging myself because anyone should be able to review this and I've had a lot of questions personally directed at me this week so hopefully something that someone else can do, someone else will do :) |
Trac link: https://twistedmatrix.com/trac/ticket/10091