Skip to content

chore(deps): 2 outdated constraints identified. setuptools lower bound is 10+ years o#1573

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

chore(deps): 2 outdated constraints identified. setuptools lower bound is 10+ years o#1573
isagoakira wants to merge 2 commits into
nvbn:masterfrom
isagoakira:fix/deps-update-1778225883

Conversation

@isagoakira

Copy link
Copy Markdown

🔧 依赖维护更新 — nvbn/thefuck

此 PR 由 Code Legacy Reviver 自动生成🤖

📋 更新摘要

2 outdated constraints identified. setuptools lower bound is 10+ years old (17.1→70.x). decorator upper bound '<5' is overly restrictive for modern Python 3 (now at 5.x). No hard-pinned versions found in requirements.txt — those deps may be current or managed by CI lock files. Note: pyte<0.8.1 in setup.py is also old but bumping it risks breaking Python 2.7 compatibility which appears intentional.

📦 变更清单

🔴 setuptools: >=17.1>=70.0.0
setuptools 17.1 released 2013, many security and feature improvements since. Version 70.x is current stable.

🟡 decorator: <5<5.1
decorator<5 was set to support old Python versions; current decorator 5.x works on Python 3.5+ with no breaking changes. Constraint can be relaxed to <5.1 for safety.

⚠️ 风险等级

🟡 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