Skip to content

fix(ci): install dev extras so pytest is available in datasets-refresh - #29

Open
grave0x wants to merge 1 commit into
JailbrokenAI:mainfrom
grave0x:fix/datasets-refresh-dev-deps
Open

fix(ci): install dev extras so pytest is available in datasets-refresh#29
grave0x wants to merge 1 commit into
JailbrokenAI:mainfrom
grave0x:fix/datasets-refresh-dev-deps

Conversation

@grave0x

@grave0x grave0x commented Aug 10, 2026

Copy link
Copy Markdown

The weekly datasets-refresh workflow installs base deps only (pip install -e .) and then runs python -m pytest. Since pytest lives in the dev extra, every schedule hit fails at the unit-test step with ModuleNotFoundError: No module named 'pytest'.

Verified: fresh py3.11 venv, pip install -e ".[dev]" → all 22 tests in tests/test_datasets.py, test_frr_scan.py, test_branding.py, test_relentless.py pass.

One-line change:

-          pip install -e .
+          pip install -e ".[dev]"

The weekly datasets-refresh run installs base deps only (pip install -e .)
then runs 'python -m pytest', which fails with ModuleNotFoundError: No
module named 'pytest' on every schedule hit. Install with the dev extra.
Copilot AI lite review requested due to automatic review settings August 10, 2026 09:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants