Skip to content

Commit b93bf96

Browse files
committed
CI/RLS: update cibuildwheel workflow and macos images
1 parent 9758c86 commit b93bf96

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Build wheels
22

33
on:
4+
schedule:
5+
- cron: '42 8 2-30/2 * *' # At 08:42 UTC on every 2nd day-of-month
46
pull_request:
57
paths: # only run this with PRs that touch these files
68
- ".github/workflows/release.yml"
@@ -31,9 +33,9 @@ jobs:
3133
arch: aarch64
3234
- os: windows-2022
3335
arch: AMD64
34-
- os: macos-11
36+
- os: macos-13
3537
arch: x86_64
36-
macosx_deployment_target: "11.0"
38+
macosx_deployment_target: "13.0"
3739
cmake_osx_architectures: x86_64
3840
- os: macos-14
3941
arch: arm64
@@ -70,10 +72,8 @@ jobs:
7072
bash scripts/build_lib.sh
7173
7274
- name: Build wheels
73-
uses: pypa/cibuildwheel@v2.18.0
75+
uses: pypa/cibuildwheel@v2.19.2
7476
env:
75-
CIBW_BUILD: "cp39-*" # pick one version
76-
CIBW_SKIP: "*-musllinux*"
7777
CIBW_ARCHS: ${{ matrix.arch }}
7878
CIBW_ENVIRONMENT_MACOS:
7979
FC=gfortran-13

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ classifiers = [
2727
"Programming Language :: Python :: 3.9",
2828
"Programming Language :: Python :: 3.10",
2929
"Programming Language :: Python :: 3.11",
30+
"Programming Language :: Python :: 3.12",
3031
"Topic :: Scientific/Engineering :: Hydrology",
3132
]
3233
requires-python = ">=3.8"
@@ -57,10 +58,14 @@ version = {attr = "pypestutils.version.__version__"}
5758
include = ["pypestutils", "pypestutils.*"]
5859

5960
[tool.cibuildwheel]
60-
build-verbosity = "2"
61+
build = "cp39-*"
62+
build-verbosity = 3
6163
repair-wheel-command = "python scripts/repair_wheel.py -w {dest_dir} {wheel}"
6264
test-requires = "tox"
6365
test-command = "tox --conf {project} --installpkg {wheel}"
66+
test-skip = [
67+
"*-musllinux*",
68+
]
6469

6570
[tool.cibuildwheel.linux]
6671
before-build = [

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ env_list = py{38,39,310,311,312}
66
[testenv]
77
description = run unit tests
88
deps =
9-
pytest
9+
pytest>=6
1010
numpy
1111
pandas
1212
install_command =
1313
python -I -m pip install --only-binary=:all: {opts} {packages}
1414
ignore_errors = True
1515
ignore_outcome = True
1616
commands =
17-
pytest {posargs:tests}
17+
pytest --import-mode=importlib {posargs:tests}

0 commit comments

Comments
 (0)