← Back to issue list

chore: prepare for Python 3.14

View original Github issue

Metadata

Project
craft-cli
Number
#377
Type
pull request
State
merged
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Merged to prepare for Python 3.14. Replaced the incompatible overrides module with standard typing and added Python 3.14 plus experimental free-threaded builds to CI. Approved by two reviewers with all CI checks passing.

Suggested action:

No scores available.

Issue body

This makes the needed changes for Python 3.14: 1. Removes the incompatible overrides module (uses typing instead) 2. Adds both Python 3.14 and the experimental free-threaded build to CI - [x] Have you followed the guidelines for contributing? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `make lint && make test`? ---

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged to prepare for Python 3.14. Replaced the incompatible overrides module with standard typing and added Python 3.14 plus experimental free-threaded builds to CI. Approved by two reviewers with all CI checks passing.
qwen3.6-35b-a3b-mtp-q6 Merged to prepare for Python 3.14. Replaced the incompatible overrides module with typing and added Python 3.14 plus free-threaded builds to CI. Passed lint and tests before successful merge by maintainer lengau.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#861 chore: prepare for Python 3.14 craft-application open Adds Python 3.14 and the experimental free-threaded build to CI (+3/-2, 2 files). Open 381 days with no review or comments; all test CI jobs failing. Author notes it must wait for PyO3 0.26; sibling craft-providers#808 is still open on the same blocker.
83%
#1435 chore: prepare for Python 3.14 craft-parts closed Superseded by pull request #1509. Python 3.14 preparation and Python 3.13 test removal were merged via the replacement PR instead.
82%
#808 chore: prepare for Python 3.14 craft-providers open PR adds Python 3.14 testing but is blocked on PyO3 0.26 and Pydantic 2.12. Inactive for 242 days with failing CI on Python 3.14 test jobs.
77%
#742 chore: move python version compatibility to 3.10 craft-parts merged Merged to update Python version compatibility to 3.10. Approved by two reviewers and rebased. Remaining Optional and Union typing constructs were removed, with further typing adjustments deferred to a separate PR.
75%
#1352 chore: bump minimum Python version to 3.10 charmcraft merged Merged after bumping the minimum Python version from 3.8 to 3.10. CI configurations were updated to Ubuntu 22.04 and Windows 2022. The maintainer bypassed branch protections to merge without squashing following two approvals.
71%