The build failure is due to the library python3-httpx. This library uses python3-rfc3986, it's been upgraded lately [1], and it's now causing the breakage.

There's a discussion about this issue upstream [2]. If we bump src:httpx to version 0.24.0, the dependency on python3-rfc3986 goes away, and the problem will be fixed.

Looking at src:httpx now: Debian has 0.23.3-1, we need at least 0.24, and  upstream is at 0.25.2.

  $ build-rdeps python3-httpx
  Reverse Build-depends in main:
  ------------------------------

  aioxmlrpc
  asgi-csrf
  asgi-lifespan
  dnspython
  fastapi
  greenbone-feed-sync
  nala
  ormar
  pontos
  python-a2wsgi
  python-authlib
  python-cobra
  python-duckpy
  python-falcon
  python-gvm
  python-tiny-proxy
  python-truststore
  python-uvicorn
  sqlmodel
  starlette

Since I'm not involved in Python packaging, I don't feel comfortable doing this upgrade.

Best,

Arnaud

[1]: https://tracker.debian.org/pkg/python-rfc3986

[2]: https://github.com/encode/starlette/discussions/1879

On Fri, 27 Oct 2023 21:48:44 +0200 Lucas Nussbaum <lu...@debian.org> wrote:

> Source: starlette
> Version: 0.31.1-1
> Severity: serious
> Justification: FTBFS
> Tags: trixie sid ftbfs
> User: lu...@debian.org
> Usertags: ftbfs-20231027 ftbfs-trixie
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
>
>
> Relevant part (hopefully):
> > debian/rules build
> > dh build --with python3 --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:110: Building wheel for python3.11 with "build" module > > I: pybuild base:310: python3.11 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_starlette
> > * Building wheel...
> > Successfully built starlette-0.31.1-py3-none-any.whl
> > I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.11 with "installer" module
> > dh_auto_test -O--buildsystem=pybuild
> > I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_starlette/build; python3.11 -m pytest tests > > ============================= test session starts ==============================
> > platform linux -- Python 3.11.6, pytest-7.4.3, pluggy-1.3.0
> > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_starlette/build
> > configfile: pyproject.toml
> > plugins: anyio-3.7.0
> > collected 420 items
> >
> > tests/test__utils.py ...... [ 1%]
> > tests/test_applications.py .FFFFFF.FFF..F.FFF......F. [ 7%]
> > tests/test_authentication.py .FF.FF [ 9%]
> > tests/test_background.py FFFF [ 10%]
> > tests/test_concurrency.py .F [ 10%]
> > tests/test_config.py .... [ 11%]
> > tests/test_convertors.py FFF [ 12%]
> > tests/test_datastructures.py ...................... [ 17%]
> > tests/test_endpoints.py FFF....... [ 19%]
> > tests/test_exceptions.py FFFF.FF.....F [ 22%]
> > tests/test_formparsers.py FFFFFFFFFFFFFFFF..FFFFFFFFFFFFFFFFF [ 31%]
> > tests/test_requests.py FFF...FFFFFFF.FF.F.FFFFFFFFFFFFFFFFFF..... [ 41%]
> > tests/test_responses.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF. [ 48%]
> > tests/test_routing.py FF..FF.FF.FF.F.F.FF..F.F.F..F........FF..FFF...... [ 60%]
> > .. [ 60%]
> > tests/test_schemas.py .F [ 61%]
> > tests/test_staticfiles.py FFFFFFF.FFF.FFFFFFFFFFFFFF.. [ 68%]
> > tests/test_status.py .. [ 68%]
> > tests/test_templates.py FFFF..F.F....F [ 71%]
> > tests/test_testclient.py F.F..FF.FFFFFFFFFFF [ 76%]
> > tests/test_websockets.py ................................ [ 84%]
> > tests/middleware/test_base.py FFFFFF...FFFFFFFF.FF..FF [ 89%]
> > tests/middleware/test_cors.py FFFFFFFFFFFFFFF [ 93%]
> > tests/middleware/test_errors.py FFFF.F [ 94%]
> > tests/middleware/test_gzip.py FFFFF [ 95%]

--
Arnaud Rebillout / OffSec / Kali Linux Developer

Reply via email to