From 05368919636e74232e94a61c7d1ae9fb5d38cc88 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Fri, 30 Apr 2021 18:26:53 -0700 Subject: [PATCH 1/2] prepare release 3.10.0.0 --- setup.py | 2 +- tox.ini | 2 +- typing_extensions/setup.py | 23 ++++++++++++----------- 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/setup.py b/setup.py index 6fc7c4747..49578939c 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ 'to install the typing package.\n') exit(1) -version = '3.7.4.3' +version = '3.10.0.0' description = 'Type Hints for Python' long_description = '''\ Typing -- Type Hints for Python diff --git a/tox.ini b/tox.ini index 1cfaa550b..750c38ff7 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27, py34, py35, py36 +envlist = py27, py34 [testenv] changedir = src diff --git a/typing_extensions/setup.py b/typing_extensions/setup.py index 023ab3983..50bd52a92 100644 --- a/typing_extensions/setup.py +++ b/typing_extensions/setup.py @@ -9,23 +9,24 @@ 'to install the typing package.\n') exit(1) -version = '3.7.4.3' +version = '3.10.0.0' description = 'Backported and Experimental Type Hints for Python 3.5+' long_description = '''\ Typing Extensions -- Backported and Experimental Type Hints for Python -The ``typing`` module was added to the standard library in Python 3.5 on -a provisional basis and will no longer be provisional in Python 3.7. However, -this means users of Python 3.5 - 3.6 who are unable to upgrade will not be +The ``typing`` module was added to the standard library in Python 3.5, but +many new features have been added to the module since then. +This means users of Python 3.5 - 3.6 who are unable to upgrade will not be able to take advantage of new types added to the ``typing`` module, such as -``typing.Text`` or ``typing.Coroutine``. +``typing.Protocol`` or ``typing.TypedDict``. -The ``typing_extensions`` module contains both backports of these changes -as well as experimental types that will eventually be added to the ``typing`` -module, such as ``Protocol`` or ``TypedDict``. +The ``typing_extensions`` module contains backports of these changes. +Experimental types that will eventually be added to the ``typing`` +module are also included in ``typing_extensions``, such as +``typing.ParamSpec`` and ``typing.TypeGuard``. -Users of other Python versions should continue to install and use -the ``typing`` module from PyPi instead of using this one unless specifically +Users of Python versions before 3.5 should install and use +the ``typing`` module from PyPI instead of using this one, unless specifically writing code that must be compatible with multiple Python versions or requires experimental types. ''' @@ -57,7 +58,7 @@ version=version, description=description, long_description=long_description, - author='Guido van Rossum, Jukka Lehtosalo, Lukasz Langa, Michael Lee', + author='Guido van Rossum, Jukka Lehtosalo, Ɓukasz Langa, Michael Lee', author_email='levkivskyi@gmail.com', url='https://github.com/python/typing/blob/master/typing_extensions/README.rst', license='PSF', From ec8aeb33c6130a0b45dfd634cc3368c40403225d Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Sat, 1 May 2021 10:29:20 -0700 Subject: [PATCH 2/2] also support 3.10 --- typing_extensions/setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/typing_extensions/setup.py b/typing_extensions/setup.py index 50bd52a92..7b1611cb8 100644 --- a/typing_extensions/setup.py +++ b/typing_extensions/setup.py @@ -44,6 +44,7 @@ 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', 'Topic :: Software Development', ]