chore(deps): 6 potential improvements: psutil 5.0.0→>=5.9 (major bump, test after), s#1577
Open
isagoakira wants to merge 2 commits into
Open
chore(deps): 6 potential improvements: psutil 5.0.0→>=5.9 (major bump, test after), s#1577isagoakira wants to merge 2 commits into
isagoakira wants to merge 2 commits into
Conversation
…il 5.0.0→>=5.9 (major bump, te
…→>=5.9 (major bump, te
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 自动生成🤖
📋 更新摘要
6 potential improvements: psutil 5.0.0→>=5.9 (major bump, test after), setuptools >=17.1→>=61.0 (major bump, test after), pyte <0.8.1→<1.0.0 (safe), decorator: leave <5 for py2.7 path, upgrade py3 path (medium risk), flake8→>=6.0.0, pytest→>=6.2.5,<8.0.0 (avoid pytest 8 for plugin compat). Unpinned packages (mock, wheel, pexpect, twine, pytest-benchmark, pytest-docker-pexpect) are acceptable unpinned.
📦 变更清单
🔴 psutil:
==5.0.0→>=5.9.05.0.0 is from 2016; current is 5.9.x with security/performance improvements. Unpin major constraint to allow modern versions.
🔴 setuptools:
>=17.1→>=61.0.017.1 is from 2014; modern setuptools is 70+.>=61 needed for pyproject.toml support and build isolation.
🟡 decorator:
<5→<6decorator 5.x dropped Python 2.7 support; since this project still supports 2.7 via extras_require, keeping <5 is correct for that range, but for Python 3 paths, upgrade to <6.
🟡 pyte:
<0.8.1→<1.0.00.8.1 is from 2018; newer 0.x releases have bug fixes. Safe minor bump.
🟡 flake8:
unpinned→>=6.0.0flake8 5.x and 6.x are well-supported; latest is 7.x. Pin to 6.x for stability without major change risk.
🟡 pytest:
unpinned→>=6.2.5,<8.0.0No pin means latest (8.x) gets installed; pytest 8 changed some deprecated APIs. Pin 6.x–7.x for compatibility with pytest-mock and pytest-benchmark.
🟡 Medium
📝 文件变更
requirements.txtsetup.pyGenerated by Code Legacy Reviver