{Packaging} Bump embedded Python to 3.13.13#33201
Conversation
️✔️AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
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). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
There was a problem hiding this comment.
Pull request overview
Updates the embedded Python version used by the packaging/build scripts to keep produced CLI artifacts current and incorporate upstream security/runtime fixes.
Changes:
- Bump Debian packaging build script Python source version from 3.13.11 to 3.13.13.
- Bump Windows MSI build script embedded Python version from 3.13.11 to 3.13.13.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| scripts/release/debian/build.sh | Updates the CPython source tarball version used to build the Debian packaging Python runtime. |
| build_scripts/windows/scripts/build.cmd | Updates the python.org embedded Python ZIP version used for Windows MSI/ZIP builds. |
Comments suppressed due to low confidence (1)
scripts/release/debian/build.sh:22
- PR description says OpenSSL is being updated to 3.0.1, but this Debian build script still just installs the distro-provided
libssl-dev(no OpenSSL version pin) and only bumps the CPython source tarball version. If the intent is to remediate a specific OpenSSL CVE, please either (a) update the build container/base image or add explicit OpenSSL version control, or (b) adjust the PR description/history note to reflect what actually changes (Python bump only, with OpenSSL coming from the OS).
PYTHON_VERSION="3.13.13"
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Update APT packages
apt-get update
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| set PYTHON_VERSION=3.13.13 | ||
|
|
||
| set WIX_DOWNLOAD_URL="https://azurecliprod.blob.core.windows.net/msi/wix310-binaries-mirror.zip" | ||
| set PYTHON_DOWNLOAD_URL="https://www.python.org/ftp/python/%PYTHON_VERSION%/python-%PYTHON_VERSION%-embed-%PYTHON_ARCH%.zip" |
There was a problem hiding this comment.
PR description mentions updating OpenSSL to 3.0.1, but this script only changes the embedded Python download version. Since OpenSSL is bundled with the Python embed distribution (and isn't controlled here), please clarify in the PR description which OpenSSL version is expected via Python 3.13.13, or add verification/metadata updates if the OpenSSL version is part of the intended fix.
Description
Bump Python to latest version.
Update OpenSSL to 3.0.19: python/cpython#144551
History Notes
[Core] Resolve CVE-2025-15467