From 0785b35eb4fb5ce9a1182f3579ed673aa96b8f9f Mon Sep 17 00:00:00 2001 From: codefiles <11915375+codefiles@users.noreply.github.com> Date: Wed, 28 Jun 2023 08:51:07 -0400 Subject: 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 --- .github/workflows/python-build.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to '.github/workflows') 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 -- cgit v1.2.3-54-g00ecf