Your message dated Sun, 09 Mar 2025 12:35:38 +0000
with message-id <e1trfsy-00bk6u...@fasolo.debian.org>
and subject line Bug#1099291: fixed in starlette 0.46.1-1
has caused the Debian Bug report #1099291,
regarding starlette: FTBFS: E assert '{"example":123}' == '{"example":
123}'
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 ow...@bugs.debian.org
immediately.)
--
1099291: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1099291
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:starlette
Version: 0.41.3-2
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --with python3 --buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
dh_autoreconf_clean -O--buildsystem=pybuild
dh_clean -O--buildsystem=pybuild
debian/rules binary
dh binary --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:129: Building wheel for python3.13 with "build"
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_starlette
* Building wheel...
Successfully built starlette-0.41.3-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with
"installer" module
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_starlette/build; python3.13 -m pytest
tests
============================= test session starts ==============================
platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_starlette/build
configfile: pyproject.toml
plugins: anyio-4.8.0, typeguard-4.4.2
collected 863 items
tests/middleware/test_base.py .....x.........................x.......... [ 4%]
........... [ 6%]
tests/middleware/test_cors.py .............................. [ 9%]
tests/middleware/test_errors.py ............ [ 11%]
tests/middleware/test_gzip.py .......... [ 12%]
tests/middleware/test_https_redirect.py .. [ 12%]
tests/middleware/test_middleware.py .. [ 12%]
tests/middleware/test_session.py .............. [ 14%]
tests/middleware/test_trusted_host.py ..... [ 14%]
tests/middleware/test_wsgi.py .F...F.... [ 15%]
tests/test__utils.py .......... [ 17%]
tests/test_applications.py ............................................. [ 22%]
......... [ 23%]
tests/test_authentication.py ........... [ 24%]
tests/test_background.py ........ [ 25%]
tests/test_concurrency.py ...... [ 26%]
tests/test_config.py ..... [ 26%]
tests/test_convertors.py ...... [ 27%]
tests/test_datastructures.py .............................. [ 31%]
tests/test_endpoints.py .................... [ 33%]
tests/test_exceptions.py ..................... [ 35%]
tests/test_formparsers.py .............................................. [ 41%]
.......................... [ 44%]
tests/test_requests.py ...FF......................................FF.... [ 49%]
.................................... [ 53%]
tests/test_responses.py ................................................ [ 59%]
......................................................... [ 66%]
tests/test_routing.py .................................................. [ 71%]
....................................... [ 76%]
tests/test_schemas.py ... [ 76%]
tests/test_staticfiles.py .............................................. [ 82%]
........ [ 83%]
tests/test_status.py .. [ 83%]
tests/test_templates.py ........................ [ 86%]
tests/test_testclient.py ............................................. [ 91%]
tests/test_websockets.py ............................................... [ 96%]
............................ [100%]
=================================== FAILURES ===================================
___________________________ test_wsgi_post[asyncio] ____________________________
test_client_factory = functools.partial(<class
'starlette.testclient.TestClient'>, backend='asyncio', backend_options={})
def test_wsgi_post(test_client_factory: TestClientFactory) -> None:
app = WSGIMiddleware(echo_body)
client = test_client_factory(app)
response = client.post("/", json={"example": 123})
assert response.status_code == 200
> assert response.text == '{"example": 123}'
E assert '{"example":123}' == '{"example": 123}'
E
E - {"example": 123}
E ? -
E + {"example":123}
tests/middleware/test_wsgi.py:80: AssertionError
_____________________________ test_wsgi_post[trio] _____________________________
test_client_factory = functools.partial(<class
'starlette.testclient.TestClient'>, backend='trio', backend_options={})
def test_wsgi_post(test_client_factory: TestClientFactory) -> None:
app = WSGIMiddleware(echo_body)
client = test_client_factory(app)
response = client.post("/", json={"example": 123})
assert response.status_code == 200
> assert response.text == '{"example": 123}'
E assert '{"example":123}' == '{"example": 123}'
E
E - {"example": 123}
E ? -
E + {"example":123}
tests/middleware/test_wsgi.py:80: AssertionError
__________________________ test_request_body[asyncio] __________________________
test_client_factory = functools.partial(<class
'starlette.testclient.TestClient'>, backend='asyncio', backend_options={})
def test_request_body(test_client_factory: TestClientFactory) -> None:
async def app(scope: Scope, receive: Receive, send: Send) -> None:
request = Request(scope, receive)
body = await request.body()
response = JSONResponse({"body": body.decode()})
await response(scope, receive, send)
client = test_client_factory(app)
response = client.get("/")
assert response.json() == {"body": ""}
response = client.post("/", json={"a": "123"})
> assert response.json() == {"body": '{"a": "123"}'}
E assert {'body': '{"a":"123"}'} == {'body': '{"a": "123"}'}
E
E Differing items:
E {'body': '{"a":"123"}'} != {'body': '{"a": "123"}'}
E Use -v to get more diff
tests/test_requests.py:94: AssertionError
_________________________ test_request_stream[asyncio] _________________________
test_client_factory = functools.partial(<class
'starlette.testclient.TestClient'>, backend='asyncio', backend_options={})
def test_request_stream(test_client_factory: TestClientFactory) -> None:
async def app(scope: Scope, receive: Receive, send: Send) -> None:
request = Request(scope, receive)
body = b""
async for chunk in request.stream():
body += chunk
response = JSONResponse({"body": body.decode()})
await response(scope, receive, send)
client = test_client_factory(app)
response = client.get("/")
assert response.json() == {"body": ""}
response = client.post("/", json={"a": "123"})
> assert response.json() == {"body": '{"a": "123"}'}
E assert {'body': '{"a":"123"}'} == {'body': '{"a": "123"}'}
E
E Differing items:
E {'body': '{"a":"123"}'} != {'body': '{"a": "123"}'}
E Use -v to get more diff
tests/test_requests.py:115: AssertionError
___________________________ test_request_body[trio] ____________________________
test_client_factory = functools.partial(<class
'starlette.testclient.TestClient'>, backend='trio', backend_options={})
def test_request_body(test_client_factory: TestClientFactory) -> None:
async def app(scope: Scope, receive: Receive, send: Send) -> None:
request = Request(scope, receive)
body = await request.body()
response = JSONResponse({"body": body.decode()})
await response(scope, receive, send)
client = test_client_factory(app)
response = client.get("/")
assert response.json() == {"body": ""}
response = client.post("/", json={"a": "123"})
> assert response.json() == {"body": '{"a": "123"}'}
E assert {'body': '{"a":"123"}'} == {'body': '{"a": "123"}'}
E
E Differing items:
E {'body': '{"a":"123"}'} != {'body': '{"a": "123"}'}
E Use -v to get more diff
tests/test_requests.py:94: AssertionError
__________________________ test_request_stream[trio] ___________________________
test_client_factory = functools.partial(<class
'starlette.testclient.TestClient'>, backend='trio', backend_options={})
def test_request_stream(test_client_factory: TestClientFactory) -> None:
async def app(scope: Scope, receive: Receive, send: Send) -> None:
request = Request(scope, receive)
body = b""
async for chunk in request.stream():
body += chunk
response = JSONResponse({"body": body.decode()})
await response(scope, receive, send)
client = test_client_factory(app)
response = client.get("/")
assert response.json() == {"body": ""}
response = client.post("/", json={"a": "123"})
> assert response.json() == {"body": '{"a": "123"}'}
E assert {'body': '{"a":"123"}'} == {'body': '{"a": "123"}'}
E
E Differing items:
E {'body': '{"a":"123"}'} != {'body': '{"a": "123"}'}
E Use -v to get more diff
tests/test_requests.py:115: AssertionError
=================== 6 failed, 855 passed, 2 xfailed in 3.89s ===================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_starlette/build; python3.13 -m pytest
tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13
returned exit code 13
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202503/
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 could not 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:starlette, so that this is still
visible in the BTS web page for this package.
Thanks.
--- End Message ---
--- Begin Message ---
Source: starlette
Source-Version: 0.46.1-1
Done: Alexandre Detiste <tc...@debian.org>
We believe that the bug you reported is fixed in the latest version of
starlette, 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 1099...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alexandre Detiste <tc...@debian.org> (supplier of updated starlette 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 09 Mar 2025 13:07:26 +0100
Source: starlette
Architecture: source
Version: 0.46.1-1
Distribution: unstable
Urgency: medium
Maintainer: Piotr Ożarowski <pi...@debian.org>
Changed-By: Alexandre Detiste <tc...@debian.org>
Closes: 1099291
Changes:
starlette (0.46.1-1) unstable; urgency=medium
.
* Team upload.
* New upstream version 0.46.1 (Closes: #1099291)
Checksums-Sha1:
a3175b8f8dd9f88bc8fce07a563d341d4b908f07 2485 starlette_0.46.1-1.dsc
9b40ecf58e5118bae9fc5b2c0f8f9cef1ade3971 2580102 starlette_0.46.1.orig.tar.gz
d552776951843abbfc8d97771ed9289bf1d37c52 3828 starlette_0.46.1-1.debian.tar.xz
c1fd7b9279765fba379e1b719ecec56bf18bb7a3 8561
starlette_0.46.1-1_source.buildinfo
Checksums-Sha256:
4afd47308f23dd2d444a25095b290551cba66873bcf4e678c33f31d7baace58a 2485
starlette_0.46.1-1.dsc
3c88d58ee4bd1bb807c0d1acb381838afc7752f9ddaec81bbe4383611d833230 2580102
starlette_0.46.1.orig.tar.gz
a47f604b7e3cf0424bd9792c91b3b453821c9b2e7bc559496b8b0fe892ddf723 3828
starlette_0.46.1-1.debian.tar.xz
f7662c844bdae9d74d3f31fb114426c9909e4d852be2013e18900af6cb413158 8561
starlette_0.46.1-1_source.buildinfo
Files:
65624430e2133ce4fbf92e47b2585685 2485 python optional starlette_0.46.1-1.dsc
01d82f7d2cc4509628ee4a97e8618c5e 2580102 python optional
starlette_0.46.1.orig.tar.gz
17f94d74e1d3566203758af5bd1b9caa 3828 python optional
starlette_0.46.1-1.debian.tar.xz
19a7a05f27bc8cb806413a5e13922ac7 8561 python optional
starlette_0.46.1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmfNhlcRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBpNWw//V+tb6RSbN9E95Prswn63L2sSpqGLQgyy
uXTVXbzmMHaSJRJwvTX2ve9/eZI6cGdbVrmgxy0nrnDFDPOIGAOitKYFBiF7xaXH
BI6rXm2GD4FmMyoXclRmPOFRKJeoHomZ3KBf8YIPdcJh1toUVlgAcTnec6LLCVMl
9V9NecjFpaXu8uIYVuSf0BfTKyVb0vqCFB25JBmVXTkOKZWaBIVOlxjP5KLkmOJw
/n6B7JhZzCEd0jmqOk82ihhbx/RE+h41ayisOoWU4PS8RD4/cDiFpzrbxJN9AAoc
uKTZQOax6u8I00owXBQfU3ecgkh4eq33rKSk+kJcvBDSUGQSNWoPOHtTvnM6JK00
tJ8aiFZLcxNa39oO/MX4AuL1hbWwSFPhSc54ygB2Z3iLGjG4yDhDTKTIF9yoCb8l
QHS66pG3FJQxQ4KA37i5wFkQNdNvMTwyKOZGjqOmXRDj6MkGUrFFnCT2a6MXWSrc
QOs3+wInTZAxyWsOvqlXEKU1Hii9LG5VCIPgUZGkMvEb3/3IhPOTV8W2IEKShsEW
EJJSHk/8AzICT0l97Cpu/TSPf78va0f+TS/mii8kjCLgAtus1kMqQn7s5L0jospf
YboY5k3yEbRxetMKSp3Xg6/qoez3F6Q3pQoVUkRSBcup1jag7m3Pf2Qtow77tpg5
DlvTRrb8cjY=
=KeSa
-----END PGP SIGNATURE-----
pgpWrCFX1zzTn.pgp
Description: PGP signature
--- End Message ---