dev-python/manhole: update PYTHON_COMPAT for 3.12

Signed-off-by: Henri Gasc <gasc@eurecom.fr>
This commit is contained in:
Henri Gasc
2024-04-12 23:42:08 +02:00
parent 8eb0438772
commit cd59f6ab24
4 changed files with 88 additions and 59 deletions

View File

@@ -0,0 +1,11 @@
Use importlib as imp is removed in python3.12
--- a/tests/test_manhole.py
+++ b/tests/test_manhole.py
@@ -1,6 +1,6 @@
from __future__ import print_function
-import imp
+import importlib
import os
import re
import select