Skip to content

{Packaging} Support Python 3.14 in CI, packaging, and metadata#33313

Draft
YangAn-microsoft wants to merge 1 commit into
Azure:devfrom
YangAn-microsoft:feature/python314-support
Draft

{Packaging} Support Python 3.14 in CI, packaging, and metadata#33313
YangAn-microsoft wants to merge 1 commit into
Azure:devfrom
YangAn-microsoft:feature/python314-support

Conversation

@YangAn-microsoft
Copy link
Copy Markdown
Contributor

@YangAn-microsoft YangAn-microsoft commented May 4, 2026

Description

Bumps Azure CLI's officially supported Python version from 3.13 to 3.14 across all CI pipelines, packaging scripts, package metadata, and documentation.

CI pipelines (azure-pipelines.yml, azure-pipelines-full-tests.yml, breaking-change-tests.yml, regression_test.yml):

  • Change versionSpec from 3.133.14 in all primary jobs (CheckStyle, BreakingChangeTest, RegressionTest, dependency-check, etc.)
  • Add Python314: python.version: '3.14' matrix entry to multi-version test jobs (alongside 3.12 and 3.13)
  • Add AutomationFullTestPython314ProfileLatest job to the full-test pipeline

Windows packaging (build_scripts/windows/scripts/build.cmd):

  • Bump embedded Python from 3.13.133.14.4

Debian packaging (scripts/release/debian/build.sh):

  • Bump PYTHON_VERSION from 3.13.133.14.4

macOS packaging (macos-standalone-release.yml, macos-build-jobs.yml, macos-cask-generation-and-tests.yml, macos-publish-jobs.yml, macos-sign-notarize-jobs.yml, formula_generate.py, build_binary_tar_gz.py, cask_generate.py):

  • Bump all PythonVersion defaults and PYTHON_VERSION/PYTHON_MAJOR_MINOR constants from 3.133.14

Package metadata (src/azure-cli/setup.py, src/azure-cli-core/setup.py, src/azure-cli-telemetry/setup.py, src/azure-cli-testsdk/setup.py):

  • Add Programming Language :: Python :: 3.14 PyPI classifier

Documentation (doc/command_guidelines.md, doc/extensions/authoring.md, doc/install_linux_prerequisites.md, scripts/ci/test_extensions.sh):

  • Update supported version range from 3.10 ~ 3.13 to 3.10 ~ 3.14

Testing Guide

Run the CI pipeline on this PR and verify Python 3.14 jobs pass.

History Notes

No customer-facing changes. Internal CI, packaging, and compatibility only.

@azure-client-tools-bot-prd
Copy link
Copy Markdown

azure-client-tools-bot-prd Bot commented May 4, 2026

️✔️AzureCLI-FullTest
️✔️acr
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️acs
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️ams
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️apim
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️aro
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️backup
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️batch
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️billing
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️cdn
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️config
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️configure
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️container
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️core
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️databoxedge
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️dls
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️dms
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️find
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️identity
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️iot
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️keyvault
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️lab
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️maps
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️network
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️postgresql
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️profile
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️redis
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️relay
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️resource
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️role
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️search
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️security
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️sql
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️storage
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️telemetry
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️util
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14
️✔️vm
️✔️latest
️✔️3.12
️✔️3.13
️✔️3.14

@azure-client-tools-bot-prd
Copy link
Copy Markdown

azure-client-tools-bot-prd Bot commented May 4, 2026

️✔️AzureCLI-BreakingChangeTest
️✔️Non Breaking Changes

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented May 4, 2026

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

@microsoft-github-policy-service microsoft-github-policy-service Bot added the Auto-Assign Auto assign by bot label May 4, 2026
@YangAn-microsoft YangAn-microsoft changed the title Support Python 3.14 in CI, packaging, and metadata [Packaging] Support Python 3.14 in CI, packaging, and metadata May 5, 2026
@YangAn-microsoft YangAn-microsoft changed the title [Packaging] Support Python 3.14 in CI, packaging, and metadata {Packaging} Support Python 3.14 in CI, packaging, and metadata May 5, 2026
@YangAn-microsoft YangAn-microsoft force-pushed the feature/python314-support branch 2 times, most recently from 986de78 to dac4c3c Compare May 9, 2026 01:19
@YangAn-microsoft YangAn-microsoft force-pushed the feature/python314-support branch from 333da22 to 333ad06 Compare May 15, 2026 04:13
@YangAn-microsoft
Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 3 pipeline(s).

@YangAn-microsoft YangAn-microsoft force-pushed the feature/python314-support branch from 333ad06 to e074966 Compare May 17, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants