We have just run into the same issue.

The problem doesn't exist in the upstream carbon sources, it is specific
to the Ubuntu packages which patch  /usr/lib/python3/dist-
packages/carbon/routers.py.

A really simple solution is to replace:

import imp

in that file with:

import importlib as imp

Everything then seems to work without problems.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2132021

Title:
  carbon/routers.py requires imp which is not included in python3.12

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/graphite-carbon/+bug/2132021/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to