From 904182587f60ed2522421d60cf811a0e8b0d52f8 Mon Sep 17 00:00:00 2001 From: Mike Taves Date: Sun, 20 Aug 2023 22:15:38 +1200 Subject: [PATCH] Change build to from py38; use ignore_outcome = True; add py312 --- ci/install_libspatialindex.bash | 2 +- pyproject.toml | 4 ++-- tox.ini | 8 ++++++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ci/install_libspatialindex.bash b/ci/install_libspatialindex.bash index 9df56b25..5900aefa 100755 --- a/ci/install_libspatialindex.bash +++ b/ci/install_libspatialindex.bash @@ -37,7 +37,7 @@ curl -L -O https://github.com/libspatialindex/libspatialindex/archive/$VERSION.z echo "${SHA256} ${VERSION}.zip" | sha256sum -c - rm -rf "libspatialindex-${VERSION}" || true -unzip $VERSION +unzip -q $VERSION cd libspatialindex-${VERSION} mkdir build diff --git a/pyproject.toml b/pyproject.toml index b6063da0..f6392d8a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,7 +51,7 @@ color = true skip_magic_trailing_comma = true [tool.cibuildwheel] -build = "cp39-*" +build = "cp38-*" build-verbosity = "3" repair-wheel-command = "python scripts/repair_wheel.py -w {dest_dir} {wheel}" test-requires = "tox" @@ -59,7 +59,7 @@ test-command = "tox --conf {project} --installpkg {wheel}" [tool.cibuildwheel.linux] archs = ["auto", "aarch64"] -# test-skip = "*-musllinux* *i686" +# test-skip = "*i686 musllinux_*_aarch64" before-all = [ "yum install -y cmake libffi-devel", "bash {project}/ci/install_libspatialindex.bash", diff --git a/tox.ini b/tox.ini index 395ed7cd..64e0be7e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,12 +1,16 @@ [tox] requires = tox>=4 -env_list = type, py{38,39,310,311} +env_list = py{38,39,310,311,312} [testenv] description = run unit tests deps = - pytest>=7 + pytest numpy +install_command = + python -I -m pip install --only-binary=:all: {opts} {packages} +ignore_errors = True +ignore_outcome = True commands = pytest {posargs:tests}