bump ruff by chirizxc · Pull Request #1148 · msgspec/msgspec · GitHub
Skip to content

bump ruff - #1148

Merged
sobolevn merged 1 commit into
msgspec:mainfrom
chirizxc:ruff
Aug 11, 2026
Merged

bump ruff#1148
sobolevn merged 1 commit into
msgspec:mainfrom
chirizxc:ruff

Conversation

@chirizxc

Copy link
Copy Markdown
Contributor

No description provided.

@chirizxc

Copy link
Copy Markdown
Contributor Author

Comment thread .ruff.toml
@@ -1,4 +1,5 @@
line-length = 88
output-prefer-rule-codes = true

@chirizxc chirizxc Aug 11, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@codspeed-hq

codspeed-hq Bot commented Aug 11, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by 14.69%

⚡ 2 improved benchmarks
✅ 137 untouched benchmarks
⏩ 135 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation test_decode_type[arm-msgpack-None] 760.6 µs 657.9 µs +15.6%
Simulation test_decode_type[arm-json-True] 964.7 µs 847.8 µs +13.79%

Tip

Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.


Comparing chirizxc:ruff (bcd55e5) with main (e71c7fb)

Open in CodSpeed

Footnotes

  1. 135 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@sobolevn sobolevn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@sobolevn sobolevn closed this Aug 11, 2026
@sobolevn sobolevn reopened this Aug 11, 2026
@sobolevn
sobolevn added this pull request to the merge queue Aug 11, 2026
Merged via the queue into msgspec:main with commit f51f378 Aug 11, 2026
41 of 42 checks passed
Brohammad pushed a commit to Brohammad/msgspec that referenced this pull request Sep 4, 2026
The 0.21.1 to 0.22.0 changelog batch (msgspec#1112) landed on 2026-07-03. Four
user-visible changes merged between then and the 0.22.0 release on
2026-08-11 never got an entry:

- msgspec#700, overloads on the `Meta` stub, so type checkers reject mixing
`gt` with `ge` and `lt` with `le`
- msgspec#1028, `null` placed last in the `anyOf` generated for optional unions
- msgspec#1114, `__struct_encode_fields__` added to `src/msgspec/__init__.pyi`
(its companion msgspec#813 only touched `tests/typing`, so it needs no entry of
its own)
- msgspec#1118, `json.encode` raising `TypeError` for a `dict` keyed by a plain
`str`-valued `enum.Enum`

I went over every PR merged in that window. The rest need no entry: msgspec#813
and msgspec#1117 are tests only, msgspec#1121 fixes an unreleased regression from
msgspec#1028, msgspec#1145 is an unused variable under free-threaded builds, and msgspec#1146
and msgspec#1148 are CI and tooling. msgspec#1127, msgspec#1135 and msgspec#1080 already have
entries.

Docs build clean with `--fail-on-warning`.

Note for whoever retries the release: the section is still headed
`Version 0.22.0 (2026-08-11)`, and that date will need updating, since
the tag was deleted after the upload failed. Refs msgspec#1134.

Co-authored-by: Siyet <Siyet@users.noreply.github.com>
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