Skip to content

Migrate pkg_resources to importlib.metadata#956

Merged
LexiconCode merged 1 commit intodictation-toolbox:masterfrom
LexiconCode:fix/migrate-pkg-resources-to-importlib
Mar 16, 2026
Merged

Migrate pkg_resources to importlib.metadata#956
LexiconCode merged 1 commit intodictation-toolbox:masterfrom
LexiconCode:fix/migrate-pkg-resources-to-importlib

Conversation

@LexiconCode
Copy link
Copy Markdown
Member

@LexiconCode LexiconCode commented Mar 16, 2026

Summary

  • Replace deprecated pkg_resources with importlib.metadata for package detection and version checking
  • Use packaging.version.Version for version comparisons instead of pkg_resources.require() with VersionConflict
  • Resolves pylint E0611 errors for VersionConflict and DistributionNotFound

Replace deprecated pkg_resources with importlib.metadata for package
detection and version checking in dependencies.py.
@LexiconCode LexiconCode self-assigned this Mar 16, 2026
@LexiconCode LexiconCode added the BugFix Resolves unexpected behavior from existing features. label Mar 16, 2026
@LexiconCode LexiconCode merged commit 58d114d into dictation-toolbox:master Mar 16, 2026
3 checks passed
@LexiconCode LexiconCode deleted the fix/migrate-pkg-resources-to-importlib branch March 16, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BugFix Resolves unexpected behavior from existing features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant