Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[build] Publish linux wheels for Python 3.13 #22580

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/_pages/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ that Conda is involved.

⁽³⁾ The Python version shown in the table is supported for all installation
channels. Additionally, when installing via ``pip``
on Ubuntu Python versions 3.10 through 3.12 (inclusive) are supported and
on Ubuntu Python versions 3.10 through 3.13 (inclusive) are supported and
on macOS Python versions 3.11 through 3.12 (inclusive) are supported.
Refer to [OS Support](/stable.html#os-support) for details on our "end of life"
timeline for changing which Python versions are supported.
Expand Down
4 changes: 2 additions & 2 deletions doc/_pages/release_playbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,11 @@ the main body of the document:
appropriate edits as follows:
* The version number
5. Click the box labeled "Attach binaries by dropping them here or selecting
them." and then choose for upload the **30** release files from
them." and then choose for upload the **33** release files from
``/tmp/drake-release/v1.N.0/...``:
- 9: 3 `.tar.gz` + 6 checksums
- 6: 2 `.deb` + 4 checksums
- 9: 3 linux `.whl` + 6 checksums
- 12: 4 linux `.whl` + 8 checksums
- 6: 2 macOS arm `.whl` + 4 checksums
* Note that on Jammy with `snap` provided Firefox, drag-and-drop from
Nautilus will fail, and drop all of your release page inputs typed so
Expand Down
1 change: 1 addition & 0 deletions tools/release_engineering/download_release_candidate.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ def _download_binaries(*, timestamp, staging, version):
f"drake-{version[1:]}-cp310-cp310-manylinux_2_35_x86_64.whl",
f"drake-{version[1:]}-cp311-cp311-manylinux_2_35_x86_64.whl",
f"drake-{version[1:]}-cp312-cp312-manylinux_2_35_x86_64.whl",
f"drake-{version[1:]}-cp312-cp313-manylinux_2_35_x86_64.whl",
f"drake-{version[1:]}-cp311-cp311-macosx_14_0_arm64.whl",
f"drake-{version[1:]}-cp312-cp312-macosx_14_0_arm64.whl",
# Deb filenames.
Expand Down
7 changes: 5 additions & 2 deletions tools/wheel/image/build-python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -eu -o pipefail

readonly VERSION=$1
readonly PREFIX=$2
readonly SHA=$3
readonly EXPECTED_SHA=$3

apt-get -y update
apt-get -y install --no-install-recommends \
Expand All @@ -23,7 +23,10 @@ mkdir -p $SRC_DIR
cd $SRC_DIR

wget $URL
echo "$SHA $ARCHIVE" | sha256sum -c
readonly ACTUAL_SHA=$(sha256sum $ARCHIVE | cut -d' ' -f1)
echo " Actual SHA: $ACTUAL_SHA"
echo " Expected SHA: $EXPECTED_SHA"
test $ACTUAL_SHA == $EXPECTED_SHA

tar --strip-components=1 -xf $ARCHIVE
rm $ARCHIVE
Expand Down
6 changes: 6 additions & 0 deletions tools/wheel/wheel_builder/linux.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@
test_platform=Platform('ubuntu', '24.04', 'noble'),
python_version_tuple=(3, 12, 0),
python_sha='795c34f44df45a0e9b9710c8c71c15c671871524cd412ca14def212e8ccb155d'), # noqa
Target(
build_platform=Platform('ubuntu', '22.04', 'jammy'),
# TODO(jwnimmer-tri) Switch testing to 25.04 once it's been released.
test_platform=Platform('ubuntu', '24.10', 'oracular'),
python_version_tuple=(3, 13, 0),
python_sha='086de5882e3cb310d4dca48457522e2e48018ecd43da9cdf827f6a0759efb07d'), # noqa
)
glibc_versions = {
'jammy': '2_35',
Expand Down