chore(deps): Most deps in requirements.txt lack version pins, making stale detection #1595
Open
isagoakira wants to merge 2 commits into
Open
chore(deps): Most deps in requirements.txt lack version pins, making stale detection #1595isagoakira wants to merge 2 commits into
isagoakira wants to merge 2 commits into
Conversation
…lack version pins, making stal
…sion pins, making stal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔧 依赖维护更新 — nvbn/thefuck
此 PR 由 Code Legacy Reviver 自动生成🤖
📋 更新摘要
Most deps in requirements.txt lack version pins, making stale detection difficult. setup.py has outdated version caps for decorator (<5) and pyte (<0.8.1) for Python 2.7. Since project targets Python 2.7+, these constraints may be intentional but are very outdated.
📦 变更清单
🟡 six:
no pin (allows any)→six>=1.17.0six 1.16.0 was final release supporting Python 2. Project likely still works with modern six, but Python 2.7 EOL means older six may lack fixes
🟡 decorator (2.7 constraint):
decorator<5→decorator>=5.0.0decorator is now at 5.1.x. The upper bound <5 is unnecessarily restrictive for Python 3 environments
🟡 pyte (2.7 constraint):
pyte<0.8.1→pyte>=0.9.0pyte is now at 0.9.x+. The <0.8.1 cap is outdated. Note: pyte 0.9+ dropped Python 2 support
🟢 setuptools (requirements.txt):
>=17.1→>=70.0.0setuptools is now 70.x. While >=17.1 allows upgrades, pinning modern minimum ensures compatibility with current tooling
🔴 High
📝 文件变更
requirements.txtsetup.pyGenerated by Code Legacy Reviver