SetuptoolsDeprecationWarning since March 26
So on Saturday I fixed the lintian warnings to then on Sunday notice these two warnings when building diffoscope:
quotes from full log at https://jenkins.debian.net/job/reproducible_diffoscope_from_git/1329/consoleFull
writing manifest file 'diffoscope.egg-info/SOURCES.txt'
/usr/lib/python3/dist-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'diffoscope.scripts' as data is deprecated, please list it in packages
.
!!
############################
# Package would be ignored #
############################
Python recognizes 'diffoscope.scripts' as an importable package,
but it is not listed in the `packages` configuration of setuptools.
'diffoscope.scripts' has been automatically added to the distribution only
because it may contain data files, but this behavior is likely to change
in future versions of setuptools (and therefore is considered deprecated).
Please make sure that 'diffoscope.scripts' is included as a package by using
the `packages` configuration field or the proper discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" and "data files" on setuptools
documentation page.
and
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
/usr/lib/python3/dist-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'diffoscope.scripts' as data is deprecated, please list it in packages
.