Skip to content

Build and test on Python 3.14 only - #640

Merged
clstaudt merged 3 commits into
mainfrom
python-3.14
Oct 26, 2026
Merged

clstaudt merged 3 commits into
mainfrom
python-3.14

Conversation

@clstaudt

@clstaudt clstaudt commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Python 3.13 now gets security fixes only. The tests already passed on 3.14, but the app we ship was still built on 3.13.

  • The PyInstaller core in the Electron package and the core smoke test are built on 3.14.
  • CI tests only on 3.14.
  • requires-python is now >=3.14, and ruff targets py314. Ruff therefore writes except A, B: without parentheses (PEP 758), which reformats 12 files.
  • Pre-commit now pins ruff v0.16.2, the version in uv.lock. It ran v0.12.0, so local checks passed what CI rejected.
  • Package versions in uv.lock are unchanged; only the 3.13 wheels and markers are gone.

Checked locally on 3.14.10: the full test suite and pre-commit pass, and the frozen core builds and passes scripts/smoke_core.py.

Python 3.15 has to wait: fastparquet and pyyaml publish no 3.15 wheels yet.

After merging, the next uv run or just recreates .venv on 3.14.

🤖 Generated with Claude Code

3.13 now gets security fixes only. Ship the core built on 3.14, test only
on 3.14 and require it.
With py314, ruff format rewrites `except (A, B):` without parentheses.
Pre-commit ran ruff 0.12.0 while CI runs the locked 0.16.2, so local
checks passed what CI rejected. With py314, ruff format writes
`except A, B:` without parentheses (PEP 758).
@clstaudt
clstaudt merged commit d6d6254 into main Oct 26, 2026
3 checks passed
@clstaudt
clstaudt deleted the python-3.14 branch October 26, 2026 19:12
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