Skip to content

Commit 5a89daa

Browse files
committed
fixed test env on windows
1 parent 2308437 commit 5a89daa

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

AGENTS.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,11 @@ This repo already has Qt binding coverage. Avoid opening heavy files unless need
1818
## Test commands
1919
- PySide6: `.\.venv\Scripts\activate.ps1; $env:QT_PREFERRED_BINDING="PySide6"; pytest -vv`
2020
- PySide2: `.\.venv\Scripts\activate.ps1; $env:QT_PREFERRED_BINDING="PySide2"; pytest -vv`
21+
22+
## Python/venv notes (Windows)
23+
- If `.venv\Scripts\python.exe` prints `No Python at ...Python310\python.exe`, the venv is stale and was created against a removed interpreter.
24+
- Python 3.13 cannot install pinned `PySide6==6.5.2` from `requirements-pyside6.txt` (no wheel for 3.13).
25+
- Working fallback on Python 3.13:
26+
- `python3 -m venv .venv`
27+
- `.\.venv\Scripts\python.exe -m pip install PySide6 shiboken6 Qt.py six pytest`
28+
- `.\.venv\Scripts\activate.ps1; $env:QT_PREFERRED_BINDING="PySide6"; pytest -vv`

0 commit comments

Comments
 (0)