Package: lazygal
Version: 0.10.3-2
Severity: normal

Dear Maintainer,

the build and DEP8 test of lazygal (everytime setup.py is called,
actually) produces this warning in stderr:

$ ./setup.py -h > /dev/null
/home/ubuntu/git/packages/lazygal/lazygal/./setup.py:20:
DeprecationWarning: The distutils package is deprecated and slated for
removal in Python 3.12. Use setuptools or check PEP 632 for potential
alternatives
  from distutils.core import setup, Command
/home/ubuntu/git/packages/lazygal/lazygal/./setup.py:21:
DeprecationWarning: The distutils.sysconfig module is deprecated, use
sysconfig instead
  import distutils.sysconfig

The mentioned PEP is at https://www.python.org/dev/peps/pep-0632/, and
it also points to
https://setuptools.pypa.io/en/latest/deprecated/distutils-legacy.html
for a guide helping porting to setuptools

I filed this bug upstream as well: https://github.com/niol/lazygal/issues/14

In Ubuntu, for now I will add an allow-stderr restriction to the DEP8 test:
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,4 @@
 Tests: smoke
 Depends: @, python3-distutils, ffmpeg
+# XXX - https://bugs.launchpad.net/bugs/1959932
+Restrictions: allow-stderr

Reply via email to