Skip to content

Commit 5fc925e

Browse files
committed
use test-groups instead
1 parent 807a995 commit 5fc925e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,17 @@ classifiers = [
3232
]
3333
dependencies = ["numpy>=1.25"]
3434

35+
[project.optional-dependencies]
36+
test-devices = ["mm-test-adapters~=74.0"]
37+
3538
[dependency-groups]
3639
build = ["meson-python", "nanobind", "ninja", "ruff", "typing_extensions"]
3740
test = [
3841
"pytest",
3942
"pytest-cov",
4043
"gcovr",
4144
"libclang>=18.1.1",
42-
"mm-test-adapters~=74.0",
45+
"pymmcore-nano[test-devices]",
4346
]
4447
dev = [
4548
{ include-group = "test" },
@@ -80,7 +83,7 @@ build-verbosity = 1
8083
# is specific to glibc and not available in musl-libc
8184
skip = ["*-manylinux_i686", "*-musllinux*", "*-win32", "pp*"]
8285
build = ["cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*"]
83-
test-requires = ["pytest", 'libclang>=18.1.1', 'mm-test-adapters~=74.0']
86+
test-groups = ["test"]
8487
test-command = 'pytest "{project}/tests" -v'
8588

8689
[tool.cibuildwheel.macos]

0 commit comments

Comments
 (0)