Your message dated Mon, 24 Oct 2022 12:06:23 +0000
with message-id <[email protected]>
and subject line Bug#1022474: fixed in python-ua-parser 0.16.1-2
has caused the Debian Bug report #1022474,
regarding python-ua-parser: FTBFS: distutils.errors.DistutilsClassError:
command class <class '__main__.build'> must subclass Command
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1022474: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022474
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-ua-parser
Version: 0.16.1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20221023 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:240: python3.10 setup.py config
> /<<PKGBUILDDIR>>/setup.py:4: 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 import log
> /usr/lib/python3/dist-packages/_distutils_hack/__init__.py:18: UserWarning:
> Distutils was imported before Setuptools, but importing Setuptools also
> replaces the `distutils` module in `sys.modules`. This may lead to
> undesirable behaviors or errors. To avoid these issues, avoid using distutils
> directly, ensure that setuptools is installed in the traditional way (e.g.
> not an editable install), and/or make sure that setuptools is always imported
> before distutils.
> warnings.warn(
> /usr/lib/python3/dist-packages/_distutils_hack/__init__.py:33: UserWarning:
> Setuptools is replacing distutils.
> warnings.warn("Setuptools is replacing distutils.")
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3 setup.py build
> /<<PKGBUILDDIR>>/setup.py:4: 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 import log
> /usr/lib/python3/dist-packages/_distutils_hack/__init__.py:18: UserWarning:
> Distutils was imported before Setuptools, but importing Setuptools also
> replaces the `distutils` module in `sys.modules`. This may lead to
> undesirable behaviors or errors. To avoid these issues, avoid using distutils
> directly, ensure that setuptools is installed in the traditional way (e.g.
> not an editable install), and/or make sure that setuptools is always imported
> before distutils.
> warnings.warn(
> /usr/lib/python3/dist-packages/_distutils_hack/__init__.py:33: UserWarning:
> Setuptools is replacing distutils.
> warnings.warn("Setuptools is replacing distutils.")
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/setup.py", line 203, in <module>
> setup(
> File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 87, in
> setup
> return distutils.core.setup(**attrs)
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line
> 172, in setup
> ok = dist.parse_command_line()
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line
> 474, in parse_command_line
> args = self._parse_command_opts(parser, args)
> File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 1107, in
> _parse_command_opts
> nargs = _Distribution._parse_command_opts(self, parser, args)
> File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line
> 540, in _parse_command_opts
> raise DistutilsClassError(
> distutils.errors.DistutilsClassError: command class <class '__main__.build'>
> must subclass Command
> E: pybuild pybuild:379: build: plugin distutils failed with: exit code=1:
> /usr/bin/python3 setup.py build
> dh_auto_build: error: pybuild --build -i python{version} -p 3.10 returned
> exit code 13
> make: *** [debian/rules:7: binary] Error 25
The full build log is available from:
http://qa-logs.debian.net/2022/10/23/python-ua-parser_0.16.1-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221023;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221023&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---
--- Begin Message ---
Source: python-ua-parser
Source-Version: 0.16.1-2
Done: Edward Betts <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-ua-parser, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Edward Betts <[email protected]> (supplier of updated python-ua-parser package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 24 Oct 2022 12:42:31 +0100
Source: python-ua-parser
Architecture: source
Version: 0.16.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Edward Betts <[email protected]>
Closes: 1022474
Changes:
python-ua-parser (0.16.1-2) unstable; urgency=medium
.
* Fix package to build with setuptools 65.5.0. (Closes: #1022474)
Checksums-Sha1:
cb0b8e1f96f06337578b23ba5e67a0962787d9a7 2177 python-ua-parser_0.16.1-2.dsc
3e1c48f2129d7136350fda283cd8a6b191bf2edf 3508
python-ua-parser_0.16.1-2.debian.tar.xz
b0842ddf5be54153f3b3ae1577caf22c4d23ce62 7591
python-ua-parser_0.16.1-2_source.buildinfo
Checksums-Sha256:
83a0e7baa78fd5ee8e39a1db17c2aba570ecb448e7c02a440e0eb4087cfc5d31 2177
python-ua-parser_0.16.1-2.dsc
773f9d9c9929918b0083b064ed74d55fde0fa412c65049ca35898a9992e5fb76 3508
python-ua-parser_0.16.1-2.debian.tar.xz
f55e87890772deeb8d62b22ee14fba9dcef8fc833d5d42818fd05afd69f34b48 7591
python-ua-parser_0.16.1-2_source.buildinfo
Files:
b49043e1ebbce3f11b4cf81786d1a047 2177 python optional
python-ua-parser_0.16.1-2.dsc
8a5c8fe206bd00c57c81d84c40d8b851 3508 python optional
python-ua-parser_0.16.1-2.debian.tar.xz
271163b0c79ec1dc7caf8828491a3074 7591 python optional
python-ua-parser_0.16.1-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE+4rPp4xyYInDitAmlgWhCYxjuSoFAmNWetIACgkQlgWhCYxj
uSqlaBAAsrbNkB4wx3tIMq0s8ZX+RlAQbok4idigLbrpE+gD8hbVmWVqwqBLg5UF
WfMhYV/X+Tw/qiC/XIdQe+XMmFQxzcWWw2kuJjsCCZ07v+74UYTTn7W/FghmLTtu
RRynqpIhfnYYl4G7YlfhzaEJDVadjm1r4l38D09VjsOEymGEnpDTSalsXQhIlV5J
mbdeKJpNh5YgTnrC8U8qJj2SmzbcMaWiDOm6W+jx2xFXtNFlY2cniAAGKfiqO2Uw
+TC7bLVC3OPj0tYavFLJt4OGCrSeonvsi/QdpseLEHR0l3TpheOvgT63VOjyY7Qc
jrMcxNk/TKABntZI9R2b85oxMW6KVW7Ng7LZUN8DBfSVwnhk+eKqBNmIFc0N/xvO
hsr6nP7pecEZugbOhaYmjOoEGgst6rf5iWbpOG1zmoHKGKhjv1715wX0/dFOJHab
HGJ6F/QwIBc9DV51qgxTRswDlUkOlEdi5GRfxcQaaUd8ANGpdEDaAKd71LbSaXjs
vbN3GhDZITIleeJ+WzwFeof2IA9vv06y/n4DlJhORnNvW1i9wPrsZ8tq0Z00Ap8x
bmHvrFTF9FJFAGJuPSyYEyo7CehWPfvD75nM+FIrWjHXMUtYF+Md1p6buWVVUYy6
5AoejBYnYoBZtrWp9v82hR0q8IneMGEHhpTd9+D29EeBpIxNso0=
=aQ4l
-----END PGP SIGNATURE-----
--- End Message ---