-
-
Notifications
You must be signed in to change notification settings - Fork 137
Clarify version policy #777
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
Changes from 1 commit
4549145
0dc7b85
e29b457
fa0a703
7bb48d2
8e6ce74
d057821
55d3b7e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,9 +25,11 @@ Starting with version 4.0.0, `typing_extensions` uses | |
| for more detail. | ||
|
|
||
| ## Development version | ||
| After a release the version is increased once in [pyproject.toml](/pyproject.toml) and | ||
| appended with a `.dev` suffix, e.g. `4.0.1.dev`. | ||
| Further subsequent updates are not planned between releases. | ||
|
|
||
| After a release the patch version is increased in [pyproject.toml](/pyproject.toml) and | ||
| appended with a `.dev0` suffix, e.g. `4.0.1.dev0`. | ||
|
|
||
| When a new feature is added we will increase the minor version once between releases. For example, from 4.0.1.dev0 to 4.1.0.dev0. | ||
|
|
||
| # Type stubs | ||
|
|
||
|
|
@@ -111,4 +113,4 @@ pipx run pre-commit run -a | |
| - Release automation will finish the release. You'll have to manually | ||
| approve the last step before upload. | ||
|
|
||
| - After the release has been published on PyPI upgrade the version in number in [pyproject.toml](/pyproject.toml) to a `dev` version of the next planned release. For example, change 4.1.1 to 4.X.X.dev, see also [Development versions](#development-version). # TODO decide on major vs. minor increase. | ||
| - After the release has been published on PyPI upgrade the version in number in [pyproject.toml](/pyproject.toml) to a `dev` version of the next planned release. For example, change 4.1.1 to 4.1.2.dev0, see also [Development versions](#development-version). | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the "next planned release" language here is a bit confusing, no? We never plan to do a patch release; we only make a patch release if there was a bug in the latest minor release. But as your helpful example later on makes clear, we should really bump the version from Also, what do we do for It would be really helpful to have explicit examples for what to do after an
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've added some more examples and guidance. This seems fairly complex, but it really isn't. Before a release: Make sure the version number makes sense. After a release: Bump patch and add
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So if we just released 4.1.1, when would we go to 4.2dev0 instead of 4.1.2dev0?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we could (should?) bump the version to
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Alternatively we could always bump the minor version after a release and use a separate branch from the last release when we need to do a patch release. (In my opinion the best solution for semver projects with frequent changes, but probably a bit too complicated for typing-extensions).
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I guess that makes sense, but I don't feel excited about having to think every time we land a PR about whether the change is significant enough to warrant bumping the version number
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In practice, you will recheck that before making the next release anyway, so that's not super-critical. |
||
Uh oh!
There was an error while loading. Please reload this page.