python-typing_extensions/python-typing_extensions.changes

229 lines
9.8 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-------------------------------------------------------------------
Thu Feb 23 09:31:47 UTC 2023 - Adrian Schröter <adrian@suse.de>
- update to version 4.5.0
Details can be found here: https://pypi.org/project/typing-extensions/4.5.0/
- obsoletes _typed_dict_test_helper.py hack
-------------------------------------------------------------------
Sun Nov 20 19:40:35 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Back to multibuild: remove python-testsuite from buildcycle,
because of setuptools_scm closing it at the other end.
-------------------------------------------------------------------
Mon Oct 24 18:14:28 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Clean specfile from old cruft.
- Requires Python 3.7+
- Fix testsuite: Must test as module; don't need multibuild.
- Update Summary and Description
-------------------------------------------------------------------
Tue Oct 18 12:07:27 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 4.4.0
* Add `typing_extensions.Any` a backport of python 3.11's Any class which is
subclassable at runtime. (backport from python/cpython#31841, by Shantanu
and Jelle Zijlstra). Patch by James Hilton-Balfe (@Gobot1234).
* Add initial support for TypeVarLike `default` parameter, PEP 696.
Patch by Marc Mueller (@cdce8p).
* Runtime support for PEP 698, adding `typing_extensions.override`. Patch by
Jelle Zijlstra.
* Add the `infer_variance` parameter to `TypeVar`, as specified in PEP 695.
Patch by Jelle Zijlstra.
-------------------------------------------------------------------
Mon Sep 5 06:47:51 UTC 2022 - John Vandenberg <jayvdb@gmail.com>
- Add _typed_dict_test_helper.py missing from PyPI release
- Update to v4.3.0
* Add typing_extensions.NamedTuple, allowing for generic NamedTuples
on Python <3.11 (backport from python/cpython#92027, by Serhiy Storchaka)
* Adjust typing_extensions.TypedDict to allow for generic TypedDicts
on Python <3.11 (backport from python/cpython#27663, by Samodya Abey)
-------------------------------------------------------------------
Wed Apr 20 09:54:10 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 4.2.0
* Re-export `typing.Unpack` and `typing.TypeVarTuple` on Python 3.11.
* Add `ParamSpecArgs` and `ParamSpecKwargs` to `__all__`.
* Improve "accepts only single type" error messages.
* Improve the distributed package. Patch by Marc Mueller (@cdce8p).
* Update `typing_extensions.dataclass_transform` to rename the
`field_descriptors` parameter to `field_specifiers` and accept
arbitrary keyword arguments.
* Add `typing_extensions.get_overloads` and
`typing_extensions.clear_overloads`, and add registry support to
`typing_extensions.overload`. Backport from python/cpython#89263.
* Add `typing_extensions.assert_type`. Backport from bpo-46480.
* Drop support for Python 3.6. Original patch by Adam Turner (@AA-Turner).
- from version 4.1.1
* Fix importing `typing_extensions` on Python 3.7.0 and 3.7.1. Original
patch by Nikita Sobolev (@sobolevn).
- from version 4.1.0
* Runtime support for PEP 646, adding `typing_extensions.TypeVarTuple`
and `typing_extensions.Unpack`.
* Add interaction of `Required` and `NotRequired` with `__required_keys__`,
`__optional_keys__` and `get_type_hints()`. Patch by David Cabot (@d-k-bo).
* Runtime support for PEP 675 and `typing_extensions.LiteralString`.
* Add `Never` and `assert_never`. Backport from bpo-46475.
* `ParamSpec` args and kwargs are now equal to themselves. Backport from
bpo-46676. Patch by Gregory Beauregard (@GBeauregard).
* Add `reveal_type`. Backport from bpo-46414.
* Runtime support for PEP 681 and `typing_extensions.dataclass_transform`.
* `Annotated` can now wrap `ClassVar` and `Final`. Backport from
bpo-46491. Patch by Gregory Beauregard (@GBeauregard).
* Add missed `Required` and `NotRequired` to `__all__`. Patch by
Yuri Karabas (@uriyyo).
* The `@final` decorator now sets the `__final__` attribute on the
decorated object to allow runtime introspection. Backport from
bpo-46342.
* Add `is_typeddict`. Patch by Chris Moradi (@chrismoradi) and James
Hilton-Balfe (@Gobot1234).
- from version 4.0.1
* Fix broken sdist in release 4.0.0. Patch by Adam Turner (@AA-Turner).
* Fix equality comparison for `Required` and `NotRequired`. Patch by
Jelle Zijlstra (@jellezijlstra).
* Fix usage of `Self` as a type argument. Patch by Chris Wesseling
(@CharString) and James Hilton-Balfe (@Gobot1234).
- from version 4.0.0
* Starting with version 4.0.0, typing_extensions uses Semantic Versioning.
See the README for more information.
* Dropped support for Python versions 3.5 and older, including Python 2.7.
* Simplified backports for Python 3.6.0 and newer. Patch by Adam Turner (@AA-Turner).
* Added in version 4.0.0
+ Runtime support for PEP 673 and `typing_extensions.Self`. Patch by
James Hilton-Balfe (@Gobot1234).
+ Runtime support for PEP 655 and `typing_extensions.Required` and `NotRequired`.
Patch by David Foster (@davidfstr).
* Removed in version 4.0.0
The following non-exported but non-private names have been removed as they are
unneeded for supporting Python 3.6 and newer.
+ TypingMeta
+ OLD_GENERICS
+ SUBS_TREE
+ HAVE_ANNOTATED
+ HAVE_PROTOCOLS
+ V_co
+ VT_co
- Switch build system from setuptools to pyproject.toml
- Update BuildRequires from pyproject.toml
- Update execution path for testsuite script
-------------------------------------------------------------------
Sat Nov 13 20:42:04 UTC 2021 - Dirk Müller <dmueller@suse.com>
- Update to 3.10.0.2:
* Docs improvements
* Fixes crash and _GenericAlias import
* Support most use cases for PEP 612 with Generic
-------------------------------------------------------------------
Mon Jul 12 13:11:30 UTC 2021 - Markéta Machová <mmachova@suse.com>
- Update to 3.10.0.0
* Implement TypeGuard (PEP 649)
* backport ParamSpecArgs/Kwargs
* Fixed required/optional keys with old-style TypedDict
* Bring in protocols __init__ behaviour same like in python > 3.8
* Support PEP 612 in typing_extensions (Python 3)
* Add OrderedDict to typing_extensions
-------------------------------------------------------------------
Tue Jan 12 16:06:44 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
- Test in separate multibuild flavor to break depcycles with full
python stdlib
-------------------------------------------------------------------
Tue Jan 12 14:44:39 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
- clean requirements specifications for python flavors
-------------------------------------------------------------------
Sun Dec 20 09:11:23 UTC 2020 - Dirk Müller <dmueller@suse.com>
- add transitional typing-extensions provides
-------------------------------------------------------------------
Wed Nov 4 00:11:53 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Use python_module macro for BuildRequires when available.
-------------------------------------------------------------------
Thu Oct 15 12:51:36 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to version 3.7.4.3:
* enables PEP 613 Typealias to typing_extensions
* Fix tests for Python 3.9
-------------------------------------------------------------------
Mon Apr 6 08:53:23 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- update to version 3.7.4.2
* official support for Python 3.8 and 3.9
-------------------------------------------------------------------
Thu Mar 12 07:52:02 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix build without python2 available
-------------------------------------------------------------------
Wed Nov 6 17:15:46 UTC 2019 - Lars Vogdt <lars@linux-schulserver.de>
- Update to version 3.7.4.1:
+ Fix isinstance() with generic protocol subclasses after subscripting
+ Fix tests for non-default interpreters
+ Use environment marker to specify typing dependency
+ Fix unions of protocols on Python 2
-------------------------------------------------------------------
Sun Jul 21 17:04:41 UTC 2019 - Sebastian Wagner <sebix+novell.com@sebix.at>
- Update to version 3.7.4:
- No changelog available.
- Drop test-sys-executable.patch, merged upstream.
-------------------------------------------------------------------
Sat Mar 2 14:11:52 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Rebase the patch to the current git state
-------------------------------------------------------------------
Sat Mar 2 02:47:44 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Add support for Python <3.5, using upstream commit as
test-sys-executable.patch to fix the tests, replacing custom sed.
- Remove unnecessary buid dependency on pytest and pytest-xdist
-------------------------------------------------------------------
Thu Feb 28 09:01:37 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Drop the old tarball
-------------------------------------------------------------------
Thu Feb 28 04:57:58 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Replace test_modules.tar.gz with python-testsuite
- Remove fix_tests.patch which is half fixing test_modules.tar.gz,
and the other half is replaced with a less brittle sed.
- Remove unnecessary build dependencies
- Update to 3.7.2
* Pass *args and **kwargs to superclass in Generic.__new__
* Fix for issue #524
* Fix typing_extensions to support PEP 560
* Add annotations to NamedTuple children __new__ constructors
* Add missing 'NoReturn' to __all__ in typing.py
* Backport Generic.__new__ fix
* Fix IO.closed to be property
* Add Final to typing_extensions
* Fix instance/subclass checks of functions against runtime protocols
* Add Literal[...] types to typing_extensions
-------------------------------------------------------------------
Tue Oct 23 10:24:22 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Initial effort to package typing_extensions-3.6.6