[From nobody Fri Sep 18 12:15:05 2026
Received: (at submit) by bugs.debian.org; 1 Sep 2024 12:54:47 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
 (2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-106.3 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
 FROMDEVELOPER,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,
 USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST autolearn=ham
 autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 23; hammy, 150; neutral, 157; spammy,
 0. spammytokens: hammytokens:0.000-+--python3,
 0.000-+--pkgbuilddir, 
 0.000-+--PKGBUILDDIR, 0.000-+--Wdatetime, 0.000-+--wdatetime
Return-path: &lt;stefanor@debian.org&gt;
Received: from smtp.tumbleweed.org.za ([2001:470:c91e::2]:55970)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;stefanor@debian.org&gt;)
 id 1skk6R-002llS-M6
 for submit@bugs.debian.org; Sun, 01 Sep 2024 12:54:47 +0000
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=debian.org;
 i=@debian.org; q=dns/txt; s=smtp-ed25519.stefanor.user; t=1725195284;
 h=date : from : to : subject : message-id : mime-version :
 content-type : from; bh=6ZsE82Gb3Qv50ukKe7Oe2TMPO3LFcRA4NMAEPJDTlEI=;
 b=/D2Ql7vjDMpYovLgtHBMWxy7+ffEXhMpQ7BW9OuYy41bYiGynROzrkeMBVfaJ0B5vJurD
 EqGnafYVBZQjmw6DA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org;
 i=@debian.org; q=dns/txt; s=smtp-rsa.stefanor.user; t=1725195284;
 h=date : from : to : subject : message-id : mime-version :
 content-type : from; bh=6ZsE82Gb3Qv50ukKe7Oe2TMPO3LFcRA4NMAEPJDTlEI=;
 b=DAn1DyDsbPEupJBHYO0I6rnNbGogTwnKSmYbvK4eu19lTSZN8iJvSiNg3lFDygdd+dA22
 JVCGBhVH/Z4m/Rsyv+scELOLaXYhUwRV5kx4xhkyvW7Dl5Pcc9xg+goAFqaoirtaLeq9c3V
 cF8k0bQhi0zgIdPPa7LO58uYFJEYFxsCMiF144esxmT42DCYRV8GA+Zw3uQM27KGoFmLeWt
 W6QJzs7UHI7B4wK71ildhunpYmbqReqYyU+gwHVWws5v+CQvXy1I9XSeBfM1g22k7xMhTRW
 X+lz0LdLUPLk5yJJU5zTc/DSf7kj1AkteLWeq8kLDJ8/LHfUldFoxsisq3QA==
Received: from haydn.kardiogramm.net (unknown [196.210.37.32])
 by smtp.tumbleweed.org.za (Postfix) with ESMTPSA id A983E400AC;
 Sun,  1 Sep 2024 12:54:44 +0000 (UTC)
Received: by haydn.kardiogramm.net (Postfix, from userid 1000)
 id 0A17AEBD20B; Sun, 01 Sep 2024 14:54:43 +0200 (SAST)
Date: Sun, 1 Sep 2024 14:54:42 +0200
From: Stefano Rivera &lt;stefanor@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: FTBFS with setuptools &gt;= 72: error: invalid command 'test'
Message-ID: &lt;phkkr4x6mdiqvof4qzqo2frqggpt2niibiz7u442yvx2sv6iun@tp4mropb33ff&gt;
X-Reportbug-Version: 13.0.1
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
User-Agent: NeoMutt/20240425
Delivered-To: submit@bugs.debian.org

Source: pyemd
Version: 0.5.1.54.g802fa86-2
Severity: serious
Tags: ftbfs
Justification: FTBFS
User: debian-python@lists.debian.org
Usertags: setup.py-test

Dear maintainer,

During a test rebuild for packages affected by setuptools 72, pyemd
failed to rebuild.

FWIW: I think these bugs were all caused by setuptools v72 dropping
support for the &quot;test&quot; command, so dh-python has fallen back to
distutils / other test plugins.

If you're trying to figure out how to fix the bug, look at the
implementation of test_suite in setup.py to see what magic it does for
test setup.

-------------------------------------------------------------------------------
[...]
x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/&lt;&lt;PKGBUILDDIR&gt;&gt;=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/&lt;&lt;PKGBUILDDIR&gt;&gt;=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-cpython-312/pyemd/emd.o -L/usr/lib/x86_64-linux-gnu -o /&lt;&lt;PKGBUILDDIR&gt;&gt;/.pybuild/cpython3_3.12_pyemd/build/pyemd/emd.cpython-312-x86_64-linux-gnu.so
   debian/rules execute_before_dh_auto_test
make[1]: Entering directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
for python in $(py3versions --supported) ; do \
	&quot;$python&quot; setup.py test ; \
done
/usr/lib/python3/dist-packages/setuptools/__init__.py:88: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

        ********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        ********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'test'
make[1]: *** [debian/rules:11: execute_before_dh_auto_test] Error 1
make[1]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-08-28T03:51:26Z

-------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/552881/

About the archive rebuild: The build was made on debusine.debian.net,
using sbuild.

You can find the build task here:
https://debusine.debian.net/work-request/9788/

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks,

Stefano
]