Skip to content

Commit e78db20

Browse files
committed
Limit setuptools versions as required for llvmlite wheel building
1 parent 3203b0c commit e78db20

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ environment-pass = ["LLVM_VERSION"]
5151
# We use miniconda3 to get the clang/llvm toolchain on Linux.
5252
before-build = ["rm -rf build dist src/*.egg-info"]
5353
skip = ["*-musllinux_*", "cp38-*"]
54+
# llvmlite needs setuptools < 82, and we may need to build from source, so we
55+
# ensure that setuptools is in the correct version range.
56+
test-requires = ["setuptools>=75.3,<82"]
5457
test-command = [
5558
# Run host OpenMP tests.
5659
"TEST_DEVICES=0 RUN_TARGET=0 python -m numba.runtests -v -- numba.openmp.tests.test_openmp",

0 commit comments

Comments
 (0)