Repository navigation
Drop Python 3.9, test on 3.10 and 3.14 - #4136
Merged
Merged
Conversation
Require Python 3.10, move the CI matrix to 3.10 and 3.14, and remove the 3.9-only workarounds. Lint runs on 3.10 only since the pinned black and pylint crash on 3.14. Fix MCP tools with list[str] style annotations crashing on 3.10, which CI never covered before.
|
Contributor
Dash performance benchmarks✅ all within thresholds
growth = late-third / early-third per-op time; ~1 is flat, a large value means the per-op cost scales with accumulated state. machine scale vs baseline: 0.98x - divided out of the baseline ratios so they compare like for like (the absolute warn/fail ceilings are left un-scaled); calibrated on |
KoolADE85
approved these changes
Nov 9, 2026
Contributor
|
This also closes #4038 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Drops Python 3.9. Dash now requires Python 3.10, and CI tests on 3.10 and 3.14 (was 3.9 and 3.12).
Changes
setup.py:python_requires=">=3.10", classifiers 3.10 through 3.14.testing.yml: every["3.9", "3.12"]matrix is now["3.10", "3.14"]. Percy moves with the upper version (3.14). Single-version jobs (build, typing, table, benchmarks) stay on 3.12.--ignored-modules=mcp, the mimesis version split, MCP test skips, the mypy test gate and itspython_version>="3.12"install marker, a dead 3.8 fallback in the component generator.Fix found along the way
On Python 3.10,
isinstance(list[str], type)isTrue, soissubclass(list[str], Component)raisedTypeErrorfor MCP tools with annotations likelist[str]. CI never caught it because MCP tests were skipped on 3.9 and only ran on 3.12.test_mcpd009andtest_mcpm003fail on 3.10 before the fix and pass after.Notes
jupyterlab<4pullsy-py, which has no 3.14 wheel. pip builds it from source with Rust (present on GitHub runners), so the 3.14 installs are a bit slower.dash_duoon both, compliance tests and lint on 3.10.