Skip to content

Commit

Permalink
Maybe fix builds
Browse files Browse the repository at this point in the history
  • Loading branch information
TeamSpen210 committed Dec 15, 2023
1 parent d520e6b commit 118e14e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
9 changes: 7 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,13 @@ file = "src/srctools/_version.py"
[tool.cibuildwheel]
# Ensure both 32-bit and 64-bit are built
archs = "auto"
# Skip building on < 3.8, and on 32-bit Linux.
skip = ["cp37-*", "*-manylinux_i686", "*-musllinux_i686"]
# Skip building:
skip = [
"{cp,pp}{36,37}-*", # < Python 3.8
"*-{many,musl}linux_i686", # 32-bit linux (all)
"pp*_x86_64", # Pypy 32-bit
"{cp,pp}{39,310,311,312,313,314,315,316}-win32", # 32-bit on 3.9+
]

# After building, run tests to check it works.
before-test = "pip install -r test-requirements.txt"
Expand Down
4 changes: 3 additions & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ pytest>=7.3.2
pytest-datadir>=1.4.1
pytest-regressions>=2.4.2
dirty_equals >= 0.6
Pillow == 9.5.0 # 10.0 removes 32-bit wheels.
# 10.0+ removes 32-bit wheels.
Pillow == 9.5.0; python_version = '3.8'
Pillow > 10.0.0; python_version > '3.8'

0 comments on commit 118e14e

Please sign in to comment.