Skip to content

chore(deps): 2 actionable changes: (1) setuptools lower bound bumped to modern minimu#1585

Open
isagoakira wants to merge 2 commits into
nvbn:masterfrom
isagoakira:fix/deps-update-1779156256
Open

chore(deps): 2 actionable changes: (1) setuptools lower bound bumped to modern minimu#1585
isagoakira wants to merge 2 commits into
nvbn:masterfrom
isagoakira:fix/deps-update-1779156256

Conversation

@isagoakira

Copy link
Copy Markdown

🔧 依赖维护更新 — nvbn/thefuck

此 PR 由 Code Legacy Reviver 自动生成🤖

📋 更新摘要

2 actionable changes: (1) setuptools lower bound bumped to modern minimum; since it uses >= not an exact pin, pip will resolve latest anyway — harmless but honest. (2) The mock package is redundant on Python 3.3+ (built into unittest.mock) and is deprecated. Also note: setup.py pins decorator<5 and pyte<0.8.1 for Python 2.7, which is dead — those upper-bound guards are obsolete but removing them is not strictly a version bump, so left unchanged per rule 2.

📦 变更清单

🔴 setuptools: >=17.1>=70.0.0
>=17.1 is a 9+ year old floor; setuptools is now at 75.x with security/CVE fixes and modern build improvements

🔴 mock: unpinnedremove (use unittest.mock)
The standalone mock package is deprecated; unittest.mock is built into Python 3.3+ and pytest's pytest-mock wraps it. No longer needed in modern environments.

⚠️ 风险等级

🟢 Low

📝 文件变更

  • requirements.txt
  • setup.py

Generated by Code Legacy Reviver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant