Skip to content

chore(deps): Major concern: setuptools lower bound (>=17.1 from 2014) is severely out#1593

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

chore(deps): Major concern: setuptools lower bound (>=17.1 from 2014) is severely out#1593
isagoakira wants to merge 2 commits into
nvbn:masterfrom
isagoakira:fix/deps-update-1780020248

Conversation

@isagoakira

Copy link
Copy Markdown

🔧 依赖维护更新 — nvbn/thefuck

此 PR 由 Code Legacy Reviver 自动生成🤖

📋 更新摘要

Major concern: setuptools lower bound (>=17.1 from 2014) is severely outdated and should be raised to >=65.0. pypandoc and mock are both deprecated and should be phased out. The thefuck project (v3.32) still supports Python 2.7 via extras_require with old constraints like decorator<5 and pyte<0.8.1 — consider dropping py2.7 support to simplify.

📦 变更清单

🔴 setuptools: >=17.1>=65.0
setuptools 17.1 was from 2014, modern setuptools (65+) includes security fixes and better PEP compliance; upgrade is low risk

🔴 pypandoc: latestNOTE: deprecated
pypandoc is officially abandoned/deprecated (last release 2022, README archived); consider replacing with pymdown-extensions or manual README handling

🔴 mock: latestNOTE: deprecated
mock is deprecated since Python 3.8 (stdlib includes unittest.mock); it remains functional but should be phased out

🟡 decorator (py<=2.7): <5N/A or drop Python 2.7 support
decorator<5 pins to ancient 4.x series; if supporting py<=2.7 is dropped (project already requires 3.5+), this constraint can be relaxed

🟡 pyte (py<=2.7): <0.8.1N/A or drop Python 2.7 support
pyte<0.8.1 is very old; if Python 2.7 support is dropped from extras_require, this constraint can be removed

⚠️ 风险等级

🟡 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