From 16691dd7ac408b944fcdf62d1c02af5bed3291fa Mon Sep 17 00:00:00 2001 From: Tristan Simas Date: Mon, 16 Nov 2026 19:38:25 -0500 Subject: [PATCH] Release 0.4.0: LabelledChoices ships to PyPI pyqt-reactive 0.10 imports python_introspect.choices.LabelledChoices, which main carries but 0.3.0 does not. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016gZLdupVQyBzHTmHBC9Cyn --- CHANGELOG.md | 10 ++++++++++ pyproject.toml | 2 +- src/python_introspect/__init__.py | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cb230b0..978ffce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ 0.2.2 is the first 0.2.x release published to PyPI. The 0.2.0 and 0.2.1 tags exist in git, but their publish runs were cancelled, so upgrading from PyPI goes straight from 0.1.16 to 0.2.2. The notes below cover every change in that jump. +## 0.4.0 + +Added: +- `python_introspect.choices.LabelledChoices`: a declared source's choices with their labels, read together, so CLI labels and validation feedback use one enumeration. + +Fixed: +- A broken dataclass declaration propagates from the analysis owner instead of being swallowed. +- Factory retry control stays aligned with propagated failures. +- Distributions include the inline typing marker (`py.typed`). + ## 0.3.0 Changed (the stored form of some fields changes; there is no reader for the old form): diff --git a/pyproject.toml b/pyproject.toml index 25ada10..5650124 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "python-introspect" -version = "0.3.0" +version = "0.4.0" description = "Pure Python introspection toolkit for function signatures, dataclasses, and type hints" readme = "README.md" requires-python = ">=3.10" diff --git a/src/python_introspect/__init__.py b/src/python_introspect/__init__.py index 7eebd2b..5f18c2f 100644 --- a/src/python_introspect/__init__.py +++ b/src/python_introspect/__init__.py @@ -9,7 +9,7 @@ type resolution for framework-specific types (lazy configs, proxies, etc.) """ -__version__ = "0.3.0" +__version__ = "0.4.0" from .signature_analyzer import ( SignatureAnalyzer,