Skip to content

build(deps): optimize deployment dependencies and clarify docs#58

Merged
JacksonFergusonDev merged 2 commits intomainfrom
requirements
Feb 9, 2026
Merged

build(deps): optimize deployment dependencies and clarify docs#58
JacksonFergusonDev merged 2 commits intomainfrom
requirements

Conversation

@JacksonFergusonDev
Copy link
Owner

Summary

Optimizes the Streamlit deployment profile by excluding development dependencies from the generated requirements.txt.

Changes

  • Requirements Export: Stripped development-specific packages (e.g., pytest, mypy, ruff, hypothesis) from requirements.txt using the --no-dev flag during the uv export process.
  • Documentation: Updated the README.md directory tree to explicitly categorize requirements.txt as a deployment-specific artifact generated via uv.

Motivation

I noticed that Streamlit was installing the full dev dependency group defined in pyproject.toml, which is unnecessary for the live application. This change ensures the deployment environment remains lightweight and strictly production-focused.

Regenerate requirements.txt using `uv export --no-dev` to exclude
development packages (pytest, mypy, ruff, etc.) from the production
dependency list. This prevents unnecessary tools from being installed
in the Streamlit deployment environment.
Update the project structure diagram in README.md to explicitly label
requirements.txt as a generated deployment artifact for Streamlit,
distinguishing it from the source-of-truth uv files.
@JacksonFergusonDev JacksonFergusonDev merged commit 354abc6 into main Feb 9, 2026
1 check passed
@JacksonFergusonDev JacksonFergusonDev deleted the requirements branch February 9, 2026 02:41
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