Skip to content

chore: remove legacy requirements.txt - #122

Merged
tabedzki merged 1 commit into
masterfrom
tabedzki/chore/remove-requirements-txt
Sep 21, 2026
Merged

tabedzki merged 1 commit into
masterfrom
tabedzki/chore/remove-requirements-txt

Conversation

@tabedzki

Copy link
Copy Markdown
Contributor

🤖 Human guided, AI assisted PR (using this skill). AI text below. 🤖

What changed

Deletes requirements.txt. Split out of #120 (Dependabot config), which deliberately omitted a pip ecosystem for this file.

Why

  • pyproject.toml has been the source of truth since 13bd56f ("Transitioned to pyproject.toml"), with uv.lock alongside it.
  • Nothing consumes the file: the README says uv sync, the Dockerfile runs pip install -e ., and grep -rn requirements over the repo (excluding .git, .venv, uv.lock) finds no reference to it in any script, notebook, or config.
  • It has drifted from pyproject.toml: scanreader points at atlab/scanreader instead of the BrainCOGS/scanreader fork used in [project.optional-dependencies].pipeline, icalevents is absent, and it has no version floors. Anyone who does pip install -r requirements.txt gets a different environment than the one the package declares.
  • Dependabot can't watch it without a duplicate pip entry, so it would silently go stale forever.

If a flat pin list is ever needed (e.g. for a non-uv deployment), uv export --format requirements-txt regenerates one from the lock.

Verification

  • git grep -n "requirements.txt" on this branch: no matches.
  • uv sync --locked is unaffected (the file isn't an input to the lock).

Assisted-by: ClaudeCode:claude-opus-5

pyproject.toml has been the source of truth since 13bd56f ("Transitioned
to pyproject.toml"). Nothing in the repo reads requirements.txt: the
README instructs `uv sync`, the Dockerfile does `pip install -e .`, and no
script or notebook references it. It has also drifted from pyproject.toml
(scanreader points at atlab/ instead of the BrainCOGS/ fork, icalevents is
missing), so keeping it around only invites installing the wrong set.

Assisted-by: ClaudeCode:claude-opus-5
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