Skip to content

Commit b2a5680

Browse files
don't run djls-project tests on windows
1 parent 3c53389 commit b2a5680

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

noxfile.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import json
44
import os
5+
import platform
56
import re
67
from pathlib import Path
78

@@ -92,6 +93,13 @@ def tests(session, django):
9293
session.install(f"django=={django}")
9394

9495
command = ["cargo", "test"]
96+
97+
# TODO: Remove this exclusion once PyO3 is replaced with subprocess oracle pattern
98+
# Temporarily exclude djls-project tests on Windows due to PyO3 DLL loading issues
99+
# (STATUS_DLL_NOT_FOUND when the test executable tries to load Python)
100+
if platform.system() == "Windows":
101+
command.extend(["--workspace", "--exclude", "djls-project"])
102+
95103
if session.posargs:
96104
args = []
97105
for arg in session.posargs:

0 commit comments

Comments
 (0)