[Bug 2091388] [NEW] replace removed imp dependency in python future/standard_library

Launchpad Bug Tracker 2091388 at bugs.launchpad.net
Tue Dec 10 16:10:37 UTC 2024


You have been subscribed to a public bug:

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
-- 
replace removed imp dependency in python future/standard_library 
https://bugs.launchpad.net/bugs/2091388
You received this bug notification because you are a member of Ubuntu OpenStack, which is subscribed to python-future in Ubuntu.



More information about the Ubuntu-openstack-bugs mailing list