diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 8f035598c..3f90c04ab 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -36,7 +36,7 @@ jobs: fetch-depth: 0 - name: Build and test wheels - uses: pypa/cibuildwheel@v2.14.1 + uses: pypa/cibuildwheel@v2.15.0 with: package-dir: . output-dir: wheelhouse diff --git a/pyproject.toml b/pyproject.toml index 707b6b3c7..e218667bf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [tool.cibuildwheel] -skip = ["*-win32", "*_i686", "*-musllinux_*", "pp37-win_*", "pp310*"] # skip 32-bit builds and musllinux +skip = ["*-win32", "*_i686", "*-musllinux_*", "pp37-win_*", "pp310*", "cp312-*linux*"] # skip certain builds, including 32-bit, musllinux and others test-extras = ["test"] test-command = "pytest -s -v {package}/tests" diff --git a/setup.py b/setup.py index 8cd0246a7..85dca4c89 100755 --- a/setup.py +++ b/setup.py @@ -249,7 +249,8 @@ def path_to_src(source_path_list): package_dir = {"": src_dir}, packages = ["PyPop", "PyPop.xslt"], package_data={"PyPop.xslt": data_file_paths}, - install_requires = ["numpy", "lxml <= 4.9.3", "psutil", "importlib-resources; python_version <= '3.8'", "importlib-metadata; python_version <= '3.8'"], + install_requires = ["numpy <= 1.25.2; python_version <= '3.11'", "numpy >= 1.26b1; python_version > '3.11'", "lxml <= 4.9.3", "psutil", + "importlib-resources; python_version <= '3.8'", "importlib-metadata; python_version <= '3.8'"], extras_require={ "test": ['pytest'] },