Skip to content

Commit 027b366

Browse files
fix(integration-tests): Prevent stale uv installs by marking local source packages as editable; simplify cache-clear task to directly remove uv project cache (fixes #1573). (#1574)
Co-authored-by: Bingran Hu <[email protected]>
1 parent dcc9c64 commit 027b366

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

integration-tests/pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ docstring-code-line-length = 100
8080
default-groups = ["clp", "dev"]
8181

8282
[tool.uv.sources]
83-
clp-mcp-server = { path = "../components/clp-mcp-server" }
84-
clp-package-utils = { path = "../components/clp-package-utils" }
85-
clp-py-utils = { path = "../components/clp-py-utils" }
86-
job-orchestration = { path = "../components/job-orchestration" }
83+
clp-mcp-server = { path = "../components/clp-mcp-server", editable = true }
84+
clp-package-utils = { path = "../components/clp-package-utils", editable = true }
85+
clp-py-utils = { path = "../components/clp-py-utils", editable = true }
86+
job-orchestration = { path = "../components/job-orchestration", editable = true }

integration-tests/uv.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

taskfiles/tests/integration.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ tasks:
1212
cache-clear:
1313
dir: "{{.G_INTEGRATION_TESTS_DIR}}"
1414
cmds:
15-
- >-
16-
uv run python -m pytest --cache-clear --collect-only --override-ini addopts="" --quiet
17-
> /dev/null
15+
- "rm -rf .pytest_cache"
1816

1917
core:
2018
deps:

0 commit comments

Comments
 (0)