Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ greenlet==3.1.1
griffe==1.5.6
groq==0.18.0
h11==0.14.0
h2==4.1.0
h2==4.3.0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

While this security upgrade is necessary, the practice of pinning all direct and transitive dependencies in requirements.txt (as is common with pip freeze) can make maintenance challenging. The large number of dependencies in this file and the warnings about missing packages in the Snyk PR description suggest that the dependency management process could be improved.

For better long-term maintainability, consider using a tool like pip-tools. This involves:

  1. Creating a requirements.in file where you list only the project's direct dependencies.
  2. Running pip-compile to generate a complete and consistent requirements.txt file with all transitive dependencies pinned.

This approach makes your project's dependencies explicit and simplifies future upgrades.

hpack==4.1.0
httpcore==1.0.7
httpx==0.28.1
Expand Down