← Back to issue list

pkg_resources is deprecated and will be removed with Python 3.12

View original Github issue

Metadata

Project
craft-providers
Number
#317
Type
issue
State
closed
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

Replaced deprecated pkg_resources usage with packaging.version.parse in PR #339 (commit df4a147), resolving the Python 3.12 compatibility concern.

Resolution: closed resolved

Reason: PR #339 was merged as commit df4a147 with the message "meta: remove deprecated pkg_resources usages," directly implementing the proposed packaging.version.parse migration.

Evaluated by: mr-cal-bot

No scores available.

Issue body

It looks like we use it for `parse_version`. Perhaps we can move to `packaging.version.parse`. https://packaging.pypa.io/en/stable/version.html#packaging.version.parse

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Replaced deprecated pkg_resources usage with packaging.version.parse in PR #339 (commit df4a147), resolving the Python 3.12 compatibility concern.
qwen/qwen3.6-35b-a3b — closed resolved Issue closed regarding pkg_resources deprecation for Python 3.12, suggesting migration to packaging.version.parse

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/craft-providers#339 (confidence 99%)

    The PR removed deprecated pkg_resources usage and delivered the fix in commit df4a147.

Related issues

No related issues found above the similarity threshold.