Skip to content

Bump minimum Python version to 3.11#62421

Merged
nyalldawson merged 2 commits intoqgis:masterfrom
nyalldawson:bump_min_python_version
Jun 27, 2025
Merged

Bump minimum Python version to 3.11#62421
nyalldawson merged 2 commits intoqgis:masterfrom
nyalldawson:bump_min_python_version

Conversation

@nyalldawson
Copy link
Copy Markdown
Collaborator

Resurrect #56499

This was previously blocked by the mac packaging stuck on a very old python version, but that's no longer a consideration thanks to @m-kuhn's great efforts!

@github-actions github-actions bot added this to the 3.46.0 milestone Jun 25, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jun 25, 2025

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit 32f1d50)

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit 32f1d50)

🍎 MacOS Qt6 builds

Download MacOS Qt6 builds of this PR for testing.
This installer is not signed, control+click > open the app to avoid the warning
(Built from commit 32f1d50)

@agiudiceandrea
Copy link
Copy Markdown
Member

agiudiceandrea commented Jun 26, 2025

Maybe documentation_check fails because it installs Python 3.10:

  documentation_checks:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4
      - name: Set up Python 3.10
        uses: actions/setup-python@v5
        with:
          python-version: '3.10'

To fix it:

diff --git a/.github/workflows/code_layout.yml b/.github/workflows/code_layout.yml
index 57b97153188f..139e94d5c6ff 100644
--- a/.github/workflows/code_layout.yml
+++ b/.github/workflows/code_layout.yml
@@ -24,10 +24,10 @@ jobs:
     steps:
       - name: Checkout
         uses: actions/checkout@v4
-      - name: Set up Python 3.10
+      - name: Set up Python 3.12
         uses: actions/setup-python@v5
         with:
-          python-version: '3.10'
+          python-version: '3.12'
       - name: Install requirements
         run: |
           wget https://www.doxygen.nl/files/doxygen-${DOXYGEN_VERSION}.linux.bin.tar.gz

@nyalldawson nyalldawson merged commit e388375 into qgis:master Jun 27, 2025
42 of 43 checks passed
@nyalldawson nyalldawson deleted the bump_min_python_version branch June 27, 2025 04:18
@3nids 3nids modified the milestones: 3.46.0, 4.0.0 Aug 1, 2025
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.

4 participants