Skip to content

chore(deps): 2 concerns found. mock should be removed (deprecated, replaced by stdlib#1592

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

chore(deps): 2 concerns found. mock should be removed (deprecated, replaced by stdlib#1592
isagoakira wants to merge 2 commits into
nvbn:masterfrom
isagoakira:fix/deps-update-1779933997

Conversation

@isagoakira

Copy link
Copy Markdown

🔧 依赖维护更新 — nvbn/thefuck

此 PR 由 Code Legacy Reviver 自动生成🤖

📋 更新摘要

2 concerns found. mock should be removed (deprecated, replaced by stdlib unittest.mock). setuptools lower-bound >=17.1 is very outdated; modern setuptools 70+ is stable and secure. All other deps lack version pins and likely pull latest at install time.

📦 变更清单

🔴 mock: unpinnedremove (use unittest.mock from stdlib)
mock was merged into Python stdlib as unittest.mock since 3.3; standalone mock package is unmaintained/deprecated

🟡 setuptools: >=17.1>=70.0.0
setuptools constraint of >=17.1 is extremely old (2014). Modern setuptools has major security and feature improvements. Latest is 75.x

⚠️ 风险等级

🟡 Medium

📝 文件变更

  • 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