From 43f2d369060939130b0a7f71b2137cfea918c3eb Mon Sep 17 00:00:00 2001 From: rechen Date: Mon, 18 Dec 2023 12:00:45 -0800 Subject: [PATCH] Prepare a PyPI release. Also opensources a recent change to support.md. PiperOrigin-RevId: 591970552 --- CHANGELOG | 12 ++++++++++++ docs/support.md | 8 ++++---- pytype/__version__.py | 2 +- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 6a47d8b60..dde49d89c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,15 @@ +Version 2023.12.18: + +Bug fixes: +* Prevent `ChainMap`, `Counter` and `OrderedDict` from being dropped if they're + only imported. +* Fix matching against a plain fiddle.Config in pyi signatures. +* Remove no-longer-necessary `__getattribute__`s from enum.pytd. +* Resolve attribute access on Any constants in pytd to just the constant. +* Don't let `typing` be treated as a replaceable Any. +* FIX: Only call match_fiddle_instance_against_bare_type if we have a fiddle + instance. + Version 2023.12.08: Bug fixes: diff --git a/docs/support.md b/docs/support.md index 499697cea..7302843b9 100644 --- a/docs/support.md +++ b/docs/support.md @@ -17,7 +17,7 @@ of pytype. * [Third-Party Libraries](#third-party-libraries) - + @@ -66,19 +66,19 @@ Feature --------------------------------------------------------------------------------------- | :-----: | :------: | :----: [PEP 484 -- Type Hints][484] | 3.5 | ✅ | [PEP 526 -- Syntax for Variable Annotations][526] | 3.6 | ✅ | -[PEP 544 -- Protocols][544] | 3.8 | ✅ | [PEP 561 -- Distributing and Packaging Type Information][561] | 3.7 | ❌ | [#151][packaging] [PEP 563 -- Postponed Evaluation of Annotations][563] | 3.7 | ✅ | -[PEP 585 -- Type Hinting Generics in Standard Collections][585] | 3.9 | ✅ | +[PEP 544 -- Protocols][544] | 3.8 | ✅ | [PEP 586 -- Literal Types][586] | 3.8 | ✅ | [PEP 589 -- TypedDict][589] | 3.8 | ✅ | [PEP 591 -- Adding a Final Qualifier to Typing][591] | 3.8 | ✅ | +[PEP 585 -- Type Hinting Generics in Standard Collections][585] | 3.9 | ✅ | [PEP 593 -- Flexible Function and Variable Annotations][593] | 3.9 | ✅ | [PEP 604 -- Allow Writing Union Types as X \| Y][604] | 3.10 | ✅ | [PEP 612 -- Parameter Specification Variables][612] | 3.10 | 🟡 | [#786][param-spec] [PEP 613 -- Explicit Type Aliases][613] | 3.10 | ✅ | -[PEP 646 -- Variadic Generics][646] | 3.11 | ❌ | [#1525][variadic-generics] [PEP 647 -- User-Defined Type Guards][647] | 3.10 | ✅ | +[PEP 646 -- Variadic Generics][646] | 3.11 | ❌ | [#1525][variadic-generics] [PEP 655 -- Marking individual TypedDict items as required or potentially-missing][655] | 3.11 | ❌ | [#1551][typed-dict-requirements] [PEP 673 -- Self Type][673] | 3.11 | ✅ | [PEP 675 -- Arbitrary Literal String Type][675] | 3.11 | ❌ | [#1552][literal-string] diff --git a/pytype/__version__.py b/pytype/__version__.py index 64b3c4c9d..7e2ff3968 100644 --- a/pytype/__version__.py +++ b/pytype/__version__.py @@ -1,2 +1,2 @@ # pylint: skip-file -__version__ = '2023.12.08' +__version__ = '2023.12.18'