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

Martin Weis 2091388 at bugs.launchpad.net
Tue Dec 10 16:14:04 UTC 2024


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

python3-future is not known on launchpad, so I chose python-future


apt-cache policy python-future
N: Unable to locate package python-future

apt-cache policy python3-future
python3-future:
  Installed: 0.18.2-6ubuntu2
  Candidate: 0.18.2-6ubuntu2
  Version table:
 *** 0.18.2-6ubuntu2 500
        500 http://de.archive.ubuntu.com/ubuntu noble/universe amd64 Packages

lsb_release -a
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04.1 LTS
Release:	24.04
Codename:	noble


** This bug has been marked a duplicate of bug 2071640
   python3-future 0.18.2 is not compatible with Python 3.12

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