Skip to content

Commit 78fdfc1

Browse files
authored
ci: avoid wheel warning with old setuptools (#849)
Need similar age packages. --------- Signed-off-by: Henry Schreiner <[email protected]>
1 parent 42936f4 commit 78fdfc1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,14 @@ jobs:
113113
&& matrix.python-version != 'pypy-3.7'
114114
run:
115115
uv pip install
116-
-e.[test,test-meta,test-numpy,test-schema,test-hatchling,wheels,cov]
116+
-e.[test,test-meta,test-numpy,test-schema,test-hatchling,wheels,cov,wheel-free-setuptools]
117117
--system
118118

119119
- name: Install package (pip)
120120
if:
121121
matrix.python-version == '3.7' || matrix.python-version == 'pypy-3.8'
122122
|| matrix.python-version == 'pypy-3.7'
123-
run: pip install -e.[test,test-meta,test-numpy,test-schema,wheels,cov]
123+
run: pip install -e.[test,test-meta,test-numpy,test-schema,wheels,cov,wheel-free-setuptools]
124124

125125
- name: Test package
126126
if: "!contains(matrix.python_version, 'pypy')"

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ docs = [
102102
"sphinx-inline-tabs",
103103
"sphinx-jsonschema",
104104
]
105+
wheel-free-setuptools = [
106+
'setuptools>=70.1; python_version>="3.8"',
107+
]
105108

106109
[project.urls]
107110
Changelog = "https://scikit-build-core.readthedocs.io/en/latest/changelog.html"

0 commit comments

Comments
 (0)