a23cb0988a- update to 4.14.1: * Fix usage of typing_extensions.TypedDict nested inside other types (e.g., typing.Type[typing_extensions.TypedDict]). This is not allowed by the type system but worked on older versions, so we maintain support. with @typing_extensions.deprecated.
devel
Dirk Mueller2025-07-18 16:12:00 +00:00
fdf81fd8eeAccepting request 1291658 from devel:languages:pythonAna Guerrero2025-07-10 21:15:00 +00:00
02bba913c9- Update to 4.14.0 * Remove __or__ and __ror__ methods from typing_extensions.Sentinel on Python versions <3.10. PEP 604 was introduced in Python 3.10, and typing_extensions does not generally attempt to backport PEP-604 methods to prior versions. * Further update typing_extensions.evaluate_forward_ref with changes in Python 3.14. - from version 4.14.0rc1 * Drop support for Python 3.8 (including PyPy-3.8). Patch by Victorien Plot. * Do not attempt to re-export names that have been removed from typing, anticipating the removal of typing.no_type_check_decorator in Python 3.15. Patch by Jelle Zijlstra. * Update typing_extensions.Format, typing_extensions.evaluate_forward_ref, and typing_extensions.TypedDict to align with changes in Python 3.14. Patches by Jelle Zijlstra. * Fix tests for Python 3.14 and 3.15. Patches by Jelle Zijlstra. * Add support for inline typed dictionaries (PEP 764). Patch by [Victorien Plot](https://github.com/Viicos). * Add typing_extensions.Reader and typing_extensions.Writer. Patch by Sebastian Rittau. * Add support for sentinels (PEP 661). Patch by Victorien Plot. - Update BuildRequires from pyproject.tomlNico Krapp2025-07-10 10:41:50 +00:00
e1db99fd05Accepting request 1278841 from devel:languages:pythonAna Guerrero2025-05-23 12:27:37 +00:00
7a68043d34Accepting request 1278677 from home:glaubitz:branches:devel:languages:pythonMatej Cepl2025-05-20 14:44:18 +00:00
e71ec3240bAccepting request 1265375 from devel:languages:pythonAna Guerrero2025-04-16 18:37:04 +00:00
f28f29ee51- update to 4.13.0: * Add typing_extensions.TypeForm from PEP 747. * Add typing_extensions.get_annotations, a backport of * inspect.get_annotations that adds features specified * by PEP 649. * Backport evaluate_forward_ref from CPython * Update PEP 728 implementation to a newer version of the PEP. * Copy the coroutine status of functions and methods wrapped with @typing_extensions.deprecated. * Fix bug where TypeAliasType instances could be subscripted even where they were not generic. * Fix bug where a subscripted TypeAliasType instance did not have all attributes of the original TypeAliasType instance on older Python versions. * Fix bug where subscripted TypeAliasType instances (and some other subscripted objects) had wrong parameters if they were directly subscripted with an Unpack object.Dirk Mueller2025-03-29 09:48:10 +00:00
c74aae63c1Accepting request 1179515 from devel:languages:pythonAna Guerrero2024-06-09 18:18:48 +00:00
87314c4207- update to 4.12.2: * Fix regression in v4.12.0 where specialization of certain * generics with an overridden __eq__ method would raise errors. * Fix tests so they pass on 3.13.0b2 * Preliminary changes for compatibility with the draft implementation of PEP 649 in Python 3.14. * Fix regression in v4.12.0 where nested Annotated types would cause TypeError to be raised if the nested Annotated type had unhashable metadata. * Fix incorrect behaviour of typing_extensions.ParamSpec on Python 3.8 and 3.9 that meant that isinstance(typing_extensions.ParamSpec("P"), typing.TypeVar) would have a different result in some situations depending on whether or not a profiling function had been set using sys.setprofile. * This release focuses on compatibility with the upcoming release of Python 3.13. Most changes are related to the implementation of type parameter defaults (PEP 696).Dirk Mueller2024-06-08 13:13:46 +00:00
87cf5cff0aAccepting request 1165856 from devel:languages:pythonAna Guerrero2024-04-07 20:04:41 +00:00
a24cf5e6fe- update to 4.11.0: * Fix tests on Python 3.13.0a5. Patch by Jelle Zijlstra. * Fix the runtime behavior of type parameters with defaults * Fix minor discrepancy between error messages produced by typing and typing_extensions on Python 3.10. * When include_extra=False, get_type_hints() now strips ReadOnly from the annotation.Dirk Mueller2024-04-06 17:28:56 +00:00
34666d254aAccepting request 1135644 from devel:languages:pythonAna Guerrero2024-01-09 19:48:27 +00:00
35ace8aa8b- update to 4.9.0: * This feature release adds typing_extensions.ReadOnly, as specified by PEP 705, and makes various other improvements, especially to @typing_extensions.deprecated(). * Add support for PEP 705, adding typing_extensions.ReadOnly. * All parameters on NewType.__call__ are now positional-only. This means that the signature of typing_extensions.NewType.__call__ now exactly matches the * signature of typing.NewType.__call__. * Fix bug with using @deprecated on a mixin class. * Exclude __match_args__ from Protocol members. * When creating a typing_extensions.NamedTuple class, ensure __set_name__ is called on all objects that define __set_name__ and exist in the values of the NamedTuple class's class dictionary. * Support most use cases for PEP 612 with Generic - add transitional typing-extensions provides * Fix tests for Python 3.9Dirk Mueller2023-12-27 11:37:21 +00:00
4034855114Accepting request 1118944 from devel:languages:pythonAna Guerrero2023-10-20 21:16:22 +00:00
829be1fbc3- Update to 4.8.0: - Add typing_extensions.Doc, as proposed by PEP 727 - Drop support for Python 3.7 (including PyPy-3.7) - Fix bug where get_original_bases() would return incorrect results when called on a concrete subclass of a generic class - Fix bug where ParamSpec(default=...) would raise a TypeError on Python versions <3.11Matej Cepl2023-10-19 12:10:30 +00:00
efc70248b1- Update to 3.10.0.2: * Docs improvements * Fixes crash and _GenericAlias import * Support most use cases for PEP 612 with GenericDirk Mueller2021-11-13 20:43:42 +00:00
5d8ec5dfd8- update to version 3.7.4.3: * enables PEP 613 Typealias to typing_extensions * Fix tests for Python 3.9Dirk Mueller2020-10-15 12:53:06 +00:00