Skip to content

Improve typing tests and make them stricter - #1064

Merged
sobolevn merged 1 commit into
msgspec:mainfrom
sobolevn:typing-test
Jun 14, 2026
Merged

sobolevn merged 1 commit into
msgspec:mainfrom
sobolevn:typing-test

Conversation

@sobolevn

Copy link
Copy Markdown
Member

I removed the intermediate tooling for assert_type tests. Now we run type-checkers directly.
I made them stricter, I also removed one test for all tributes, it is not really needed, because it does not use any advanced typing features, just duplicates all the Meta annotations.

@sobolevn
sobolevn added this pull request to the merge queue Jun 14, 2026
Merged via the queue into msgspec:main with commit aa02d1b Jun 14, 2026
19 checks passed
@sobolevn
sobolevn deleted the typing-test branch June 14, 2026 17:46
pull Bot pushed a commit to Mu-L/msgspec that referenced this pull request Sep 24, 2026
The changelog has not been updated since the `## Version 0.22.0` section
was written, and that release was never published: PyPI still serves
0.21.1, and the tag and GitHub release were removed after the failed
run.

Adds ten entries under `## Unreleased`, covering twelve pull requests
merged after 2026-08-11. That is where they belong while the release
date is unknown. The entry for msgspec#1165 moves there from the 0.22.0 section
for the same reason, since its fix was merged on 2026-09-05. msgspec#1063 and
msgspec#1064 are added to the aggregated type stub line in the 0.22.0 section:
two June pull requests that edit shipped `.pyi` files and were missing
entirely.

A second commit extends `scripts/release_github.py` to substitute
`{issue}` references as well as `{pr}` ones, so they stop reaching the
release body as literal markup.

---------

Co-authored-by: Tseluiko Aleksandr <[email protected]>
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.

2 participants