From bb263fd53158bd5fc3c78c129edadb1d6452eee3 Mon Sep 17 00:00:00 2001 From: Ryan May Date: Tue, 9 Jul 2024 08:57:55 -0700 Subject: [PATCH] CI: Fix conflict between Pillow 10.4.0 and Numpy 1.20 Should be fixed with the next Pillow release, but will also go away when we drop Numpy 1.20, which can happen shortly. --- .github/workflows/tests-pypi.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/tests-pypi.yml b/.github/workflows/tests-pypi.yml index c49e53ef653..d3bf4b6dd80 100644 --- a/.github/workflows/tests-pypi.yml +++ b/.github/workflows/tests-pypi.yml @@ -64,6 +64,9 @@ jobs: for dep in src: dep = dep.split(';')[0] out.write(dep.replace('>=', '==') + '\n') + # Only needed while we support numpy 1.20 + if fname == 'requirements.txt': + out.write('pillow!=10.4.0\n') EOF - name: Install from PyPI