Skip to content

Commit

Permalink
Change build to from py38; use ignore_outcome = True; add py312
Browse files Browse the repository at this point in the history
  • Loading branch information
mwtoews committed Aug 20, 2023
1 parent 229e62b commit 9041825
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ci/install_libspatialindex.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ 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"
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",
Expand Down
8 changes: 6 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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}

0 comments on commit 9041825

Please sign in to comment.