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
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ captcha
pyyaml
pillow
tqdm
wheel>=0.38.0 # not directly required, pinned by Snyk to avoid a vulnerability
wheel>=0.38.0 # not directly required, pinned by Snyk to avoid a vulnerability
protobuf>=5.29.6 # not directly required, pinned by Snyk to avoid a vulnerability
zipp>=3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Major protobuf upgrade may break pytorch-lightning TensorBoard logging

High Severity

The upgrade from protobuf 3.20.3 to >=5.29.6 introduces a major version jump that has documented compatibility issues with the existing pytorch-lightning==1.6.0rc0 dependency. This older pytorch-lightning version uses TensorBoard, which has known import failures when protobuf > 3.20 is installed. The project's launcher.py uses pl.loggers.TensorBoardLogger, so training will likely fail at import time with errors like TypeError or AttributeError in protobuf-related code paths.

Fix in Cursor Fix in Web

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Zipp upgrade incompatible with project's Python 3.7 requirement

High Severity

The zipp>=3.19.1 requirement is incompatible with Python 3.7, which the project officially supports and documents in the README installation instructions. Starting from zipp 3.16.0, the package requires Python >= 3.8. Users following the documented setup (conda create -n "PyCaptcha" python=3.7) will encounter installation failures when pip attempts to resolve this dependency.

Fix in Cursor Fix in Web