Bug#1122302: python-aiostream: FTBFS with the nocheck build profile

2025-12-10 Thread Santiago Vila
tags 1122302 patch
noowner 1122302
thanks

Hi. My script "check-nocheck" tells me that the attached patch would
fix the bug. But I'm not confident enough to be sure that's the only
possible fix, so I leave it to you.

Thanks.
commit 3343151e7ec4aa24d1fc64b117a98ef5549dd5c0
Author: Santiago Vila 
Date:   Wed Dec 10 18:23:00 2025 +0100

d/control: Drop  from python3-pytest-runner. Closes: #1122302.

diff --git a/debian/control b/debian/control
index bf5552b..82bf3c5 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Build-Depends:
  python3-pytest ,
  python3-pytest-asyncio ,
  python3-pytest-cov ,
- python3-pytest-runner ,
+ python3-pytest-runner,
  python3-typing-extensions,
 Standards-Version: 4.7.2
 Testsuite: autopkgtest-pkg-pybuild


Bug#1122302: python-aiostream: FTBFS with the nocheck build profile

2025-12-09 Thread Santiago Vila
Package: src:python-aiostream
Version: 0.7.0-1
Severity: serious
Tags: forky sid ftbfs
User: [email protected]
Usertags: ftbfs-nocheck-profile

Dear maintainer:

During a rebuild of all packages in unstable using the nocheck build profile,
this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202512/

A wiki page discussing how to reproduce bugs in this category and
possible solutions is available here:

https://wiki.debian.org/qa.debian.org/FTBFS/nocheck

(It's a wiki, so you are welcome to contribute)

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

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

Thanks.


[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 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
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:131: Building wheel for python3.14 with "build" 
module
I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<>/.pybuild/cpython3_3.14  
* Building wheel...

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pyproject_hooks/_impl.py", line 402, in 
_call_hook
raise BackendUnavailable(
...<4 lines>...
)
pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta'

ERROR Backend 'setuptools.build_meta' is not available.
E: pybuild pybuild:389: build: plugin pyproject failed with: exit code=1: 
python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir 
/<>/.pybuild/cpython3_3.14  
I: pybuild plugin_pyproject:131: Building wheel for python3.13 with "build" 
module
I: pybuild base:317: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<>/.pybuild/cpython3_3.13  
* Building wheel...

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pyproject_hooks/_impl.py", line 402, in 
_call_hook
raise BackendUnavailable(
...<4 lines>...
)
pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta'

ERROR Backend 'setuptools.build_meta' is not available.
E: pybuild pybuild:389: build: plugin pyproject failed with: exit code=1: 
python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir 
/<>/.pybuild/cpython3_3.13  
dh_auto_build: error: pybuild --build -i python{version} -p "3.14 3.13" 
returned exit code 13
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2