-
Notifications
You must be signed in to change notification settings - Fork 237
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
prepare release 3.10.0.0 #805
Changes from all commits
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[tox] | ||
envlist = py27, py34, py35, py36 | ||
envlist = py27, py34 | ||
|
||
[testenv] | ||
changedir = src | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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, | ||
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. Off topic: I see #247 and python/cpython#16204 saying typing became implicitly non-provisional in 3.7 because no new features were added, but PEP 484 still says 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. Good catch, I opened python/peps#1942 to fix it. |
||
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``. | ||
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. And also IntVar, which still doesn't have a PEP proposing it. |
||
|
||
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. | ||
''' | ||
|
@@ -43,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', | ||
] | ||
|
||
|
@@ -57,7 +59,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='[email protected]', | ||
url='https://github.com/python/typing/blob/master/typing_extensions/README.rst', | ||
license='PSF', | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if it's too early to also add to the
classifiers
list below this the following classifier:'Programming Language :: Python :: 3.10',
while you're at it?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I was thinking about that. Let me just run the test suite on current CPython master to be sure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope I didn't do any double work here, but FWIW, the latest CPython master runs the tests with no errors on my machine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!