3333permissions :
3434 contents : read
3535
36+ env :
37+ # Packages with no installable wheel for the runner; leaving one in fails
38+ # the whole sync. Nothing these jobs import reaches them, and lancedb only
39+ # arrives transitively through crewai[tools], whose 0.38.0 release shipped
40+ # no Linux x86_64 wheel. Add another as a further --no-install-package.
41+ SKIP_PACKAGE_FLAGS : --no-install-package lancedb
42+
3643jobs :
3744 # 1. Code format and linting (Linter)
3845 lint :
96103 # Install dependencies for target branch
97104 uv venv .venv
98105 source .venv/bin/activate
99- uv sync --all-extras
106+ uv sync --all-extras $SKIP_PACKAGE_FLAGS
100107
101108 # Run mypy, filter for errors only, remove line numbers, and sort
102109 # We ignore exit code (|| true) because we expect errors on baseline
@@ -110,7 +117,7 @@ jobs:
110117
111118 # Re-sync dependencies in case the PR changed them
112119 source .venv/bin/activate
113- uv sync --all-extras
120+ uv sync --all-extras $SKIP_PACKAGE_FLAGS
114121
115122 # Run mypy on PR code, apply same processing
116123 uv run mypy . | grep "error:" | sed 's/:\([0-9]\+\):/::/g' | sort > pr_errors.txt || true
@@ -165,7 +172,7 @@ jobs:
165172 run : |
166173 uv venv .venv
167174 source .venv/bin/activate
168- uv sync --extra test
175+ uv sync --extra test $SKIP_PACKAGE_FLAGS
169176
170177 - name : List installed packages
171178 run : uv pip list
@@ -215,7 +222,7 @@ jobs:
215222 run : |
216223 uv venv .venv
217224 source .venv/bin/activate
218- uv sync --extra test
225+ uv sync --extra test $SKIP_PACKAGE_FLAGS
219226
220227 - name : List installed packages (before reinstall)
221228 run : uv pip list
0 commit comments