Skip to content

Commit efa09b5

Browse files
committed
try to repair GHA-CI (update versions, pip install using --break-system-packages, etc)
1 parent 7fa91c8 commit efa09b5

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,28 @@ permissions:
1414

1515
jobs:
1616
build:
17-
runs-on: ubuntu-20.04
17+
runs-on: ubuntu-latest
1818
concurrency:
1919
group: ${{ github.workflow }}-${{ matrix.python }}-${{ github.ref }}
2020
cancel-in-progress: true
2121
strategy:
2222
fail-fast: false
2323
matrix:
2424
python: [
25-
"3.7",
2625
"3.8",
2726
"3.9",
2827
"3.10",
29-
"3.11.0-rc.1",
28+
"3.11",
29+
"3.12",
30+
"3.13"
3031
]
3132
name: Python ${{ matrix.python }}
3233
steps:
3334
- name: Repository checkout
34-
uses: actions/checkout@v2
35+
uses: actions/checkout@v4
3536

3637
- name: Configure Python ${{ matrix.python }}
37-
uses: actions/setup-python@v2
38+
uses: actions/setup-python@v5
3839
with:
3940
python-version: ${{ matrix.python }}
4041
architecture: x64
@@ -43,7 +44,7 @@ jobs:
4344
run: |
4445
sudo apt -y update
4546
sudo apt -y install gcc libsystemd-dev
46-
python -m pip install pytest sphinx
47+
python -m pip install --break-system-packages pytest sphinx
4748
4849
- name: Build (Python ${{ matrix.python }})
4950
run: |

.github/workflows/install.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ jobs:
6666
exit 1
6767
esac
6868
69-
python3 -m pip install pytest sphinx
69+
python3 -m pip install --break-system-packages pytest sphinx
7070
7171
- name: Build & install
7272
shell: bash
7373
run: |
7474
set -x
75-
python3 -m pip install -I -v .
75+
python3 -m pip install --break-system-packages -I -v .
7676
# Avoid importing the systemd module from the git repository
7777
cd /
7878
python3 -c 'from systemd import journal; print(journal.__version__)'

0 commit comments

Comments
 (0)