Skip to content

Commit a325e0f

Browse files
committed
alter setuptools version for older python and support mac
1 parent de4089b commit a325e0f

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/wheels.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ${{ matrix.os }}
99
strategy:
1010
matrix:
11-
os: [ubuntu-latest]
11+
os: [ubuntu-latest, macos-13, macos-latest]
1212

1313
steps:
1414
- uses: actions/checkout@v4
@@ -35,7 +35,6 @@ jobs:
3535
yum install -y openssl openssl-devel
3636
fi
3737
CIBW_BEFORE_BUILD_MACOS: "brew install openssl"
38-
CIBW_BUILD: "cp38-*"
3938
CIBW_SKIP: "pp*"
4039
- uses: actions/upload-artifact@v4
4140
with:

pyproject.toml

+6-1
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,10 @@ script = "build.py"
2727
generate-setup-file = true
2828

2929
[build-system]
30-
requires = ["poetry-core", "pybind11", "setuptools==65.5.0"]
30+
requires = [
31+
"poetry-core",
32+
"pybind11",
33+
'setuptools; python_version >= "3.10"',
34+
'setuptools == 65.5.0; python_version <= "3.9"'
35+
]
3136
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)