From 4aeb5306d90875802825768d9cd47fef8b149b63 Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Mon, 29 Jul 2024 22:48:53 +0100 Subject: [PATCH] GitHub Actions: Install importlib_metadata --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 14898262..883257e8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,9 @@ jobs: sudo apt-get install python3 python3-setuptools python3-pip # Requires setuptools >= 62.1 for `python setup.py test`, as earlier versions # used a different build path to the .so file as located in tests/__init__.py - sudo pip3 install -U pytest numpy scipy setuptools>=62.1.0 + # 2024-07-29: Require importlib_metadata for now due to this: + # https://github.com/pypa/setuptools/issues/4478 + sudo pip3 install -U pytest numpy scipy setuptools>=62.1.0 importlib_metadata - name: Configure run: mkdir build && cd build && cmake .. - name: Make