Re: pyxdg-0.28 fails tests with python-3.12
"Andrey G. Grozin" <[email protected]> Sat, 28 Oct 2023 22:28:52 +0700 (+07)
| Newsgroups | gmane.linux.xdg.devel |
|---|---|
| Message-ID | <[email protected]> |
The problem becomes clear. test_basedirectory.py contains the line
from imp import reload
with python3.11, it generates a deprecation warning: the module imp is
deprecated, and will be removed in python3.12. Now in python3.12 it *has*
been removed. And, instead of a warning, we get a fatal error.
I need to read about replacing
from imp import <something>
by something supported.
Andrey