microsoft / mu_devops

Project Mu Developer Operations
https://microsoft.github.io/mu/
Other
26 stars 22 forks source link

Fix Python minor version and update to Python 3.12 [Rebase & FF] #259

Closed makubacki closed 11 months ago

makubacki commented 11 months ago

Because of the way the Python version was managed, pipelines already started picking up Python 3.12.

Also, tool like pytools are releasing 3.12 support. This change fixes the minor version to prevent unintentional minor version updates in the future and explicitly sets the minor version to 12.

This files synced from this PR should merged into repos after the pytools release is out with 3.12 support and this mu_basecore change is completed (https://github.com/microsoft/mu_basecore/pull/586). Though since pipelines already moved to 3.12 as-is, it won't make much of a practical difference.

Three commits:


Fix Python minor version

Set to Python 3.11 (current) but do not allow newer minor versions to be picked up unless explicitly specified.


Update to Python 3.12

Repos had already started picking up 3.12 because the minor version was previously not fixed. This change update the Python version to 3.12 to accelerate adoption and ensure compatibility.


.sync/Version.njk: Update Mu repos to Mu DevOps v7.0.0

Changes since last release: https://github.com/microsoft/mu_devops/compare/v6.5.1...v7.0.0

General release info: https://github.com/microsoft/mu_devops/releases