Skip to content

[Bug] Adjust Windows CI workflows for Python 3.12 #3596

@echoix

Description

@echoix

Describe the bug

OSGeo4W has updated the base packages. The biggest change is using Python 3.12 instead of Python 3.9. It builds the grass package successfully there.

Here, not the same script is used, and the Python version is hardcoded in a couple of places, thus failing ALL windows jobs.

To Reproduce

  1. Se recent Windows runs, like https://github.com/OSGeo/grass/actions/runs/8681515856 or https://github.com/OSGeo/grass/actions/runs/8687022235

Expected behavior

Python 3.9 not hardcoded, workflows work.

Additional context

Maybe check if the package list is still up to date. Some packages compiles with VS2022, is it time to change to windows 2022 runner? (The 2022 doesn't have to match though)

See https://lists.osgeo.org/pipermail/grass-dev/2024-April/096271.html for the explanation that not the same script is used, thus why ours fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CIContinuous integrationbugSomething isn't workingwindowsMicrosoft Windows specific

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions