-
I build my wheels with jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Build wheels
uses: pypa/cibuildwheel@v2.16.1
env:
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: "pytest {project}/tests"
CIBW_ARCHS_MACOS: x86_64 arm64 My [tool.cibuildwheel]
build-verbosity = 1
test-requires = "pytest"
test-command = "pytest {project}/tests"
# Needed for full C++17 support
[tool.cibuildwheel.macos.environment]
MACOSX_DEPLOYMENT_TARGET = "10.14" Curiously, on macOS it reports
Apparently it falls back to the ancient macOS 10.9, causing further problems down the line. Any idea why this might be happening? |
Beta Was this translation helpful? Give feedback.
Answered by
henryiii
Oct 4, 2023
Replies: 2 comments 9 replies
-
CPython only ships a 10.9 binary. It works for future macOS. What problem are you having? |
Beta Was this translation helpful? Give feedback.
9 replies
-
This issue re-appears with the newest GitHub CI runners - |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, it's supported this way, the problem is the environment is set to CFLAGS/CXXFLAGS, and the MACOSX_DEPLOYMENT_TARGET is not present, since the environment variable has overridden the toml file setting.
Would fix it, for example.