Skip to content

Commit

Permalink
Prepare release 4.12.2 (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWaygood authored Jun 7, 2024
1 parent 53bcdde commit e1250ff
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 4 additions & 1 deletion src/test_typing_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit e1250ff

Please sign in to comment.