diff --git a/CHANGELOG.md b/CHANGELOG.md index 776a101e..90f5b682 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,9 @@ -# Unreleased +# Release 4.12.2 (June 7, 2024) - Fix regression in v4.12.0 where specialization of certain generics with an overridden `__eq__` method would raise errors. Patch by Jelle Zijlstra. +- Fix tests so they pass on 3.13.0b2 # Release 4.12.1 (June 1, 2024) diff --git a/pyproject.toml b/pyproject.toml index e15c923a..3388d553 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "flit_core.buildapi" # Project metadata [project] name = "typing_extensions" -version = "4.12.1" +version = "4.12.2" description = "Backported and Experimental Type Hints for Python 3.8+" readme = "README.md" requires-python = ">=3.8" diff --git a/src/test_typing_extensions.py b/src/test_typing_extensions.py index bf7600a1..2f98765b 100644 --- a/src/test_typing_extensions.py +++ b/src/test_typing_extensions.py @@ -6617,7 +6617,10 @@ def test_allow_default_after_non_default_in_alias(self): a4 = Callable[[Unpack[Ts]], T] self.assertEqual(a4.__args__, (Unpack[Ts], T)) - @skip_if_py313_beta_1 + @skipIf( + typing_extensions.Protocol is typing.Protocol, + "Test currently fails with the CPython version of Protocol and that's not our fault" + ) def test_generic_with_broken_eq(self): # See https://github.com/python/typing_extensions/pull/422 for context class BrokenEq(type):