Skip to content

Commit 934973f

Browse files
committed
fix: resolve test collection failure in CI
- Add explicit setuptools configuration for src layout - Remove old nutrient.egg-info directory artifacts - Clean up debug test files - This fixes the pytest exit code 2 issue by ensuring the package is properly discovered and installed in the CI environment
1 parent c76b105 commit 934973f

File tree

3 files changed

+6
-19
lines changed

3 files changed

+6
-19
lines changed

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
requires = ["setuptools>=61.0", "wheel"]
33
build-backend = "setuptools.build_meta"
44

5+
[tool.setuptools]
6+
package-dir = {"" = "src"}
7+
8+
[tool.setuptools.packages.find]
9+
where = ["src"]
10+
511
[project]
612
name = "nutrient-dws"
713
version = "1.0.0"

tests/test_import.py

Lines changed: 0 additions & 13 deletions
This file was deleted.

tests/test_simple.py

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)