Package: src:mistral-dashboard
Version: 22.0.0-1
Severity: serious
Tags: sid forky
User: [email protected]
Usertags: pkg-resources-deprecation
using the removed pkg_resources module in the autopkg tests:
[...]
121s autopkgtest [01:05:36]: test unittests: [-----------------------
121s + dpkg-parsechangelog -SVersion
121s + sed -e s/^[[:digit:]]*:// -e s/[-].*// -e s/~git.*// -e s/~/.0/
-e s/+dfsg1// -e s/+ds1//
121s + head -n 1
121s + export OSLO_PACKAGE_VERSION=22.0.0
121s + pwd
121s + CWD=/tmp/autopkgtest.mVKO9t/build.QG9/src
121s + py3versions -vs
122s + PYTHON3S=3.14
122s + python3.14 setup.py install --install-layout=deb --root
/tmp/autopkgtest.mVKO9t/build.QG9/src/debian/tmp
122s /usr/lib/python3/dist-packages/setuptools/__init__.py:92:
_DeprecatedInstaller: setuptools.installer and fetch_build_eggs are
deprecated.
122s !!
122s
122s
********************************************************************************
122s Requirements should be satisfied by a PEP 517 installer.
122s If you are using pip, you can try `pip install --use-pep517`.
122s
122s This deprecation is overdue, please update your project and
remove deprecated
122s calls to avoid build errors in the future.
122s
********************************************************************************
122s
122s !!
122s dist.fetch_build_eggs(dist.setup_requires)
122s /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:90:
SetuptoolsDeprecationWarning: setup.py install is deprecated.
122s !!
122s
122s
********************************************************************************
122s Please avoid running ``setup.py`` directly.
122s Instead, use pypa/build, pypa/installer or other
122s standards-based tools.
122s
122s This deprecation is overdue, please update your project and
remove deprecated
122s calls to avoid build errors in the future.
122s
122s See
https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for
details.
122s
********************************************************************************
122s
122s !!
122s self.initialize_options()
122s /usr/lib/python3/dist-packages/pbr/setupcfg.py:833: UserWarning:
Unknown distribution option: 'tests_require'
122s warnings.warn(msg)
122s
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82:
SetuptoolsDeprecationWarning: `project.license` as a TOML table is
deprecated
122s !!
122s
122s
********************************************************************************
122s Please use a simple string containing a SPDX expression for
`project.license`. You can also use `project.license-files`. (Both
options available on setuptools>=77.0.0).
122s
122s By 2027-Feb-18, you need to update your project and remove
deprecated calls
122s or your builds will no longer be supported.
122s
122s See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
122s
********************************************************************************
122s
122s !!
122s corresp(dist, value, root_dir)
122s ModuleNotFoundError while trying to load entry-point
build_calmjs_artifacts: No module named 'pkg_resources'
122s ModuleNotFoundError while trying to load entry-point npm: No module
named 'pkg_resources'
122s ModuleNotFoundError while trying to load entry-point yarn: No
module named 'pkg_resources'
122s
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:61:
SetuptoolsDeprecationWarning: License classifiers are deprecated.
122s !!
122s
122s
********************************************************************************
122s Please consider removing the following classifiers in favor
of a SPDX license expression:
122s
122s License :: OSI Approved :: Apache Software License
122s
122s See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
122s
********************************************************************************
122s
122s !!
122s dist._finalize_license_expression()
122s /usr/lib/python3/dist-packages/setuptools/dist.py:765:
SetuptoolsDeprecationWarning: License classifiers are deprecated.
122s !!
122s
122s
********************************************************************************
122s Please consider removing the following classifiers in favor
of a SPDX license expression:
122s
122s License :: OSI Approved :: Apache Software License
122s
122s See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
122s
********************************************************************************
122s
122s !!
122s self._finalize_license_expression()
122s running install
122s [pbr] Generating AUTHORS
122s [pbr] AUTHORS complete (0.0s)
122s running build
122s running build_py
122s creating build/lib/mistraldashboard
122s copying mistraldashboard/handle_errors.py -> build/lib/mistraldashboard
122s copying mistraldashboard/forms.py -> build/lib/mistraldashboard
122s copying mistraldashboard/exceptions.py -> build/lib/mistraldashboard
122s copying mistraldashboard/dashboard.py -> build/lib/mistraldashboard
122s copying mistraldashboard/api.py -> build/lib/mistraldashboard
122s copying mistraldashboard/__init__.py -> build/lib/mistraldashboard
122s running egg_info
122s creating mistral_dashboard.egg-info
122s Traceback (most recent call last):
122s File "/tmp/autopkgtest.mVKO9t/build.QG9/src/setup.py", line 18,
in <module>
122s setuptools.setup(
122s ~~~~~~~~~~~~~~~~^
122s setup_requires=['pbr>=2.0.0'],
122s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
122s pbr=True)
122s ^^^^^^^^^
122s File "/usr/lib/python3/dist-packages/setuptools/__init__.py",
line 117, in setup
122s return distutils.core.setup(**attrs) # type: ignore[return-value]
122s ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
122s File
"/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line
168, in setup
122s return run_commands(dist)
122s File
"/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line
184, in run_commands
122s dist.run_commands()
122s ~~~~~~~~~~~~~~~~~^^
122s File
"/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line
1028, in run_commands
122s self.run_command(cmd)
122s ~~~~~~~~~~~~~~~~^^^^^
122s File "/usr/lib/python3/dist-packages/setuptools/dist.py", line
1106, in run_command
122s super().run_command(command)
122s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^
122s File
"/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line
1047, in run_command
122s cmd_obj.run()
122s ~~~~~~~~~~~^^
122s File "/usr/lib/python3/dist-packages/pbr/_compat/commands.py",
line 232, in run
122s return du_install.install.run(self)
122s ~~~~~~~~~~~~~~~~~~~~~~^^^^^^
122s File
"/usr/lib/python3/dist-packages/setuptools/_distutils/command/install.py",
line 693, in run
122s self.run_command('build')
122s ~~~~~~~~~~~~~~~~^^^^^^^^^
122s File
"/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 342,
in run_command
122s self.distribution.run_command(command)
122s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
122s File "/usr/lib/python3/dist-packages/setuptools/dist.py", line
1106, in run_command
122s super().run_command(command)
122s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^
122s File
"/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line
1047, in run_command
122s cmd_obj.run()
122s ~~~~~~~~~~~^^
122s File
"/usr/lib/python3/dist-packages/setuptools/_distutils/command/build.py",
line 137, in run
122s self.run_command(cmd_name)
122s ~~~~~~~~~~~~~~~~^^^^^^^^^^
122s File
"/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 342,
in run_command
122s self.distribution.run_command(command)
122s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
122s File "/usr/lib/python3/dist-packages/setuptools/dist.py", line
1106, in run_command
122s super().run_command(command)
122s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^
122s File
"/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line
1047, in run_command
122s cmd_obj.run()
122s ~~~~~~~~~~~^^
122s File
"/usr/lib/python3/dist-packages/setuptools/command/build_py.py", line
80, in run
122s self.build_package_data()
122s ~~~~~~~~~~~~~~~~~~~~~~~^^
122s File
"/usr/lib/python3/dist-packages/setuptools/command/build_py.py", line
172, in build_package_data
122s for target, srcfile in self._get_package_data_output_mapping():
122s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
122s File
"/usr/lib/python3/dist-packages/setuptools/command/build_py.py", line
164, in _get_package_data_output_mapping
122s for package, src_dir, build_dir, filenames in self.data_files:
122s ^^^^^^^^^^^^^^^
122s File
"/usr/lib/python3/dist-packages/setuptools/command/build_py.py", line
90, in __getattr__
122s self.data_files = self._get_data_files()
122s ~~~~~~~~~~~~~~~~~~~~^^
122s File
"/usr/lib/python3/dist-packages/setuptools/command/build_py.py", line
96, in _get_data_files
122s self.analyze_manifest()
122s ~~~~~~~~~~~~~~~~~~~~~^^
122s File
"/usr/lib/python3/dist-packages/setuptools/command/build_py.py", line
194, in analyze_manifest
122s self.run_command('egg_info')
122s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^
122s File
"/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 342,
in run_command
122s self.distribution.run_command(command)
122s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
122s File "/usr/lib/python3/dist-packages/setuptools/dist.py", line
1106, in run_command
122s super().run_command(command)
122s ~~~~~~~~~~~~~~~~~~~^^^^^^^^^
122s File
"/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line
1047, in run_command
122s cmd_obj.run()
122s ~~~~~~~~~~~^^
122s File
"/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line
334, in run
122s writer = ep.load()
122s File "/usr/lib/python3.14/importlib/metadata/__init__.py", line
179, in load
122s module = import_module(match.group('module'))
122s File "/usr/lib/python3.14/importlib/__init__.py", line 88, in
import_module
122s return _bootstrap._gcd_import(name[level:], package, level)
122s ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
122s File "<frozen importlib._bootstrap>", line 1406, in _gcd_import
122s File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
122s File "<frozen importlib._bootstrap>", line 1342, in
_find_and_load_unlocked
122s File "<frozen importlib._bootstrap>", line 938, in _load_unlocked
122s File "<frozen importlib._bootstrap_external>", line 759, in
exec_module
122s File "<frozen importlib._bootstrap>", line 491, in
_call_with_frames_removed
122s File "/usr/lib/python3/dist-packages/calmjs/dist.py", line 18, in
<module>
122s from pkg_resources import Requirement
122s ModuleNotFoundError: No module named 'pkg_resources'