Skip to content

Commit

Permalink
Merge pull request #126 from tlambert03/bump-action
Browse files Browse the repository at this point in the history
ci: bump version of cibuildwheel
  • Loading branch information
marktsuchida authored Jan 17, 2025
2 parents 369573b + 971837f commit a12cd74
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "ci(dependabot):"
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, windows-2022]
os: [ubuntu-latest, windows-latest]
include:
- os: macos-12
- os: macos-13
macos_arch: "x86_64"
- os: macos-12
- os: macos-latest
macos_arch: "arm64"

steps:
Expand All @@ -89,8 +89,9 @@ jobs:
toolset: "14.2"

- name: Build wheels
uses: pypa/cibuildwheel@v2.19
uses: pypa/cibuildwheel@v2.22
env:
CIBW_VERBOSE: 1
CIBW_ARCHS_MACOS: "${{ matrix.macos_arch }}"
# Python on Linux is usually configured to add debug information,
# which increases binary size by ~11-fold. Remove for the builds we
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# https://peps.python.org/pep-0517/
[build-system]
requires = ["setuptools ==72.1.0", "swig >=4.1", "numpy>=2.0.0"]
requires = ["setuptools ==72.1.0", "swig ==4.2.1", "numpy>=2.0.0"]
build-backend = "setuptools.build_meta"

# https://peps.python.org/pep-0621/
Expand Down Expand Up @@ -57,6 +57,8 @@ test-skip = "*-macosx_arm64"
[tool.cibuildwheel.macos]
# https://cibuildwheel.readthedocs.io/en/stable/faq/#apple-silicon
archs = ["x86_64", "arm64"]
# Needed for C++17 support on macOS
environment = { MACOSX_DEPLOYMENT_TARGET = "10.14" }

[tool.check-manifest]
ignore = [".editorconfig", "Dockerfile", "maintainer-notes.md", ".gitmodules"]

0 comments on commit a12cd74

Please sign in to comment.