[Bug 6815] New: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Sun May 7 18:26:01 UTC 2023
https://bz.mercurial-scm.org/show_bug.cgi?id=6815
Bug ID: 6815
Summary: the imp module is deprecated in favour of importlib
and slated for removal in Python 3.12
Product: Mercurial
Version: default branch
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: feature
Priority: wish
Component: Mercurial
Assignee: bugzilla at mercurial-scm.org
Reporter: mads at kiilerich.com
CC: mercurial-devel at mercurial-scm.org
Python Version: ---
Reporting this to track that Mercurial still has a few references to the imp
module.
For example:
venv/lib64/python3.11/site-packages/mercurial/utils/resourceutil.py:12
venv/lib64/python3.11/site-packages/mercurial/utils/resourceutil.py:12:
DeprecationWarning: the imp module is deprecated in favour of importlib and
slated for removal in Python 3.12; see the module's documentation for
alternative uses
import imp
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list