Skip to content

ci: add Python 3.15 coverage - #115

Merged
JPHutchins merged 1 commit into
mainfrom
ci/#114/python-3.15
Nov 11, 2026
Merged

JPHutchins merged 1 commit into
mainfrom
ci/#114/python-3.15

Conversation

@JPHutchins

@JPHutchins JPHutchins commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

Warning

LLM Disclosure

This post was authored by claude-opus-5-5 on behalf of @JPHutchins. JP asked me to take on the Python 3.15 coverage tickets.

Closes #114.

Adds Python 3.15 to the test and lint matrices and moves the distribution build in release.yaml to "3.15" (still pinned to the newest tested version, per #113). pyinstaller deliberately stays at python = "<3.15", and the executables stay on 3.12, until 3.15 is more mature.

Lock: pydantic-core 2.41.5 caused the 0.20.0 release failure; it now resolves to 2.50.4, which ships cp315 wheels. The same goes for every other locked native package that had no cp315 wheels: grpcio, aiohttp, librt, markupsafe, and the per-OS BLE backends (dbus-fast, pyobjc, winrt).

Verified locally on 3.15 (Poetry 2.5.1): poetry install, black, isort, flake8, mypy, and pytest (16 passed) under both Typer endpoints.

Notes
  • libusb-package 1.0.26.1 (bumble pins it exactly) still builds from source on 3.15, as it already does on 3.12–3.14.
  • Older Poetry installs can't create a 3.15 environment: their virtualenv seeds pip 25.0.1, whose vendored typing_extensions reads the removed typing.no_type_check_decorator. CI's pipx install poetry gets the latest, so CI isn't affected. Local developers may need pipx upgrade poetry.
  • smpclient's matching change is ci: add Python 3.15 coverage smpclient#147 (#146). This PR doesn't depend on it, since it only refreshes smpmgr's own lock against smpclient 7.4.0.
  • build.yaml still builds the executables on 3.12.

🤖 Generated with Claude Code

Closes #114.

test.yaml and lint.yaml gain 3.15 in their python-version matrices, and
release.yaml now builds the distribution on 3.15, still pinned to the
newest tested version rather than the moving "3.x" that broke the 0.20.0
release (#113). The pyinstaller dev dependency stays at
`python = "<3.15"`: the executables (build.yaml) remain on 3.12, and
pyinstaller is not moved to 3.15 until 3.15 is more mature.

poetry.lock could not install on 3.15: pydantic-core 2.41.5 has no cp315
wheels, and its source build fails ("the configured Python interpreter
version (3.15) is newer than PyO3's maximum supported version (3.14)").
Upgraded every locked native package that lacked cp315 wheels to the
first releases that have them:

    pydantic 2.12.5 -> 2.14.3, pydantic-core 2.41.5 -> 2.50.4
    grpcio 1.83.0 -> 1.85.1, aiohttp 3.14.3 -> 3.14.5,
    librt 0.8.1 -> 0.16.0, markupsafe 3.0.3 -> 3.0.4,
    dbus-fast 4.0.4 -> 5.2.0 (Linux), pyobjc-* 12.1 -> 13.0 (macOS),
    winrt-* 3.2.1 -> 4.x (Windows)

libusb-package 1.0.26.1 (pinned exactly by bumble 0.0.228) still builds
from its sdist on 3.15, as it already does on 3.12-3.14.

On 3.15, with Poetry 2.5.1: poetry install, black, isort, flake8, mypy,
and pytest under both Typer endpoints (0.24.0, 0.27.2) pass. A Poetry
whose virtualenv seeds pip 25.0.1 cannot create a working 3.15
environment (pip's vendored typing_extensions reads the removed
`typing.no_type_check_decorator`); CI's `pipx install poetry` gets the
latest. Poetry itself is being replaced by uv (#57).

Co-Authored-By: claude-opus-5-5 <noreply@anthropic.com>
@JPHutchins
JPHutchins merged commit 5381743 into main Nov 11, 2026
25 checks passed
@JPHutchins
JPHutchins deleted the ci/#114/python-3.15 branch November 11, 2026 00:49
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.

Add coverage for Python 3.15

1 participant