[Bug 2091388] [NEW] replace removed imp dependency in python future/standard_library
Martin Weis
2091388 at bugs.launchpad.net
Tue Dec 10 16:07:16 UTC 2024
*** This bug is a duplicate of bug 2071640 ***
https://bugs.launchpad.net/bugs/2071640
Public bug reported:
module [imp was removed](https://docs.python.org/3/library/imp.html) in
python 3.12, but is loaded from package
`python3-future`/standard_library:
```
from future import standard_library
File /usr/lib/python3/dist-packages/future/standard_library/__init__.py:65
63 import sys
64 import logging
---> 65 import imp
```
Migration to
[importlib](https://docs.python.org/3.11/library/importlib.html#module-
importlib) is suggested with some details in the [python 3.12
notice](https://docs.python.org/3/whatsnew/3.12.html#whatsnew312-removed-
imp).
** Affects: python-future (Ubuntu)
Importance: Undecided
Status: New
** Tags: python3-future
** Tags removed: python
** Tags added: python3-future
** Project changed: launchpad => python-future (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-future in Ubuntu.
https://bugs.launchpad.net/bugs/2091388
Title:
replace removed imp dependency in python future/standard_library
Status in python-future package in Ubuntu:
New
Bug description:
module [imp was removed](https://docs.python.org/3/library/imp.html)
in python 3.12, but is loaded from package
`python3-future`/standard_library:
```
from future import standard_library
File /usr/lib/python3/dist-packages/future/standard_library/__init__.py:65
63 import sys
64 import logging
---> 65 import imp
```
Migration to
[importlib](https://docs.python.org/3.11/library/importlib.html#module-
importlib) is suggested with some details in the [python 3.12
notice](https://docs.python.org/3/whatsnew/3.12.html#whatsnew312-removed-
imp).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-future/+bug/2091388/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list