From 5e7326dbb0268f33bdbb4d3dc0c1de1ad1bb1863 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Thu, 16 Jun 2022 09:13:58 +0200 Subject: [PATCH 1/2] Allow pip to install more recent llvmlite versions --- optional_requirements.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/optional_requirements.txt b/optional_requirements.txt index e8e1782ce..69c4d573a 100644 --- a/optional_requirements.txt +++ b/optional_requirements.txt @@ -1,4 +1,10 @@ pycparser z3-solver==4.8.7.0 -llvmlite==0.31.0 + +# llvmlite versions are compatible with a single LLVM version, +# see https://pypi.org/project/llvmlite/ +# To install a pre-built binary bundling the correct LLVM version, +# install 'wheel' before 'llvmlite' +llvmlite>=0.31.0 + parameterized~=0.8.1 From e454feb8589802e9156071b817bc3681e9866d8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Thu, 16 Jun 2022 11:08:31 +0200 Subject: [PATCH 2/2] GitHub Actions: install wheel to ensure prebuilt binaries --- .github/workflows/tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 49e10e600..ac51d8c7c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,6 +22,9 @@ jobs: - name: Update pip run: pip install pip --upgrade + - name: Update wheel + run: pip install wheel --upgrade + - name: Install requirements run: pip install -r requirements.txt