Hi, When byte-compilig python code, automake uses a small python script wrapped around the py_compile module. This code makes use of the imp module which has been deprecated since 3.4. I'm working on the Debian stable release which provides python3.7, and in practice, this means that each time I install python code and it is byte-compiled I see the following warning: "DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses"
The attached patch proposes to replace the imp functions with the new ones from importlib. Best regards, -- Gabriel Ganne -- **Attention: Confidential** This email message is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact me by reply email and destroy all copies of the original message.
0001-python3-fix-deprecation-warning.patch
Description: Binary data