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
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
google-cloud-storage==2.16.0
pytest-xdist==3.5.0
pytest==9.0.3; python_version >= "3.10"
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.

medium

To ensure reproducible test environments and maintain consistency with the other pinned dependencies in this file, it is recommended to pin 'zipp' to an exact version ('==3.19.1') rather than using a range operator ('>=').

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.

P2: Pin zipp to an exact version (==3.19.1) for consistency with the other dependencies in this file, which all use ==. Using >= undermines reproducible test environments.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At people-and-planet-ai/image-classification/requirements-test.txt, line 4:

<comment>Pin `zipp` to an exact version (`==3.19.1`) for consistency with the other dependencies in this file, which all use `==`. Using `>=` undermines reproducible test environments.</comment>

<file context>
@@ -1,3 +1,4 @@
 google-cloud-storage==2.16.0
 pytest-xdist==3.5.0
 pytest==9.0.3; python_version >= "3.10"
+zipp>=3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability
</file context>
Suggested change
zipp>=3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability
zipp==3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability