Skip to content

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
nvbn:masterfrom
isagoakira:fix/deps-update-1778378658
Open

chore(deps): 6 potential improvements: psutil 5.0.0→>=5.9 (major bump, test after), s#1577
isagoakira wants to merge 2 commits into
nvbn:masterfrom
isagoakira:fix/deps-update-1778378658

Conversation

@isagoakira

Copy link
Copy Markdown

🔧 依赖维护更新 — 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.0
5.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.0
17.1 is from 2014; modern setuptools is 70+.>=61 needed for pyproject.toml support and build isolation.

🟡 decorator: <5<6
decorator 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.0
0.8.1 is from 2018; newer 0.x releases have bug fixes. Safe minor bump.

🟡 flake8: unpinned>=6.0.0
flake8 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.0
No 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.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