Skip to content

Commit 7903202

Browse files
committed
Add required tytest ini options to consider namespace packages
1 parent 06157d8 commit 7903202

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ classifiers = [
2222
"Programming Language :: Python :: 3.12",
2323
"Programming Language :: Python :: 3.13",
2424
"Programming Language :: Python :: 3.14",
25-
"Programming Language :: Python :: 3.10",
2625
]
2726
dependencies = [
2827
"odict>=1.9.0",
@@ -43,5 +42,11 @@ Homepage = "http://github.com/conestack/node"
4342

4443
[tool.hatch.build.targets.wheel]
4544
packages = ["src/node"]
45+
46+
[tool.pytest.ini_options]
47+
consider_namespace_packages = true
48+
addopts = ["--import-mode=importlib"]
49+
pythonpath = "src"
50+
4651
[tool.zest-releaser]
4752
create-wheel = true

0 commit comments

Comments
 (0)