Commit fcd61b4
committed
Stop je_auto_control_dev shadowing the editable install in CI
The previous quality.yml step ran:
pip install -r dev_requirements.txt
pip install -e .
dev_requirements.txt's first line is `je_auto_control_dev` (a
separate PyPI package), which ships an OLDER snapshot of the
`je_auto_control/` tree directly into site-packages. Because that
snapshot predates the rounds 22-47 work it lacks `utils/admin`,
`utils/usb`, `utils/remote_desktop`, `utils/vision` and friends.
When `pip install -e .` follows, the editable .pth + finder land in
site-packages, but Python's import resolution still finds the
masking on-disk `je_auto_control/` first — so every
`import je_auto_control.utils.<new>` raises ModuleNotFoundError at
test-collection time.
Fix: pin quality.yml to install only what it actually needs:
the editable package + ruff/bandit/pytest/pytest-timeout/PySide6.
The legacy dev/stable workflows still use dev_requirements.txt for
their integration coverage; this change only narrows the quality
job's footprint.1 parent 3696152 commit fcd61b4
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
76 | 83 | | |
| 84 | + | |
77 | 85 | | |
78 | 86 | | |
79 | 87 | | |
0 commit comments