Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/.github/workflows/python-build.yml
diff options
context:
space:
mode:
authorcodefiles <11915375+codefiles@users.noreply.github.com>2023-06-28 08:51:07 -0400
committerGitHub <noreply@github.com>2023-06-28 14:51:07 +0200
commit0785b35eb4fb5ce9a1182f3579ed673aa96b8f9f (patch)
tree10ff53e6891da1e9a66a780e293e54cfc4c5bb97 /.github/workflows/python-build.yml
parent5b102b0228e8ffce81341bb2bf771a082d8263c4 (diff)
Bump Python in workflow (#1863)
* Bump Python in workflow * Attempting fix to build runner failing * Appended --break-system-packages since the new changes was introduced in Arch --------- Co-authored-by: Anton Hvornum <anton@hvornum.se>
Diffstat (limited to '.github/workflows/python-build.yml')
-rw-r--r--.github/workflows/python-build.yml15
1 files changed, 4 insertions, 11 deletions
diff --git a/.github/workflows/python-build.yml b/.github/workflows/python-build.yml
index 950ff8f4..f51ff887 100644
--- a/.github/workflows/python-build.yml
+++ b/.github/workflows/python-build.yml
@@ -12,23 +12,16 @@ jobs:
options: --privileged
steps:
- uses: actions/checkout@v3
- - name: Set up Python
- uses: actions/setup-python@v4
- with:
- python-version: '3.10'
- name: Prepare arch
run: |
pacman-key --init
pacman --noconfirm -Sy archlinux-keyring
- pacman --noconfirm -Sy python-pyparted pkgconfig gcc
+ pacman --noconfirm -Sy python-pip python-pyparted python-simple-term-menu pkgconfig gcc
- name: Install build dependencies
run: |
- python -m pip install --upgrade pip
- pip install --upgrade build twine wheel setuptools installer
- pip uninstall archinstall -y
- - name: Install package dependencies
- run: |
- pip install --upgrade simple-term-menu pyparted
+ python -m pip install --break-system-packages --upgrade pip
+ pip install --break-system-packages --upgrade build twine wheel setuptools installer
+ pip uninstall archinstall -y --break-system-packages
- name: Build archinstall
run: python -m build --wheel --no-isolation
- name: Install archinstall