Develop on Python 3.14, support 3.11+, add non-blocking 3.15 lane - #51
Merged
Conversation
Floor is 3.11 not 3.10: datetime.fromisoformat only accepts arbitrary fractional-second precision from 3.11 on, and OSH emits 5-digit values.
Without it uv picks the newest stable interpreter allowed by requires-python, so contributors would jump to 3.15 on release.
This was referenced Jul 28, 2026
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.
Moves development to Python 3.14, extends the supported range downward to 3.11, and adds a non-blocking 3.15 preview lane.
Development version: 3.14
.python-versionis now tracked (and removed from.gitignore, with a comment explaining why). This is the only change that makes "developed on 3.14" enforceable rather than aspirational.Measured rationale: with no
.python-version, uv selects the newest stable interpreter satisfyingrequires-python, regardless ofPATH— verified by restrictingPATHto a 3.11-only interpreter and watching uv still build the venv on 3.14. Sincerequires-pythonallows<4.0, every contributor's environment would silently move to 3.15 the day it ships (2026-10-01). 3.15 is meant to be a preview lane here, not the dev environment.All pinned CI jobs moved 3.13 → 3.14:
linting.yaml,docs_pages.yaml, andtests.yaml'score-install/docs/publish-test, pluspublish.yml's two pinned steps. Those jobs run a bareuv syncwith no--python, so they would have followed.python-versionanyway — leaving them saying 3.13 would have been misleading dead weight.Supported floor: 3.11, not 3.10
requires-pythongoes>=3.12→>=3.11. The suite passes unmodified on 3.11 (479 tests).3.10 was tested and rejected for a specific reason, recorded in a comment next to
requires-python:datetime.fromisoformatonly accepts arbitrary fractional-second precision from 3.11 onward. 3.10 rejects the 5-digit form OSH emits (…T17:12:58.51182Z), failingtest_control_stream_resource. Reaching 3.10 is possible but needs a parsing shim intimemanagement.py— the comment says so, to save the next person the experiment.Note 3.10 is separately blocked for contributors by
myst-parser>=5.0.0(docs-only dev dep, requires 3.11); runtime deps alone do resolve on 3.10.3.15: preview lane, non-blocking
tests.yamlgains a matrix leg withcontinue-on-error: ${{ matrix.experimental }}, namedpytest (Python 3.15 — experimental, non-blocking)so the check list is self-explanatory.Expect it red for now, and the YAML comment says why: as of 3.15.0a8 it fails during dependency installation, not during our tests — shapely has no 3.15 wheels, so uv falls back to a source build needing numpy headers. That is an upstream packaging gap, not an OSHConnect incompatibility, and the leg should go green on its own once shapely ships 3.15 wheels. A failure for any other reason is worth investigating.
publish.yml's matrix deliberately does not get this leg — a release gate must not depend on a lane that is allowed to fail. It gets 3.11 only.Verification
Ran locally on all four supported versions: 479 pass on each of 3.11, 3.12, 3.13, 3.14.
flake8 src/clean; strict Sphinx build (-W --keep-going) succeeds. Also confirmed uv 0.12.0 produces nouv.lockdrift — relevant becauseastral-sh/setup-uv@v6installs the latest uv, so runners will pick it up regardless.Version
0.5.3a1→0.5.4a0.requires-pythonis a packaging-visible change, so this is a real patch bump rather than an alpha increment.Note the restart is at
a0, nota1as on previous patch lines. All ofa,a0,a1are valid PEP 440, but a bareanormalizes toa0— sopyproject.tomlwould disagree with the built wheel.a0is the canonical first alpha. Ordering is unaffected:0.5.3a1 < 0.5.4a0 < 0.5.4a1 < 0.5.4.