Skip to content

Conversation

@wigbam
Copy link

@wigbam wigbam commented Jul 25, 2024

The older pkg_resources package was deprecated for some time and finally removed in Python 3.12. The newer importlib.metadata package, built on top of the new importlib infrastructure in Python 3, performs better and is recommended for future use.

All tests passed against 3.9, 3.10, 3.11 and 3.12.

@biojerm
Copy link

biojerm commented Oct 27, 2025

Is there any chance of merging this or another solution since deprecation is potentially imminent?

The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81

@biojerm
Copy link

biojerm commented Oct 28, 2025

To anyone here encountering the same warnings I did, flake8-logging provides similar functionality to flake8-logging-format but does not raise the same warnings. The flake8-logging package runs additional logging anti-pattern checks which may or may not be desired.

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.

2 participants