refactor: split requirements.txt into runtime and dev - #8
Closed
opencolin wants to merge 1 commit into
Closed
Conversation
The single requirements.txt bundled pytest, black, isort, mypy, and
httpx alongside the runtime deps. install.sh's `pip install -r
requirements.txt` therefore pulled the dev toolchain into a runtime
venv unnecessarily.
Splits into:
- requirements.txt — runtime only (fastapi, uvicorn,
pydantic, python-dotenv, openai, tiktoken)
- requirements-dev.txt — pulls in requirements.txt then adds
pytest, pytest-asyncio, httpx, black,
isort, mypy
This matches the runtime/dev split already declared in pyproject.toml
under [project.optional-dependencies].dev. install.sh's existing
command (pip install -r requirements.txt) automatically picks up the
slimmer runtime set with no script change required.
Note: fastapi[standard] still pulls httpx in transitively (via
TestClient deps), so the --selftest flag continues to work in a
runtime-only install.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Owner
Author
|
Closing — this was a staging branch; the change is now tracked in the corresponding PR against KiranChilledOut/claude-code-proxy. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The single requirements.txt bundled pytest, black, isort, mypy, and
httpx alongside the runtime deps. install.sh's
pip install -r requirements.txttherefore pulled the dev toolchain into a runtimevenv unnecessarily.
Splits into:
pydantic, python-dotenv, openai, tiktoken)
pytest, pytest-asyncio, httpx, black,
isort, mypy
This matches the runtime/dev split already declared in pyproject.toml
under [project.optional-dependencies].dev. install.sh's existing
command (pip install -r requirements.txt) automatically picks up the
slimmer runtime set with no script change required.
Note: fastapi[standard] still pulls httpx in transitively (via
TestClient deps), so the --selftest flag continues to work in a
runtime-only install.