Skip to content

Commit aaee868

Browse files
committed
Test on 22.0.4
1 parent 604b832 commit aaee868

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

.github/workflows/benchmark.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
jobs:
2222
benchmark:
2323
name: Benchmark
24-
runs-on: [xlarge-24.04]
24+
runs-on: [xlarge-22.04]
2525
steps:
2626
- uses: actions/checkout@v4
2727
- name: Setup

.github/workflows/python.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
jobs:
1919
coverage:
2020
name: Test
21-
runs-on: ubuntu-24.04
21+
runs-on: ubuntu-22.04
2222
steps:
2323
- uses: actions/checkout@v4
2424

scripts/ci_prepare_python.bash

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
# This script prepares the environment for Python use in ubuntu 24.04 runners in CI.
2+
# This script prepares the environment for Python use in ubuntu 22.04 runners in CI.
33

44
set -ex
55

@@ -11,7 +11,7 @@ sudo add-apt-repository -y ppa:deadsnakes/ppa
1111
sudo apt-get -qq update
1212

1313
# Install Python 3.7, 3.9, 3.10, and the default Python 3 version
14-
# (Note: distutils is deprecated for default python on Ubuntu 24.04)
14+
# (Note: distutils is deprecated for default python on Ubuntu 22.04)
1515
sudo apt-get install -y \
1616
build-essential \
1717
zlib1g-dev \
@@ -33,7 +33,5 @@ sudo apt-get install -y \
3333
musl-tools \
3434
tox dpkg-dev wget
3535

36-
# --break-system-packages is only a temporary workaround for the workflows to run
37-
# Long term solution would be to create a dedicated virtual environments for each Python version
38-
# using uv
39-
pip3 install --break-system-packages wheel setuptools
36+
37+
pip3 install wheel setuptools

0 commit comments

Comments
 (0)