← Back to issue list

chore: drop ubuntu 20.04 and python 3.8

View original Github issue

Metadata

Project
rockcraft
Number
#381
Type
pull request
State
merged
Author
tigarmo
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #381 (commit 87c0f1f9) by tigarmo: dropped Ubuntu 20.04 and Python 3.8 support, bumping requires-python to >=3.10 in pyproject.toml and adding Python 3.12 to CI test matrix.

Resolution: closed resolved

Reason: The PR was approved by 2 reviewers and merged as commit 87c0f1f9. The change is verified in the current tree: pyproject.toml sets requires-python = ">= 3.10" and qa.yaml sets fast-test-python-versions to '["3.10", "3.12"]'. Note this only affects rockcraft's own runtime, not the ability to build ubuntu:20.04 images.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This commit bumps the minimum required Python version to 3.10. Note that the application can still build ubuntu:20.04 images, this is about the code of the application itself. Also add 3.12 testing on CI since that'll be the new standard version in ubuntu 24.04. - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #381 (commit 87c0f1f9) by tigarmo: dropped Ubuntu 20.04 and Python 3.8 support, bumping requires-python to >=3.10 in pyproject.toml and adding Python 3.12 to CI test matrix.
stealth/space-bunny-alpha — closed resolved Merged PR #381 as commit 87c0f1f9, raising the minimum Python version to 3.10, retiring Ubuntu 20.04/Python 3.8 support, and adding Python 3.12 CI testing.
qwen/qwen3.6-35b-a3b — — Merged following reviewer approval and passing CI. Dropped Ubuntu 20.04 and Python 3.8 support, raising the minimum Python requirement to 3.10. Added Python 3.12 to CI pipelines to match Ubuntu 24.04 standards. Modified 8 files.
qwen3.6-35b-a3b-mtp-q6 — — Merged maintainer tigarmo's PR dropping Ubuntu 20.04 and Python 3.8 support. Minimum Python is now 3.10, with 3.12 added to CI for Ubuntu 24.04. Applies to the application codebase, not the images it builds.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#318 drop support for old python versions craft-cli closed Minimum Python raised to 3.10 in merged PR #320 (commit c35189b, 'chore!: bump minimum python version to 3.10'), dropping 3.8/3.9; pyproject.toml now has requires-python >=3.10.
74%
#742 chore: move python version compatibility to 3.10 craft-parts merged Merged PR canonical/craft-parts#742 (a80f9c26): raises craft-parts Python floor to 3.10 across packaging, code and typing cleanups (Optional/Union removed); pyproject.toml now declares requires-python >=3.10.
72%
#4425 chore: migrate dev environment to ubuntu 22.04 and python 3.10 snapcraft merged Merged PR #4425, updating Snapcraft's development environment to Ubuntu 22.04 and Python 3.10 in commit f6bbea56f.
72%
#62 chore: reduce minimum Python version to 3.8 craft-platforms merged Merged PR #62 reduced craft-platforms' minimum Python version to 3.8, enabling Launchpad use before its Python 3.10 migration; documentation follow-up was linked to #63.
71%