Bug 1930713 - add python wheels for ubuntu 24.04. r=gerard-majax

Differential Revision: https://phabricator.services.mozilla.com/D239992
This commit is contained in:
Julien Cristau
2025-04-14 08:32:50 +00:00
parent 89066d71c4
commit 03a4ef7d72
5 changed files with 29 additions and 1 deletions

View File

@@ -81,6 +81,10 @@ tasks:
symbol: I(ub22-build-python-wheels)
parent: ubuntu2204-base
definition: build-python-wheels
ubuntu2404-build-python-wheels:
symbol: I(ub24-build-python-wheels)
parent: ubuntu2404-base
definition: build-python-wheels
# Neither the ubuntu2004-*raw nor the ubuntu2004-*packages images can have
# packages dependencies.
ubuntu2004-raw:

View File

@@ -120,6 +120,12 @@ test-verify:
- linux64-fix-stacks
- linux-python-dbusmock
- linux64-2204-dbus-python
linux2404.*:
- linux64-node
- linux64-minidump-stackwalk
- linux64-fix-stacks
- linux-python-dbusmock
- linux64-2404-dbus-python
macosx.*:
- macosx64-node
- macosx64-minidump-stackwalk

View File

@@ -163,6 +163,12 @@ xpcshell:
- linux64-fix-stacks
- linux-python-dbusmock
- linux64-2204-dbus-python
linux2404.*:
- linux64-node
- linux64-minidump-stackwalk
- linux64-fix-stacks
- linux-python-dbusmock
- linux64-2404-dbus-python
macosx.*:
- macosx64-node
- macosx64-minidump-stackwalk

View File

@@ -39,6 +39,17 @@ linux64-2204-dbus-python:
worker:
docker-image: {in-tree: ubuntu2204-build-python-wheels}
linux64-2404-dbus-python:
treeherder:
symbol: TL(py3.12-dbus-python)
fetches:
fetch:
- dbus-python-1.3.2
run:
toolchain-artifact: public/build/dbus_python-1.3.2-cp312-cp312-linux_x86_64.whl
worker:
docker-image: {in-tree: ubuntu2404-build-python-wheels}
linux-python-dbusmock:
treeherder:
symbol: TL(py-python-dbusmock)

View File

@@ -17,7 +17,8 @@ WHEEL_DIR=$(find "$MOZ_FETCHES_DIR/" -maxdepth 1 -mindepth 1 -type d -not -name
export PATH="$MOZ_FETCHES_DIR/python/bin":/builds/worker/.local/bin:$PATH
python3 -m pip install --upgrade pip==23.0
python3 -m venv venv
. venv/bin/activate
python3 -m pip install -r "${GECKO_PATH}/build/wheel_requirements.txt"
cd "$WHEEL_DIR"