deps-dev(deps-dev): update flake8 requirement from >=6.0 to >=7.3.0#34
deps-dev(deps-dev): update flake8 requirement from >=6.0 to >=7.3.0#34dependabot[bot] wants to merge 1 commit into
Conversation
Updates the requirements on [flake8](https://github.com/pycqa/flake8) to permit the latest version. - [Commits](PyCQA/flake8@6.0.0...7.3.0) --- updated-dependencies: - dependency-name: flake8 dependency-version: 7.3.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
| "isort>=5.12", | ||
| "mypy>=1.0", | ||
| "flake8>=6.0", | ||
| "flake8>=7.3.0", |
There was a problem hiding this comment.
🔴 flake8>=7.3.0 requires Python >=3.9, breaking Python 3.8 CI and dev setup
The project declares requires-python = ">=3.8" (pyproject.toml:12) and the CI test matrix includes Python 3.8 (ci.yml:94). The CI test job installs dev dependencies with pip install -e ".[dev]" (ci.yml:126). However, flake8 7.2.0+ requires Python >=3.9 (verified from PyPI metadata). Since the minimum flake8 version is now >=7.3.0, there is no compatible flake8 version for Python 3.8, causing pip install -e ".[dev]" to fail with a dependency resolution error on Python 3.8. This will break CI for all Python 3.8 matrix entries and prevent any developer on Python 3.8 from setting up the dev environment per the CONTRIBUTING.md instructions.
Prompt for agents
The flake8>=7.3.0 requirement is incompatible with the project's declared Python 3.8 support. flake8 7.2.0+ requires Python >=3.9, while flake8 7.0.0 and 7.1.x support Python >=3.8.1.
Two approaches to fix:
1. Lower the flake8 requirement back to >=7.0.0 (or >=6.0) to maintain Python 3.8 support.
2. If dropping Python 3.8 support is intended, update requires-python in pyproject.toml to >=3.9, remove Python 3.8 from the classifiers list, and remove Python 3.8 from the CI test matrix in .github/workflows/ci.yml.
Files involved: pyproject.toml (lines 12, 18, 54), .github/workflows/ci.yml (lines 94, 98, 104).
Was this helpful? React with 👍 or 👎 to provide feedback.
Updates the requirements on flake8 to permit the latest version.
Commits
c48217eRelease 7.3.0f9e0f33Merge pull request #1986 from PyCQA/document-f5426bcdb62document F54270a15b8Merge pull request #1985 from PyCQA/upgrade-deps4941a3eupgrade pyflakes / pycodestyle23e4005Merge pull request #1983 from PyCQA/py314019424badd support for t-strings6b6f3d5Merge pull request #1980 from PyCQA/asottile-patch-18dfa669add rtd sphinx configce34111Merge pull request #1976 from PyCQA/document-f824Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)