#1143366 python-cross-web: FTBFS: E ModuleNotFoundError: No module named 'httpx2'

#1143366#5
Date:
2026-08-01 22:37:35 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, 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/202608/

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-cross-web, 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
   debian/rules override_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf .mypy_cache .pytest_cache
dh_clean
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
 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:142: Building wheel for python3.13 with "build" module
I: pybuild base:385: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_cross_web
* Building wheel...
Successfully built cross_web-0.7.0-py3-none-any.whl
I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.13 with "installer" module
I: pybuild plugin_pyproject:142: Building wheel for python3.14 with "build" module
I: pybuild base:385: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_cross_web
* Building wheel...
Successfully built cross_web-0.7.0-py3-none-any.whl
I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.14 with "installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_cross_web/build; python3.13 -m pytest --ignore tests/request/test_chalice.py --ignore tests/request/test_litestar.py --ignore tests/request/test_sanic.py --ignore tests/testing/clients/test_http_clients.py
============================= test session starts ==============================
platform linux -- Python 3.13.14, pytest-9.1.1, pluggy-1.6.0
django: version: 5.2.16, settings: testing._django_settings (from ini)
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_cross_web/build
configfile: pyproject.toml
plugins: anyio-4.12.1, asyncio-1.4.0, django-4.12.0
asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collected 67 items / 1 error

==================================== ERRORS ====================================

#1143366#10
Date:
2026-08-02 16:38:00 UTC
From:
To:
Control: reassign 1143366 python3-starlette
Control: reassign 1143369 python3-starlette
Control: merge 1143366 1143369
Control: affects 1143366 src:python-cross-web src:python-openapi-core

Both this and the similar #1143369 are bugs in starlette.  I'll fix the
missing dependency there.

Thanks,

#1143366#23
Date:
2026-08-02 16:41:53 UTC
From:
To:
Control: affects 1143366 - src:python-cross-web src:python-openapi-core
Control: unmerge 1143366
Control: reassign 1143366 src:python-cross-web 0.7.0-1
Control: reassign 1143369 src:python-openapi-core 0.23.1-3

Hmm ... actually, it's an optional dependency of starlette expressed via
Recommends, and documented as "Required if you want to use the
TestClient".  So I guess I'll fix this in python-cross-web and
python-openapi-core instead.  Sorry for the noise!

#1143366#38
Date:
2026-08-02 17:05:43 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-cross-web, 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 1143366@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated python-cross-web 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 02 Aug 2026 17:46:18 +0100
Source: python-cross-web
Architecture: source
Version: 0.7.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Closes: 1143366
Changes:
 python-cross-web (0.7.0-2) unstable; urgency=medium
 .
   * Team upload.
   * [31e1318] Build-depend on python3-httpx2 (closes: #1143366).
Checksums-Sha1:
 dab712a1a8b457d1ca45f5eb172d362f93a00e2e 2931 python-cross-web_0.7.0-2.dsc
 6c9733903970914e1b77c13cc631e9c012bb4cfd 4480 python-cross-web_0.7.0-2.debian.tar.xz
 90a54f067cd28fa83038ff0b5a0477d7f4342eb1 412516 python-cross-web_0.7.0-2.git.tar.xz
 971b07990eaee802021ddfb3de5d8bd6a6c462cd 17588 python-cross-web_0.7.0-2_source.buildinfo
Checksums-Sha256:
 a4d628b6f7d799916c55f95392a16d7d64dc7f65b22cab9dcffdc0560ad82d5f 2931 python-cross-web_0.7.0-2.dsc
 c31144f93a7fb131e7dfd02a1b50e4876964d20ca2cc834868f0e15aa1cd4c4f 4480 python-cross-web_0.7.0-2.debian.tar.xz
 80f630181183900b2dbb57cab793a55abf047a3b0fc60e3265d564f9551c8b7f 412516 python-cross-web_0.7.0-2.git.tar.xz
 0bfb8819fc102ccd0a91d5f5f99519c075ebbd0eb842ca2254d1d1bba54a1f8a 17588 python-cross-web_0.7.0-2_source.buildinfo
Files:
 3b27a3b373af35f6387d5c554c1adb39 2931 python optional python-cross-web_0.7.0-2.dsc
 ea6be348d1aefa1dca71f172e2d03e72 4480 python optional python-cross-web_0.7.0-2.debian.tar.xz
 f0d9a193cc3fefa4e8ae248348e904b8 412516 python None python-cross-web_0.7.0-2.git.tar.xz
 fa10af027723f9991ff833f357c8c0d6 17588 python optional python-cross-web_0.7.0-2_source.buildinfo
Git-Tag-Info: tag=f31311b3dadcc6d6b54ddc2900b3b2b1f6b54876 fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <cjwatson@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmpvdPcACgkQYG0ITkaD
wHkZeA//TTCAVOU8yx+6d+RTsNfSP4aB5+85+OJ77o7uI43BZk5rYQw/yCNjjGaG
8nsQ7ynSfzEiH8sTmpj21QParZJnzJ7d5BrHgD0budKePZ+7RutrM6PjcJFdfKb3
8eumHT8wUiLBWWjrWcKrEZt+n9SGe6zGl9FWpNhMa/4BP6uCcydZ1S/jAFAw0Xfp
J28rVUvW8JV/6blvE9A9FoXz/oG8F9B8MHTtpUEp6MSCiT9Hrd0FQt83mWHJEpzf
2qjrwhCAXuTVSZmQVunMB68i67v5t0QSm45N2spt9B/opXZH6Oa360PGxTI5a9wM
O9+W50U5G3KDxI7GAqrV6kajTZh0kvA8tZqSmZSt5Ue3hLGoVEjrOow1hstPkYxb
ZNGrtB1WZyM0MZFe65/3SWx1BDruG8fAcfszxlep5Dw/ThwQYvtTry1k2jDOsWO/
d9C2L+9mJpxSCQuhFBUFgxZJK1CT/OYSz1IDcTuY0ym+1bScM1O4phWE9IJgyBhw
rv6jo9aLcp+y2o96JhawbJktNzGWXqfUHC7poXZqbq89Pe5Y0kJv9k6JmYOUTLw2
PkyT3Zbihpn/3IQKw1WO6gumQpCF2Xg3yCinsDzHdNI5iOzI3BYzcGSkucWEVoaM
insS4GeNkMsr6Z1kIRk0RAYVnIitOVJ1plUk2SA4sZKrm1h19qE=
=4wyJ
-----END PGP SIGNATURE-----