Skip to content

Release/10.3.2#3354

Merged
thewhaleking merged 32 commits into
masterfrom
release/10.3.2
May 15, 2026
Merged

Release/10.3.2#3354
thewhaleking merged 32 commits into
masterfrom
release/10.3.2

Conversation

@thewhaleking
Copy link
Copy Markdown
Contributor

10.3.2 /2026-05-15

What's Changed

New Contributors

Full Changelog: v10.3.1...v10.3.2

RUNECTZ33 and others added 30 commits May 13, 2026 09:15
`AxonMiddleware.preprocess` previously wrapped any `Exception` from URL
path parsing and `Synapse.from_headers` as `InvalidRequestNameError` /
`SynapseParsingError`. This swallowed unrelated infrastructure failures
(e.g. `RuntimeError`, `MemoryError`, real bugs in starlette or pydantic
plugins) and lost their original traceback, surfacing them as misleading
"malformed request" errors.

- Narrow the path-parse catch to `(IndexError, AttributeError)` — the
  only failures `request.url.path.split("/")[1]` can realistically
  produce.
- Narrow the synapse-parse catch to `(ValidationError, TypeError,
  ValueError)` — the realistic failure modes of pydantic model
  construction from header inputs.
- `raise ... from e` on both paths so the original exception remains on
  `__cause__` for debugging.
- Regression tests assert that `ValidationError` is wrapped with
  `__cause__` set and that an unrelated `RuntimeError` propagates
  unchanged.

Mirrors the exception-narrowing pattern used in #3318 for
`get_external_ip`.
…vement

Fix `--help` hijacking on import bittensor
Hopefully, this is a fix for the flaky e2e test
…narrowing

fix(axon): narrow preprocess exception handling and chain causes
…once

Use the public API for clearing nonce cache
@github-actions
Copy link
Copy Markdown

Bittensor SDK virtual environment sizes by Python version:

Python 3.10: 194 MB
Python 3.11: 210 MB
Python 3.12: 202 MB
Python 3.13: 201 MB

1 similar comment
@github-actions
Copy link
Copy Markdown

Bittensor SDK virtual environment sizes by Python version:

Python 3.10: 194 MB
Python 3.11: 210 MB
Python 3.12: 202 MB
Python 3.13: 201 MB

@thewhaleking thewhaleking requested a review from camfairchild May 15, 2026 09:11
@thewhaleking thewhaleking merged commit b90225e into master May 15, 2026
1381 of 1382 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants