Skip to content

Commit 75aa1ff

Browse files
ci: replace poetry with uv
1 parent 1d564e8 commit 75aa1ff

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

noxfile.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,11 @@ def build_and_run_test(session: nox.Session, folders: list, extras: str = "") ->
3636
session.install("pytest", "pytest-mock", "pytest_socket", "pytest-asyncio")
3737

3838
# Powertools project folder is in the root
39+
# Always install with validation extra to avoid import errors from eager imports
3940
if extras:
40-
session.install(f"./[{extras}]")
41+
session.install(f"./[validation,{extras}]")
4142
else:
42-
session.install("./")
43+
session.install("./[validation]")
4344

4445
# Execute test in specific folders
4546
session.run("pytest", *folders)

0 commit comments

Comments
 (0)