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
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
'PyMySQL==0.9.3',
'backoff==1.8.0',
'mysql-replication==0.22',
'setuptools',

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Unpinned setuptools allows versions without pkg_resources

High Severity

The PR description states that setuptools>=82 removed pkg_resources entirely, yet setuptools is added here without an upper version bound. This means pip can resolve to setuptools 82+, which no longer includes pkg_resources, completely defeating the purpose of this fix. The dependency needs an upper bound (e.g., setuptools<82) to guarantee pkg_resources remains available.

Fix in Cursor Fix in Web

],
extras_require={
'dev': ['pylint==2.8.3']
Expand Down