Closed
Bug 1784866
Opened 3 years ago
Closed 3 years ago
switch from pkg_resources to importlib
Categories
(Socorro :: General, task, P3)
Socorro
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: willkg, Assigned: willkg)
Details
Attachments
(1 file)
pkg_resources is part of setuptools and Socorro uses it to access data files that exist near Python modules. pkg_resources is deprecated:
https://setuptools.pypa.io/en/latest/pkg_resources.html
They suggest switching to equivalent things in importlib which has been around since Python 3.7.
We should switch.
| Assignee | ||
Comment 1•3 years ago
|
||
This blocks https://github.com/willkg/socorro-siggen/issues/83 . Grabbing it to do now.
Assignee: nobody → willkg
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•3 years ago
|
||
| Assignee | ||
Comment 3•3 years ago
|
||
| Assignee | ||
Comment 4•3 years ago
|
||
This was deployed just now in bug #1799933. Marking as FIXED.
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•