#1108968 bitstruct: autopkgtest regression: invalid command 'test'

#1108968#5
Date:
2025-07-08 18:44:47 UTC
From:
To:
Dear maintainer(s),

Your package has an autopkgtest, great. However, it fails since
September 2024. Can you please investigate the situation and fix it? I
copied some of the output at the bottom of this report.

The release team has announced [1] that failing autopkgtest on amd64 and
arm64 are considered RC in testing.

More information about this bug and the reason for filing it can be
found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

With my Release Team member hat on I allow you to tag this bug as
trixie-ignore if this is nearly completely a test issue as it's so late
in the freeze and it's not worth removing the package from trixie
because of a failing test at this moment unless it exposes a much bigger
issue. Having said that, if this is a test only issue and a fix is
possible without fully removing the autopkgtest and without making the
test superficial, it's still welcome, but it would need to happen soon.

Paul

[1] https://lists.debian.org/debian-devel-announce/2019/07/msg00002.html

https://ci.debian.net/data/autopkgtest/testing/amd64/b/bitstruct/61933846/log.gz

  40s autopkgtest [03:13:19]: test upstream: [-----------------------
  41s [*] testing python3.13:
  41s
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82:
SetuptoolsDeprecationWarning: `project.license` as a TOML table is
deprecated
  41s !!
  41s
  41s
********************************************************************************
  41s         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).
  41s
  41s         By 2026-Feb-18, you need to update your project and remove
deprecated calls
  41s         or your builds will no longer be supported.
  41s
  41s         See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
  41s
********************************************************************************
  41s
  41s !!
  41s   corresp(dist, value, root_dir)
  41s
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:61:
SetuptoolsDeprecationWarning: License classifiers are deprecated.
  41s !!
  41s
  41s
********************************************************************************
  41s         Please consider removing the following classifiers in
favor of a SPDX license expression:
  41s
  41s         License :: OSI Approved :: MIT License
  41s
  41s         See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
  41s
********************************************************************************
  41s
  41s !!
  41s   dist._finalize_license_expression()
  41s /usr/lib/python3/dist-packages/setuptools/dist.py:759:
SetuptoolsDeprecationWarning: License classifiers are deprecated.
  41s !!
  41s
  41s
********************************************************************************
  41s         Please consider removing the following classifiers in
favor of a SPDX license expression:
  41s
  41s         License :: OSI Approved :: MIT License
  41s
  41s         See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
  41s
********************************************************************************
  41s
  41s !!
  41s   self._finalize_license_expression()
  41s usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
  41s    or: setup.py --help [cmd1 cmd2 ...]
  41s    or: setup.py --help-commands
  41s    or: setup.py cmd --help
  41s
  41s error: invalid command 'test'
  41s autopkgtest [03:13:20]: test upstream: -----------------------]

#1108968#10
Date:
2025-07-09 07:43:01 UTC
From:
To:
  setuptools v72 removed the deprecated 'test' command:
https://setuptools.pypa.io/en/stable/history.html#v72-0-0

Mathias

#1108968#15
Date:
2025-07-13 13:08:35 UTC
From:
To:
Source: bitstruct
Source-Version: 8.20.0-2
[...]

I attempted to fix this back in March, but my upload apparently vanished
into the ether at the time and I unfortunately didn't notice.  I've
reuploaded it now.

bitstruct (8.20.0-2) unstable; urgency=medium

   * Team upload.
   * Switch to autopkgtest-pkg-pybuild.