Skip to content

chore(deps): remove legacy requirements.txt files in favor of pyproject.toml - #70

Merged
dandye merged 2 commits into
mainfrom
deps__modernize_pyproject_toml
Oct 27, 2026
Merged

dandye merged 2 commits into
mainfrom
deps__modernize_pyproject_toml

Conversation

@dandye

@dandye dandye commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Completes the dependency management modernization to pyproject.toml and uv.lock by removing redundant requirements.txt manifests and updating documentation and static site workflows:

  • Remove src/logstory/requirements.txt: Originally created for the deprecated 1st-gen cloudfunctions/ layout (removed in commits 910ae30 and 0516937). Nothing in the package build, Cloud Run Dockerfiles, or CI workflows reads this file, and keeping it checked in generated duplicate Dependabot alerts alongside uv.lock.
  • Remove docs/requirements.txt: Redundant with [project.optional-dependencies] docs in pyproject.toml. Updated .github/workflows/deploy-docs.yml to install documentation dependencies via pip install ".[docs]" and trigger GitHub Pages static site rebuilds on changes to docs/**, pyproject.toml, or .github/workflows/deploy-docs.yml.
  • Update Justfile, README-DEV.md, CONTRIBUTING.md, and GEMINI.md:
    • Replaced just deps-compile (alias compile-requirements) with just deps-sync (alias sync, running uv sync --all-extras).
    • Updated docs-build / docs-live recipes to detect .venv/bin/sphinx-* and reference .[docs].
    • Replaced stale make dev-setup / make check / python test_yaml.py instructions in CONTRIBUTING.md with just deps-sync, just dev-setup, just test, just check, and just docs-build.
  • Update CHANGELOG.md: Documented the removal of legacy requirements manifests.

Verification

  • just deps-sync: Synchronized .venv with all extras (dev and docs).
  • uv run pytest --cov=logstory: 175/175 tests passed (83.47% coverage).
  • uv run ruff check .: All checks passed.
  • uv run pyink --check src tests: 24 files unchanged.
  • just docs-build: Sphinx HTML documentation built cleanly from .[docs].

…ct.toml

Remove legacy src/logstory/requirements.txt and docs/requirements.txt to standardize exclusively on pyproject.toml and uv.lock:
- Remove unused src/logstory/requirements.txt (left over from deprecated Cloud Functions setup, eliminating duplicate Dependabot alerts)
- Remove redundant docs/requirements.txt and update .github/workflows/deploy-docs.yml to install .[docs]
- Replace just deps-compile with just deps-sync (uv sync --all-extras) in Justfile and README-DEV.md
- Update CHANGELOG.md
@dandye
dandye merged commit b7c780e into main Oct 27, 2026
17 checks passed
@dandye
dandye deleted the deps__modernize_pyproject_toml branch October 27, 2026 00:01
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