Skip to content

Remove unused Pygments dependency from requirements.txt #17

@timon0305

Description

@timon0305

Problem

requirements.txt line 12 pins Pygments==2.19.2, but no source file imports or references Pygments anywhere in this repository:

$ grep -rn 'pygments' --include='*.py' --include='*.html' --include='*.js' --include='*.css' .
(no matches)

It is pure dead weight on every install. The sister project cppa-cursor-browser — which this repo's structure mirrors — does not list Pygments as a dependency either, confirming it isn't part of the actual runtime surface.

The likely origin is a stale pip freeze snapshot from an earlier development environment that happened to have Pygments installed transitively. Once a pip freeze is committed verbatim, every transitive dep becomes pinned forever even if the direct dep that pulled it in is later removed.

Suggested fix

Delete the line. Re-run the test suite to confirm nothing breaks (it shouldn't — there's no import to break). The broader requirements.txt cleanup (pin only direct runtime deps, not transitive) is tracked as its own follow-up item in the eval plan; this issue is just the unused-Pygments slice.

Severity

High — eval-week-1 listed item. Trivial to verify; ships less wheel weight on every install.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions