Skip to content

Commit 4549145

Browse files
committed
Clarify version policy
We will increase the patch version after a release. The minor version is increased when features are added. Also, use `dev0` instead of `dev`, since the former is the normalized version of the latter.
1 parent f29cd28 commit 4549145

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

CONTRIBUTING.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@ Starting with version 4.0.0, `typing_extensions` uses
2525
for more detail.
2626

2727
## Development version
28-
After a release the version is increased once in [pyproject.toml](/pyproject.toml) and
29-
appended with a `.dev` suffix, e.g. `4.0.1.dev`.
30-
Further subsequent updates are not planned between releases.
28+
29+
After a release the patch version is increased in [pyproject.toml](/pyproject.toml) and
30+
appended with a `.dev0` suffix, e.g. `4.0.1.dev0`.
31+
32+
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.
3133

3234
# Type stubs
3335

@@ -111,4 +113,4 @@ pipx run pre-commit run -a
111113
- Release automation will finish the release. You'll have to manually
112114
approve the last step before upload.
113115

114-
- 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.
116+
- 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).

0 commit comments

Comments
 (0)