- 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).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typing_extensions?expand=0&rev=58
This commit is contained in:
Dirk Mueller 2024-06-08 13:13:46 +00:00 committed by Git OBS Bridge
parent a24cf5e6fe
commit 87314c4207
4 changed files with 27 additions and 4 deletions

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Sat Jun 8 13:12:02 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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).
-------------------------------------------------------------------
Sat Apr 6 17:27:56 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -27,7 +27,7 @@
%{?sle15_python_module_pythons}
Name: python-typing_extensions%{psuffix}
Version: 4.11.0
Version: 4.12.2
Release: 0
Summary: Backported and Experimental Type Hints for Python 3.8+
License: Python-2.0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:83f085bd5ca59c80295fc2a82ab5dac679cbe02b9f33f7d83af68e241bea51b0
size 78744

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8
size 85321