Skip to content

feat: add Python 3.14 support#250

Draft
Copilot wants to merge 4 commits intomainfrom
copilot/add-python-3-14-support
Draft

feat: add Python 3.14 support#250
Copilot wants to merge 4 commits intomainfrom
copilot/add-python-3-14-support

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 15, 2026

Summary

Adds Python 3.14 to the supported/runtime-tested versions for Plugboard and aligns dependency floors with the first releases that advertise 3.14 compatibility. CI and release workflows are updated so packaging and validation run against the expanded version set.

Changes

  • Project metadata

    • Adds the Python 3.14 Trove classifier.
    • Keeps the existing requires-python >=3.12,<4.0 range and updates dependency floors needed for 3.14:
      • msgspec[yaml] >= 0.20
      • Ray optional/test dependencies moved to ray[tune] >= 2.55.0
  • CI / release pipelines

    • Extends the main lint/test/build matrix to include Python 3.14.
    • Moves single-version workflows that build/publish artifacts to Python 3.14:
      • docs
      • docker
      • PyPI publish
    • Updates benchmarks to run on 3.14 so perf coverage tracks the newest supported interpreter.
  • Lockfile refresh

    • Regenerates uv.lock for the new dependency constraints and trims packages that were only pulled in by ray[default].
  • Test harness compatibility

    • Replaces the removed asyncio.events.BaseDefaultEventLoopPolicy annotation in tests/conftest.py with a Python-3.14-safe event loop policy fixture.
classifiers = [
  "Programming Language :: Python :: 3.12",
  "Programming Language :: Python :: 3.13",
  "Programming Language :: Python :: 3.14",
]

dependencies = [
  "msgspec[yaml]>=0.20,<1",
]

[project.optional-dependencies]
ray = ["ray[tune]>=2.55.0,<3", "jsonschema<4.25.0", "optuna>=3.0,<5"]

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • metadata.google.internal
    • Triggering command: /home/REDACTED/work/plugboard/plugboard/.venv/bin/python3 /home/REDACTED/work/plugboard/plugboard/.venv/bin/python3 /home/REDACTED/work/plugboard/plugboard/.venv/lib/python3.13/site-packages/ray/dashboard/dashboard.py --host=127.0.0.1 --port=8265 --port-retries=50 --temp-dir=/tmp/ray --log-dir=/tmp/ray/session_2026-04-15_20-56-11_830656_4404/logs --session-dir=/tmp/ray/session_2026-04-15_20-56-11_830656_4404 --logging-rotate-bytes=536870912 --logging-rotate-backup-count=5 --gcs-address=127.0.0.1:38795 --cluster-id-hex=ce80c26ace7135585b1558b765c616ab2285eede18133e1957c50d3a --node-ip-address=127.0.0.1 --proxy-server-url= --stdout-filepath=/tmp/ray/session_2026-04-15_20-56-11_830656_4404/logs/dashboard.out --stderr-filepath=/tmp/ray/session_2026-04-15_20-56-11_830656_4404/logs/dashboard.err ame (dns block)
  • releases.astral.sh
    • Triggering command: /home/REDACTED/.local/bin/uv uv venv .venv --python python3.13 (dns block)
    • Triggering command: /home/REDACTED/.local/bin/uv uv venv .venv --python 3.14 urces/working_diOUTPUT --local python3 3 python /home/rmktemp (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI linked an issue Apr 15, 2026 that may be closed by this pull request
Copilot AI and others added 3 commits April 15, 2026 20:55
Agent-Logs-Url: https://github.com/plugboard-dev/plugboard/sessions/db561b01-f70a-4723-bd46-068e4b56ae8f

Co-authored-by: toby-coleman <13170610+toby-coleman@users.noreply.github.com>
Agent-Logs-Url: https://github.com/plugboard-dev/plugboard/sessions/db561b01-f70a-4723-bd46-068e4b56ae8f

Co-authored-by: toby-coleman <13170610+toby-coleman@users.noreply.github.com>
Agent-Logs-Url: https://github.com/plugboard-dev/plugboard/sessions/db561b01-f70a-4723-bd46-068e4b56ae8f

Co-authored-by: toby-coleman <13170610+toby-coleman@users.noreply.github.com>
Copilot AI changed the title [WIP] Add Python 3.14 support to project feat: add Python 3.14 support Apr 15, 2026
Copilot AI requested a review from toby-coleman April 15, 2026 21:30
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.

feat: Python 3.14 support

2 participants