Skip to content

fix: close release dependency and typing gaps - #305

Merged
dbrattli merged 2 commits into
mainfrom
fix/release-readiness
Nov 12, 2026
Merged

dbrattli merged 2 commits into
mainfrom
fix/release-readiness

Conversation

@dbrattli

Copy link
Copy Markdown
Owner

Follow up #304 with the remaining release-readiness fixes.

Raise the optional Pydantic minimum to 2.11.0: Pydantic 2.10 cannot validate the supported Python 3.12 generic-case example. Add a Python 3.12 CI job that smoke-tests the built wheel without extras at the minimum core dependency, then runs the suite against the installed wheel with Pydantic 2.11.0 and typing-extensions 4.12.2 outside the checkout.

Give collection factories their own type parameters so calls such as Block.of("new", "featured") infer their element types instead of Unknown. Cover the affected Block, TypedArray, Map, and Seq factories with positive and negative typing contracts, while preserving Seq subclass construction.

Correct the remaining guide and tutorial examples and include them in strict Pyright checking. Run each document's assertions in a separate process through just test and CI, including notebook cells with top-level await.

Verification commands: just lint, just test, just build, and the minimum-dependency installed-wheel commands in .github/workflows/python-package.yml.

@dbrattli
dbrattli merged commit 9ce5518 into main Nov 12, 2026
6 checks passed
@dbrattli
dbrattli deleted the fix/release-readiness branch November 12, 2026 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant