From 67c42468cb859016a01a2ce0d7465a8d7368ce04 Mon Sep 17 00:00:00 2001 From: Michael Bradley Date: Sun, 23 Feb 2025 05:09:09 -0500 Subject: [PATCH 1/2] Revert "Use apt to install Python modules for actions" This reverts commit 53361619b9e550bbe833e11e79b6ef1e0a305a99. --- .forgejo/workflows/build.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 26645b2..78f420c 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -42,7 +42,8 @@ jobs: cache: pip - name: Set up Python environment run: | - apt-get install python3-pip python3-setuptools python3-wheel python3-venv + curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py + python3 get-pip.py python3 -m venv venv source venv/bin/activate pip install -r requirements.txt From 3dc294206651f1656f16fe6aac164991eaf2ef2b Mon Sep 17 00:00:00 2001 From: Michael Bradley Date: Sun, 23 Feb 2025 05:14:08 -0500 Subject: [PATCH 2/2] Try using virtualenv for build action --- .forgejo/workflows/build.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 78f420c..3bf18e8 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -44,7 +44,8 @@ jobs: run: | curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python3 get-pip.py - python3 -m venv venv + python3 -m pip install virtualenv + python3 -m virtualenv venv source venv/bin/activate pip install -r requirements.txt - name: Set up Rust