On 4/22/24 10:26 PM, Giancarlo Razzolini wrote:
Excerpts from Jelle van der Waa's message of abril 18, 2024 4:56 am:
This Python release dropped the `imp` module, but the next release (3.13) which is slated for October this year will drop more Python batteries, some methods and some unittest invocations. [1]
I was hit by the imp removal today. Made a PR against the upstream project.
I think that, to cover our bases, we should open issues on upstream projects using the (soon to be) deprecated modules and as well to python project itself.
If one has also time to make PR's, better. But we know how some upstream can be slow to act, so we will certainly need some patching.
Regards, Giancarlo Razzolini
Just to be sure, `importlib.util.spec_from_file_location()` is unchanged correct? I've read the change log up and down a couple of times, and it appears to only affect the `imp` lib specifically and I think I've covered my bases. But just for my own sanity, have I correctly understood the change in 3.13 in my above reasoning? Otherwise I will be guilty of issues in `archinstall` since I use `importlib.util` quite heavily. //Anton