Skip to content

Upgrade flake8-import-order and flake8-requirements#572

Open
loqs wants to merge 1 commit intoaio-libs:masterfrom
loqs:flake8-plugins-update-for-pkg_resources-removal
Open

Upgrade flake8-import-order and flake8-requirements#572
loqs wants to merge 1 commit intoaio-libs:masterfrom
loqs:flake8-plugins-update-for-pkg_resources-removal

Conversation

@loqs
Copy link
Copy Markdown
Contributor

@loqs loqs commented Apr 25, 2026

What do these changes do?

These packages were using the deprecated pkg_resources module which has been removed from setuptools in version 82.0.0, causing flake8 to fail with 'ModuleNotFoundError: No module named pkg_resources'.

  • flake8-import-order: 0.18.2 -> 0.19.2
  • flake8-requirements: 2.2.1 -> 2.3.0

Are there changes in behavior for the user?

No

Related issue number

Fixes the continuous integration failure in #568.

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • tox testenvs have been executed in the following environments:
    • Linux (Ubuntu 18.04, Ubuntu 20.04, Arch): python -m flake8 aiosmtpd
    • Windows (7, 10): {py36,py37,py38,py39}-{nocov,cov,diffcov}
    • WSL 1.0 (Ubuntu 18.04): {py36,py37,py38,py39}-{nocov,cov,diffcov}, pypy3-{nocov,cov}, qa, docs
    • FreeBSD (12.2, 12.1, 11.4): {py36,pypy3}-{nocov,cov,diffcov}, qa
    • Cygwin: py36-{nocov,cov,diffcov}, qa, docs
  • Documentation reflects the changes
  • Add a news fragment into the NEWS.rst file

- flake8-import-order: 0.18.2 -> 0.19.2
- flake8-requirements: 2.2.1 -> 2.3.0

These packages were using the deprecated pkg_resources module which
has been removed from setuptools in version 82.0.0, causing flake8
to fail with 'ModuleNotFoundError: No module named pkg_resources'.
@loqs loqs force-pushed the flake8-plugins-update-for-pkg_resources-removal branch from 112c628 to 64f94c2 Compare April 25, 2026 13:48
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