Skip to content

chore(deps): 3 dependencies need attention. mock (deprecated, use stdlib unittest.moc#1601

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

chore(deps): 3 dependencies need attention. mock (deprecated, use stdlib unittest.moc#1601
isagoakira wants to merge 2 commits into
nvbn:masterfrom
isagoakira:fix/deps-update-1780625197

Conversation

@isagoakira

Copy link
Copy Markdown

🔧 依赖维护更新 — nvbn/thefuck

此 PR 由 Code Legacy Reviver 自动生成🤖

📋 更新摘要

3 dependencies need attention. mock (deprecated, use stdlib unittest.mock), setuptools floor is from 2014 (bump to >=65), pyte has an outdated upper bound in extras (relax if API compatibility confirmed). Most other requirements.txt deps lack version pins but are commonly managed by CI lockfiles.

📦 变更清单

🔴 mock: (no version pinned; known deprecated)remove from requirements, use unittest.mock
mock package is deprecated; unittest.mock has been in stdlib since Python 3.3, and this project requires 3.5+

🔴 setuptools: >=17.1>=65.0
>=17.1 is a very loose floor from 2014; current setuptools is 75.x with many security and feature releases

🟡 pyte: <0.8.1 (in setup.py extras)>=0.8.1,<2; check if upper bound is still needed
0.8.1 was released 2017; current pyte is 2.x series with stable API; the upper bound may be overly conservative

⚠️ 风险等级

🟡 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