Skip to content

ci: test on Python 3.13, 3.10 is end of life - #47

Merged
maksimtech merged 1 commit into
masterfrom
ci/python-3.13
Nov 4, 2026
Merged

maksimtech merged 1 commit into
masterfrom
ci/python-3.13

Conversation

@maksimtech

Copy link
Copy Markdown
Owner

Python 3.10 reached end of life on 2026-10-01 and dependencies have started to drop it: starlette 1.8.0 requires Python 3.11, so in #42 pip finds no release matching starlette>=1.8.0 and both the tests and the benchmarks fail.

This runs both workflows on Python 3.13 and updates the README requirement.

Checked locally on Python 3.13 with releases at least 14 days old (uv --exclude-newer 2026-10-20): starlette 1.9.0, fastapi 0.156.3, pydantic 2.14.1, 10 tests passed. With 3.10, resolving starlette>=1.8.0 fails the same way as in CI.

After this is merged, #42 can be rebased and should pass.

🤖 Generated with Claude Code

Python 3.10 reached end of life on 2026-10-01, and dependencies have
started to leave it: starlette 1.8.0 requires Python 3.11, so pip finds no
release for the floor Dependabot proposes in #42 and the tests and the
benchmarks fail there. Run both on Python 3.13 and say so in the README.
The tests pass on 3.13 with starlette 1.9.0, fastapi 0.156.3 and pydantic
2.14.1, each released more than 14 days ago.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

sonarqubecloud Bot commented Nov 3, 2026

Copy link
Copy Markdown

@codspeed

codspeed Bot commented Nov 3, 2026

Copy link
Copy Markdown

Merging this PR will regress 1 benchmark

2 warnings

⚠️ 2 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

⚠️ 8 benchmarks with a significant change ran in a different software environment

Their base and head results were measured with a different OS or toolchain, such as compiler, runtime or library versions, so the changes might come from this difference rather than from the code. Open an affected benchmark to see what changed.

See affected benchmarks

⚡ 7 improved benchmarks
❌ 1 regressed benchmark
✅ 1 untouched benchmark

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
❌ test_bench_health_endpoint 5.4 ms 6.5 ms -16.19%
⚡ test_bench_weather_endpoint 40.6 ms 10.8 ms ×3.8
⚡ test_bench_openapi_schema 56.4 ms 42.3 ms +33.17%
⚡ test_bench_fetch_weather 2.6 ms 2 ms +30.81%
⚡ test_bench_geocode_city_italian_match 2.7 ms 2.1 ms +25.48%
⚡ test_bench_geocode_city_fallback 2.6 ms 2.1 ms +22.49%
⚡ test_bench_weather_response_validation 508.5 µs 415.5 µs +22.37%
⚡ test_bench_weather_response_serialization 565.3 µs 462.6 µs +22.2%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing ci/python-3.13 (cfec84b) with master (5dddbc7)

Open in CodSpeed

@maksimtech
maksimtech merged commit 5b4cb35 into master Nov 4, 2026
5 of 6 checks passed
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