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

Launchpad Bug Tracker 2091388 at bugs.launchpad.net
Wed Mar 12 11:29:41 UTC 2025


*** This bug is a duplicate of bug 2071640 ***
    https://bugs.launchpad.net/bugs/2071640

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: python-future (Ubuntu)
       Status: New => Confirmed

-- 
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:
  Confirmed

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