You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[TASK] Clean up requirements.txt to remove dev dependencies #26
The requirements.txt file includes both runtime dependencies and development dependencies mixed together. It contains dev-only packages like pytest, pytest-cov, pytest-watch, black, isort, mypy, datamodel-code-generator, pre-commit, and types-requests.
Impact
Users who install via pip install -r requirements.txt will get unnecessary dev dependencies
Confusing for contributors about which deps are actually needed at runtime
The pyproject.toml already properly separates dev deps under [project.optional-dependencies] dev
Location
requirements.txt (all 13 lines)
Suggested Fix
Either:
Remove requirements.txt entirely (since pyproject.toml is the canonical source), or
Trim it to only runtime dependencies: requests, pydantic, httpx, typing-extensions
Removed the dev-only packages (already declared in pyproject.toml → [project.optional-dependencies] dev): pytest, pytest-cov, pytest-watch, datamodel-code-generator, black, isort, mypy, pre-commit, types-requests. Added a short header comment pointing contributors to pip install -e ".[dev]" for dev tooling.
Why trim instead of delete: CI (.github/workflows/ci.yml:29) installs via pip install -r requirements.txt, then installs black/pytest separately. Deleting the file would break CI, and workflow files can't be modified from here. Trimming removes the dev clutter from the default install path while keeping CI green. The README install path is PyPI (pip install inference-gateway), so no docs change is needed.
Maintainer notes: single-repo change — no cross-repo (schemas/gateway/SDK) impact and no [DOCS] ticket required (this is a chore:, and the public install surface is unchanged).
Activity
edenreich commentedon Jun 6, 2026
@claude Can you work on this? use /maintainer
claude commentedon Jun 6, 2026
Claude finished @edenreich's task in 3m 34s —— View job •
refactor/issue-26-20260606-1349• [Create PR ➔](https://github.com/inference-gateway/python-sdk/compare/main...refactor/issue-26-20260606-1349?quick_pull=1&title=Issue%20%2326%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%2326%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Task: Clean up
requirements.txt✅requirements.txt,pyproject.toml,CLAUDE.md)requirements.txtis referencedSummary
Trimmed
requirements.txtfrom 13 lines down to the 4 runtime dependencies:Removed the dev-only packages (already declared in
pyproject.toml→[project.optional-dependencies] dev):pytest,pytest-cov,pytest-watch,datamodel-code-generator,black,isort,mypy,pre-commit,types-requests. Added a short header comment pointing contributors topip install -e ".[dev]"for dev tooling.Why trim instead of delete: CI (
.github/workflows/ci.yml:29) installs viapip install -r requirements.txt, then installsblack/pytestseparately. Deleting the file would break CI, and workflow files can't be modified from here. Trimming removes the dev clutter from the default install path while keeping CI green. The README install path is PyPI (pip install inference-gateway), so no docs change is needed.Maintainer notes: single-repo change — no cross-repo (
schemas/gateway/SDK) impact and no[DOCS]ticket required (this is achore:, and the public install surface is unchanged).➡️ Pull request: #32 — chore: trim requirements.txt to runtime dependencies only (Closes #26)
--- · branch
refactor/issue-26-20260606-1349