Skip to content

Commit 7b74bb5

Browse files
authored
Merge pull request #5 from GeoStat-Framework/add_more_wheels
CI/CD: add more wheels
2 parents daf210d + fd423fe commit 7b74bb5

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

.github/workflows/main.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ jobs:
5858
strategy:
5959
fail-fast: false
6060
matrix:
61-
# macos-13 is an intel runner, macos-14 is apple silicon
62-
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
61+
# macos-13 is an intel runner, macos-latest is apple silicon
62+
os: [ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-13, macos-latest]
6363

6464
steps:
6565
- uses: actions/checkout@v4
@@ -85,16 +85,13 @@ jobs:
8585
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
8686
# https://github.com/scipy/oldest-supported-numpy/blob/main/setup.cfg
8787
ver:
88-
- { py: "3.8", np: "==1.20.0" }
8988
- { py: "3.9", np: "==1.20.0" }
9089
- { py: "3.10", np: "==1.21.6" }
9190
- { py: "3.11", np: "==1.23.2" }
9291
- { py: "3.12", np: "==1.26.2" }
9392
- { py: "3.13", np: "==2.1.0" }
9493
- { py: "3.13", np: ">=2.1.0" }
9594
exclude:
96-
- os: macos-14
97-
ver: { py: "3.8", np: "==1.20.0" }
9895
- os: macos-14
9996
ver: { py: "3.9", np: "==1.20.0" }
10097
- os: macos-14

pyproject.toml

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
[build-system]
22
requires = [
33
"setuptools>=64",
4+
"setuptools<72.2; implementation_name == 'pypy'", # https://github.com/pypa/distutils/issues/283
45
"setuptools_scm>=7",
5-
"numpy>=2.0.0rc1; python_version >= '3.9'",
6-
"oldest-supported-numpy; python_version < '3.9'",
6+
"numpy>=2.0.0rc1",
77
"Cython>=3.0.10,<3.1.0",
88
"extension-helpers>=1",
99
]
1010
build-backend = "setuptools.build_meta"
1111

1212
[project]
13-
requires-python = ">=3.8"
13+
requires-python = ">=3.9"
1414
name = "gstools_cython"
1515
description = "Cython backend for GSTools."
1616
authors = [
@@ -33,7 +33,6 @@ classifiers = [
3333
"Programming Language :: Python",
3434
"Programming Language :: Python :: 3",
3535
"Programming Language :: Python :: 3 :: Only",
36-
"Programming Language :: Python :: 3.8",
3736
"Programming Language :: Python :: 3.9",
3837
"Programming Language :: Python :: 3.10",
3938
"Programming Language :: Python :: 3.11",
@@ -91,11 +90,11 @@ multi_line_output = 3
9190

9291
[tool.black]
9392
target-version = [
94-
"py38",
9593
"py39",
9694
"py310",
9795
"py311",
9896
"py312",
97+
"py313",
9998
]
10099

101100
[tool.coverage]
@@ -144,8 +143,10 @@ target-version = [
144143
[tool.cibuildwheel]
145144
# Switch to using build
146145
build-frontend = "build"
147-
# Disable building PyPy wheels on all platforms, 32bit for py3.10/11/12, musllinux builds, py3.6/7
148-
skip = ["cp36-*", "cp37-*", "pp*", "*-win32", "*-manylinux_i686", "*-musllinux_*"]
146+
# explicitly enable pypy
147+
enable = ["pypy"]
148+
# Disable building py3.6/7/8, pp3.8, 32bit linux
149+
skip = ["cp36-*", "cp37-*", "cp38-*", "pp38-*", "*_i686"]
149150
# Run the package tests using `pytest`
150151
test-extras = "test"
151152
test-command = "pytest -v {package}/tests"

0 commit comments

Comments
 (0)