Skip to content

build: split dev requirements - #5

Merged
michaeln31 merged 1 commit into
developfrom
f5-split-dev-requirements
Jul 6, 2026
Merged

build: split dev requirements#5
michaeln31 merged 1 commit into
developfrom
f5-split-dev-requirements

Conversation

@michaeln31

@michaeln31 michaeln31 commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • requirements.txt trimmed to runtime-only deps (pycognito, gql[aiohttp]); homeassistant and ruff removed from it.
  • New requirements-dev.txt added: pulls in the runtime deps via -r requirements.txt, then adds homeassistant, ruff, pytest, pytest-asyncio, pytest-cov, mypy.
  • CI test job: install step changed from uv pip install pytest pytest-asyncio pytest-cov -r requirements.txtuv pip install -r requirements-dev.txt.
  • CI typecheck job: install step changed from uv pip install mypy -r requirements.txtuv pip install -r requirements-dev.txt.
  • CI lint job left unchanged (still does pip install ruff==0.15.0 directly).

Test plan

  • CI lint job passes (unchanged install path)
  • CI test matrix (3.13, 3.14) passes with new requirements-dev.txt install
  • CI typecheck job passes with new requirements-dev.txt install
  • HACS job passes
  • CI Success gate is green

Move homeassistant and ruff out of requirements.txt (runtime-only deps stay).
Add requirements-dev.txt that includes the runtime deps plus the full dev
toolchain (homeassistant, ruff, pytest, pytest-asyncio, pytest-cov, mypy).
Update the test and typecheck CI jobs to install from requirements-dev.txt;
leave the lint job unchanged (it still installs ruff directly).
@michaeln31
michaeln31 merged commit 4d38be4 into develop Jul 6, 2026
6 of 7 checks passed
@michaeln31
michaeln31 deleted the f5-split-dev-requirements branch July 6, 2026 20:57
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.

1 participant