Closed Bug 1784866 Opened 3 years ago Closed 3 years ago

switch from pkg_resources to importlib

Categories

(Socorro :: General, task, P3)

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.

This blocks https://github.com/willkg/socorro-siggen/issues/83 . Grabbing it to do now.

Assignee: nobody → willkg
Status: NEW → ASSIGNED

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.

Attachment

General

Created:
Updated:
Size: