summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/wheels.yml5
-rw-r--r--test_requirements.txt2
2 files changed, 1 insertions, 6 deletions
diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index c83fb4c6c..99e3b8425 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -59,7 +59,6 @@ jobs:
- os: ubuntu-latest
python: "310"
platform: manylinux_x86_64
- install_libffi_devel: "1"
# macos builds
- os: macos-latest
@@ -95,10 +94,6 @@ jobs:
CIBW_BUILD_VERBOSITY: 3
CIBW_BEFORE_BUILD: bash {project}/tools/wheels/cibw_before_build.sh {project}
CIBW_BEFORE_TEST: pip install -r {project}/test_requirements.txt
- # Installs libffi so that cffi can be built from source when needed
- CIBW_BEFORE_TEST_LINUX: >
- [[ "${{ matrix.install_libffi_devel }}" == "1" ]] && yum install -y libffi-devel;
- pip install -r {project}/test_requirements.txt
CIBW_TEST_COMMAND: bash {project}/tools/wheels/cibw_test_command.sh {project}
- uses: actions/upload-artifact@v2
diff --git a/test_requirements.txt b/test_requirements.txt
index 2301ed023..7300d5d33 100644
--- a/test_requirements.txt
+++ b/test_requirements.txt
@@ -7,7 +7,7 @@ pytz==2021.3
pytest-cov==3.0.0
pickle5; python_version == '3.7' and platform_python_implementation != 'PyPy'
# for numpy.random.test.test_extending
-cffi
+cffi; python_version <= '3.10'
# For testing types. Notes on the restrictions:
# - Mypy relies on C API features not present in PyPy
mypy==0.910; platform_python_implementation != "PyPy"