chore(deps): 4 outdated dependencies identified. decorator/pyte have hard caps in set#1588
Open
isagoakira wants to merge 2 commits into
Open
chore(deps): 4 outdated dependencies identified. decorator/pyte have hard caps in set#1588isagoakira wants to merge 2 commits into
isagoakira wants to merge 2 commits into
Conversation
…fied. decorator/pyte have hard
…corator/pyte have hard
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 自动生成🤖
📋 更新摘要
4 outdated dependencies identified. decorator/pyte have hard caps in setup.py; mock is deprecated (absorbed into stdlib); setuptools minimum is 10+ years old. The project's Python 2.7/3.x compatibility shims (pathlib2, backports.shutil_get_terminal_size) suggest deep abandonment. Unpinned deps in requirements.txt (flake8, pytest, pexpect, pypandoc, twine, etc.) — their actual installed versions are unknown; they should be audited against current major releases if the project is revived.
📦 变更清单
🔴 decorator:
<5→>=5.0,<6decorator<5 excludes modern 5.x versions; current is 5.2.x with Python 3.8+ support
🔴 pyte:
<0.8.1→<0.9.0pyte<0.8.1 is a hard cap from ~2017; pyte 0.9.0+ is stable and compatible
🟡 mock:
latest available (unpinned)→remove dependency (use unittest.mock)mock package is deprecated; builtin unittest.mock has been standard since Python 3.3
🔴 setuptools:
>=17.1→>=70.0setuptools>=17.1 from ~2014 is severely outdated; current is 70.x with important security/feature updates
🔴 High
📝 文件变更
requirements.txtsetup.pyGenerated by Code Legacy Reviver