Skip to content

Commit 251a07d

Browse files
committed
tests: shorter names for Windows
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 2063408 commit 251a07d

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
if: matrix.python-version == 'pypy-3.8'
128128
run:
129129
pip install
130-
-e.[test,test-meta,test-numpy,test-schema,wheels,cov,wheel-free-setuptools]
130+
-e.[test,test-meta,test-numpy,test-schema,wheels,cov,wheel-free-setuptools] pytest-xdist
131131

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

docs/about/changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ CI and testing:
4848
- Update deployment a bit by @henryiii in #922
4949
- Use astral-sh/setup-uv instead by @henryiii in #923
5050
- Simpler noxfile by @henryiii in #924
51+
- Test on Linux ARM & Python 3.14 alphas by @henryiii in #1003
52+
- Support for parallel testing by @henryiii in #1004
5153

5254
Docs:
5355

src/scikit_build_core/setuptools/build_cmake.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def run(self) -> None:
115115
_validate_settings(settings)
116116

117117
build_tmp_folder = Path(self.build_temp)
118-
build_temp = build_tmp_folder / "_skbuild" # TODO: include python platform
118+
build_temp = build_tmp_folder / "_skbuild"
119119

120120
dist = self.distribution
121121
dist_source_dir = getattr(self.distribution, "cmake_source_dir", None)

tests/test_setuptools_pep517.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def test_pep517_wheel(virtualenv, tmp_path: Path):
101101
@pytest.mark.skipif(
102102
setuptools_version < Version("61.0"), reason="Requires setuptools 61+"
103103
)
104-
def test_toml_pep517_sdist(tmp_path: Path):
104+
def test_toml_sdist(tmp_path: Path):
105105
correct_metadata = textwrap.dedent(
106106
"""\
107107
Name: cmake-example
@@ -152,7 +152,7 @@ def test_toml_pep517_sdist(tmp_path: Path):
152152
@pytest.mark.skipif(
153153
setuptools_version < Version("61.0"), reason="Requires setuptools 61+"
154154
)
155-
def test_toml_pep517_wheel(virtualenv, tmp_path: Path):
155+
def test_toml_wheel(virtualenv, tmp_path: Path):
156156
dist = tmp_path / "dist"
157157
out = build_wheel(str(dist))
158158
(wheel,) = dist.glob("cmake_example-0.0.1-*.whl")
@@ -183,7 +183,7 @@ def test_toml_pep517_wheel(virtualenv, tmp_path: Path):
183183
@pytest.mark.compile
184184
@pytest.mark.configure
185185
@pytest.mark.usefixtures("package_mixed_setuptools")
186-
def test_pep517_mixed_wheel(virtualenv, tmp_path: Path):
186+
def test_mixed_wheel(virtualenv, tmp_path: Path):
187187
dist = tmp_path / "dist"
188188
out = build_wheel(str(dist))
189189
(wheel,) = dist.glob("mixed_setuptools-3.1.4-*.whl")

0 commit comments

Comments
 (0)