Closed
Bug 1894635
Opened 1 month ago
Closed 1 month ago
glean-py: Replace deprecated pkg_resources functionality
Categories
(Data Platform and Tools :: Glean: SDK, defect, P1)
Data Platform and Tools
Glean: SDK
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: janerik, Assigned: janerik)
References
Details
Attachments
(1 file)
For a while we got those deprecation warnings:
glean-core/python/glean/__init__.py:10
/Users/jer/mozilla/src/glean/glean-core/python/glean/__init__.py:10: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import get_distribution, DistributionNotFound
with Python 3.12 distutils
that contains that went away, and we need to explicitly depend on setuptools
.
But the stuff is still deprecated and we should remove the usage.
Assignee | ||
Updated•1 month ago
|
Assignee | ||
Comment 1•1 month ago
|
||
Assignee: nobody → jrediger
Assignee | ||
Updated•1 month ago
|
Priority: -- → P1
Assignee | ||
Comment 2•1 month ago
|
||
badboy merged PR [mozilla/glean]: Bug 1894635 - Python: Use importlib.metadata instead of deprecated pkg_resources (#2820) in b384d2c.
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•