test: Python 3.14 upgrade (with proper Dockerfile) #44
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.
Purpose
Test Python 3.14 upgrade with the proper sophisticated Dockerfile (not the simplified version from earlier attempts).
Changes
ghcr.io/astral-sh/uv:python3.14-alpinepython:3.14-alpinepython3.13→python3.14What We Learned
Original issue was CORRECT: "The wheels aren't ready on Docker for it."
The first build attempt failed with:
Root cause:
pydantic-core(and likely other packages) don't have pre-built wheels for Python 3.14 yet, requiring compilation from source with Rust.Tradeoffs of Python 3.14 Right Now
❌ Downsides
✅ Upsides
Recommendation
Wait 2-4 months for the ecosystem to mature:
Testing
This PR will test if Python 3.14 works with Rust compilation. If it succeeds, we can merge it, but the build performance penalty may not be worth it yet.
Rollback Plan
If this fails or if we decide the tradeoffs aren't worth it, simply close this PR. Master remains on Python 3.13 and is unaffected.
Verdict: You were right about the wheels! 🎯