Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,13 @@ jobs:
run:
uv pip install
-e.[test,test-meta,test-numpy,test-schema,test-hatchling,wheels,cov,wheel-free-setuptools]
pytest-xdist --system
--system

- name: Install package (pip)
if: matrix.python-version == 'pypy-3.8'
run:
pip install
-e.[test,test-meta,test-numpy,test-schema,wheels,cov,wheel-free-setuptools]
pytest-xdist

- name: Test package
if: "!contains(matrix.python_version, 'pypy')"
Expand Down Expand Up @@ -203,7 +202,7 @@ jobs:
run: pip list

- name: Test min package
run: pytest -ra --showlocals -Wdefault
run: pytest -n auto -ra --showlocals -Wdefault

manylinux:
name: Manylinux on 🐍 3.13 • Free-threaded
Expand All @@ -223,7 +222,7 @@ jobs:
run: /venv/bin/pip install -e .[test] ninja

- name: Test package
run: /venv/bin/pytest
run: /venv/bin/pytest -n auto

cygwin:
name: Tests on 🐍 3.9 • cygwin
Expand All @@ -247,7 +246,7 @@ jobs:

- name: Test package
run:
python3.9 -m pytest -ra --showlocals -m "not virtualenv"
python3.9 -m pytest -n auto -ra --showlocals -m "not virtualenv"
--durations=20

msys:
Expand Down Expand Up @@ -280,7 +279,7 @@ jobs:

- name: Test package
run: >-
python -m pytest -ra --showlocals -m "not broken_on_urct"
python -m pytest -n auto -ra --showlocals -m "not broken_on_urct"
--durations=20

mingw64:
Expand Down Expand Up @@ -313,7 +312,8 @@ jobs:

- name: Test package
run: >-
python -m pytest -ra --showlocals -m "not setuptools" --durations=20
python -m pytest -n augo -ra --showlocals -m "not setuptools"
--durations=20
env:
SETUPTOOLS_USE_DISTUTILS: "local"

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ strict-config = true
experimental = false

# If set, this will provide a method for backward compatibility.
minimum-version = "0.10" # current version
minimum-version = "0.11" # current version

# The build directory. Defaults to a temporary directory, but can be set.
build-dir = ""
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def _run_tests(
posargs.append("--cov-config=pyproject.toml")

install_arg = f"-e.[{','.join(_extras)}]"
session.install(install_arg, *install_args, "pytest-xdist", silent=False)
session.install(install_arg, *install_args, silent=False)
session.run("pytest", *run_args, *posargs, env=env)


Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ test = [
"pip>=23; python_version<'3.13'",
"pip>=24.1; python_version>='3.13'",
"pybind11 >=2.11",
"pytest >=7.0", # 7.2+ recommended for better tracebacks with ExceptionGroup
"pytest >=7.2",
"pytest-subprocess >=1.5",
'pytest-xdist >=3.1',
'setuptools >=43; python_version<"3.9"',
'setuptools >=45; python_version=="3.9"',
'setuptools >=49; python_version>="3.10" and python_version<"3.12"',
Expand Down Expand Up @@ -126,14 +127,13 @@ build.hooks.vcs.version-file = "src/scikit_build_core/_version.py"

[tool.uv]
dev-dependencies = ["scikit-build-core[test,test-hatchling,test-meta,test-numpy,test-schema,cov,dev]"]
environments = ["python_version >= '3.11'"]
pip.reinstall-package = ["scikit-build-core"]
workspace.members = ["tmp/hello/hello"]


[tool.pytest.ini_options]
minversion = "7.0"
addopts = ["-rfEsX", "--strict-markers", "--strict-config"]
minversion = "7.2"
addopts = ["-ra", "--strict-markers", "--strict-config"]
xfail_strict = true
filterwarnings = [
"error",
Expand Down
Loading