Skip to content

Commit 6ebd1fc

Browse files
gijzelaerrclaude
andcommitted
Use .venv/bin/pytest instead of uv run
uv run syncs the project from pyproject.toml, which rebuilds the package from source without the bundled library. Using .venv/bin/pytest directly avoids this issue. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent f19ec4f commit 6ebd1fc

6 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/doc.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
- name: Set up Python
1414
uses: actions/setup-python@v5
1515
with:
16-
python-version: "3.13"
16+
python-version: "3.10"
1717
- name: Install uv
1818
uses: astral-sh/setup-uv@v5
1919
- name: Install dependencies
2020
run: |
21-
uv venv venv
22-
uv pip install --python venv/bin/python ".[doc,cli]"
21+
uv venv
22+
uv pip install ".[doc,cli]"
2323
- name: Run doc
24-
run: venv/bin/sphinx-build -N -bhtml doc/ doc/_build -W
24+
run: .venv/bin/sphinx-build -N -bhtml doc/ doc/_build -W

.github/workflows/linux-build-test-amd64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,5 @@ jobs:
6666
6767
- name: Run tests
6868
run: |
69-
uv run pytest -m "server or util or client or mainloop"
69+
.venv/bin/pytest -m "server or util or client or mainloop"
7070
sudo .venv/bin/pytest -m partner

.github/workflows/linux-build-test-arm64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,5 @@ jobs:
6868
uv venv
6969
uv pip install pytest
7070
uv pip install dist/*.whl
71-
uv run pytest -m "server or util or client or mainloop or partner"
71+
.venv/bin/pytest -m "server or util or client or mainloop or partner"
7272
EOF

.github/workflows/linux-test-with-deb.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ jobs:
3333
uv pip install ".[test]"
3434
- name: Run pytest
3535
run: |
36-
uv run pytest -m "server or util or client or mainloop"
36+
.venv/bin/pytest -m "server or util or client or mainloop"
3737
sudo .venv/bin/pytest -m partner

.github/workflows/osx-build-test-amd64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,5 @@ jobs:
7777
7878
- name: Run tests
7979
run: |
80-
uv run pytest -m "server or util or client or mainloop"
80+
.venv/bin/pytest -m "server or util or client or mainloop"
8181
sudo .venv/bin/pytest -m partner

.github/workflows/osx-test-with-brew.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ jobs:
2525
uv pip install -e ".[test]"
2626
- name: Run pytest
2727
run: |
28-
uv run pytest -m "server or util or client or mainloop"
28+
.venv/bin/pytest -m "server or util or client or mainloop"
2929
sudo .venv/bin/pytest -m partner

0 commit comments

Comments
 (0)