From c9abbdb89f74903721b4eb375ba4a6910f6dd1f5 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Sun, 17 Dec 2023 22:30:25 +0100 Subject: [PATCH] GitHub CI: ensure setuptools is installed Looks like setuptools is no longer installed by default on recent Python versions - 3.12 more precisely: https://github.com/iustin/pyxattr/actions/runs/7236053321/job/19714175539, which says: ``` Run python ./setup.py build_ext -i Traceback (most recent call last): File "/Users/runner/work/pyxattr/pyxattr/./setup.py", line 5, in from setuptools import setup, Extension ModuleNotFoundError: No module named 'setuptools' ``` So let's explicitly install it for CI runs. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 619a302..de04b93 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,6 +62,7 @@ jobs: - name: Install dependencies run: | + pip install setuptools pip install pytest pip install sphinx pip install recommonmark -- 2.39.2