Skip to content

{Packaging} Support Python 3.14#6

Closed
azure-cli-python-upgrade-bot[bot] wants to merge 1 commit into
devfrom
python-3.14-upgrade
Closed

{Packaging} Support Python 3.14#6
azure-cli-python-upgrade-bot[bot] wants to merge 1 commit into
devfrom
python-3.14-upgrade

Conversation

@azure-cli-python-upgrade-bot
Copy link
Copy Markdown

Automated Python upgrade: 3.13 → 3.14

This PR was opened by the Python Upgrade Agent. See
scripts/python_upgrade_agent/README.md
for the full design.

Embedded Python: 3.13.133.14.5 (latest stable patch on python.org)

Files updated (33)

  • .azure-pipelines/breaking-change-tests.yml — Update UsePythonVersion displayName to new minor for CI job.
  • .azure-pipelines/breaking-change-tests.yml — Update UsePythonVersion versionSpec to new minor for CI job.
  • .azure-pipelines/macos-standalone-release.yml — Update Homebrew Python version default for macOS standalone release to new minor.
  • .azure-pipelines/templates/macos/macos-build-jobs.yml — Update docstring comment to reflect new Homebrew Python minor version.
  • .azure-pipelines/templates/macos/macos-build-jobs.yml — Update Homebrew Python version default for macOS build jobs to new minor.
  • .azure-pipelines/templates/macos/macos-cask-generation-and-tests.yml — Update Homebrew Python version default for cask generation/tests to new minor.
  • .azure-pipelines/templates/macos/macos-publish-jobs.yml — Update Homebrew Python version default for macOS publish jobs to new minor.
  • .azure-pipelines/templates/macos/macos-sign-notarize-jobs.yml — Update Homebrew Python version default for macOS sign/notarize jobs to new minor.
  • azure-pipelines-full-tests.yml — Update job name to new minor for CI matrix policy.
  • azure-pipelines-full-tests.yml — Update displayName to new minor for CI matrix policy.
  • azure-pipelines-full-tests.yml — Update pythonVersion parameter to new minor for CI matrix policy.
  • azure-pipelines.yml — Update macos_cask_python_version parameter to new minor.
  • azure-pipelines.yml — Update UsePythonVersion displayName to new minor for CI job.
  • azure-pipelines.yml — Update UsePythonVersion versionSpec to new minor for CI job.
  • azure-pipelines.yml — Update matrix key to new minor for CI matrix policy.
  • azure-pipelines.yml — Update matrix python.version to new minor for CI matrix policy.
  • azure-pipelines.yml — Update Homebrew python_version variable to new minor.
  • build_scripts/windows/scripts/build.cmd — Update embedded Python version to new patch version for Windows build.
  • doc/command_guidelines.md — Update supported Python version range in documentation.
  • doc/extensions/authoring.md — Update supported Python version range in extension authoring documentation.
  • doc/extensions/authoring.md — Update example Python version in extension authoring documentation.
  • doc/install_linux_prerequisites.md — Update supported Python version range in Linux prerequisites documentation.
  • scripts/regression_test/regression_test.yml — Update UsePythonVersion versionSpec to new minor for regression test CI job.
  • scripts/regression_test/regression_test.yml — Update UsePythonVersion displayName to new minor for regression test CI job.
  • scripts/release/debian/build.sh — Update embedded Python version to new patch version for Debian build.
  • scripts/release/homebrew/docker/formula_generate.py — Update Homebrew Python version to new minor in formula generation script.
  • scripts/release/macos/build_binary_tar_gz.py — Update directory reference to new Python minor version in macOS build script.
  • scripts/release/macos/build_binary_tar_gz.py — Update default Python major.minor to new minor in macOS build script.
  • scripts/release/macos/cask_generate.py — Update example Python version in cask generation script.
  • src/azure-cli-core/setup.py — Add new minor to classifiers list (additive per rule 11).
  • src/azure-cli-telemetry/setup.py — Add new minor to classifiers list (additive per rule 11).
  • src/azure-cli-testsdk/setup.py — Add new minor to classifiers list (additive per rule 11).
  • src/azure-cli/setup.py — Add new minor to classifiers list (additive per rule 11).

Locations the agent did NOT update — please review

These are matches for the previous minor that the agent was uncertain about.
Tick each item once you've decided whether to bump it or leave as-is.

  • scripts/ci/test_extensions.sh @ line 28 — historical comment referencing past PR/issue; version is part of the recorded reason, not a live build target
    # serviceconnector-passwordless's dependency is not compatible with 3.13 https://github.com/Azure/azure-cli/pull/31895
  • src/azure-cli/HISTORY.rst @ line 717 — historical changelog entry; version is part of the historical record
    * Support Python 3.13 (#31895)
  • src/azure-cli/HISTORY.rst @ line 718 — historical changelog entry; version is part of the historical record
    * Bump embedded Python to 3.13.7 (#31928)
  • src/azure-cli/azure/cli/command_modules/batch/_command_type.py @ line 811 — comment describing compatibility across 3.13 and 3.14; not a live build target
    # Use get_args() to detect optional types (stable across Python 3.13 and 3.14)

Post-check: possible forgotten references

A deterministic sweep ran after the LLM's plan was applied in memory; the lines
below still match the previous minor and were not in the skipped list, so
they may have been overlooked. Please verify — these are most often historical
comments or test fixtures, but occasionally indicate a missed bump.

  • src/azure-cli-core/setup.py:41: 'Programming Language :: Python :: 3.13',
  • src/azure-cli-telemetry/setup.py:22: 'Programming Language :: Python :: 3.13',
  • src/azure-cli-testsdk/setup.py:21: 'Programming Language :: Python :: 3.13',
  • src/azure-cli/setup.py:48: 'Programming Language :: Python :: 3.13',

Agent metadata


This is Phase 1 of the agent: mechanical bumps only. CI failures are handed off
to humans. See the plan document for the full phased roadmap.

@github-actions
Copy link
Copy Markdown

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>

@YangAn-microsoft YangAn-microsoft deleted the python-3.14-upgrade branch May 24, 2026 01:26
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.

1 participant