Skip to content

Commit e1250ff

Browse files
authored
Prepare release 4.12.2 (#426)
1 parent 53bcdde commit e1250ff

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
# Unreleased
1+
# Release 4.12.2 (June 7, 2024)
22

33
- Fix regression in v4.12.0 where specialization of certain
44
generics with an overridden `__eq__` method would raise errors.
55
Patch by Jelle Zijlstra.
6+
- Fix tests so they pass on 3.13.0b2
67

78
# Release 4.12.1 (June 1, 2024)
89

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "flit_core.buildapi"
66
# Project metadata
77
[project]
88
name = "typing_extensions"
9-
version = "4.12.1"
9+
version = "4.12.2"
1010
description = "Backported and Experimental Type Hints for Python 3.8+"
1111
readme = "README.md"
1212
requires-python = ">=3.8"

src/test_typing_extensions.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -6617,7 +6617,10 @@ def test_allow_default_after_non_default_in_alias(self):
66176617
a4 = Callable[[Unpack[Ts]], T]
66186618
self.assertEqual(a4.__args__, (Unpack[Ts], T))
66196619

6620-
@skip_if_py313_beta_1
6620+
@skipIf(
6621+
typing_extensions.Protocol is typing.Protocol,
6622+
"Test currently fails with the CPython version of Protocol and that's not our fault"
6623+
)
66216624
def test_generic_with_broken_eq(self):
66226625
# See https://github.com/python/typing_extensions/pull/422 for context
66236626
class BrokenEq(type):

0 commit comments

Comments
 (0)