Skip to content

Commit 388a59d

Browse files
authored
Use Semantic Versioning for typing_extensions (#907)
Bump version to 4.0.0-pre
1 parent c15dfaa commit 388a59d

5 files changed

Lines changed: 13 additions & 3 deletions

File tree

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Changes in version 4.0.0
2+
3+
Starting with version 4.0.0, typing_extensions uses Semantic Versioning.
4+
See the README for more information.

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
include LICENSE README.rst
1+
include CHANGELOG LICENSE README.rst
22
include src_py3/typing_extensions.py
33
include src_py3/test_typing_extensions.py

README.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ the ``typing`` module from PyPi instead of using this one unless
1919
specifically writing code that must be compatible with multiple Python
2020
versions or requires experimental types.
2121

22+
Starting with version 4.0.0, ``typing_extensions`` uses
23+
`Semantic Versioning <https://semver.org/>`_. The
24+
major version is incremented for all backwards-incompatible changes, including
25+
dropping support for older Python versions. Therefore, it's safe to depend
26+
on ``typing_extensions`` like this: ``typing_extensions >=x.y, <(x+1)``,
27+
where ``x.y`` is the first version that includes all features you need.
28+
2229
Included items
2330
==============
2431

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[metadata]
2+
version = 4.0.0-pre
23
license-file = LICENSE
34

45
[options]

setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
'to install typing_extensions.\n')
1010
exit(1)
1111

12-
version = '3.10.0.2'
1312
description = 'Backported and Experimental Type Hints for Python 3.6+'
1413
long_description = '''\
1514
Typing Extensions -- Backported and Experimental Type Hints for Python
@@ -40,7 +39,6 @@
4039
]
4140

4241
setup(name='typing_extensions',
43-
version=version,
4442
description=description,
4543
long_description=long_description,
4644
author='Guido van Rossum, Jukka Lehtosalo, Łukasz Langa, Michael Lee',

0 commit comments

Comments
 (0)