httpx
httpx copied to clipboard
test suite hangs after upgrading websockets from 13.1 to 15.0.1
Hi,
After upgrading the python-websockets from 13.1 to 15.0.1 in Guix, python-httpx hangs on its test suite:
starting phase `check'
Using pytest
============================= test session starts ==============================
platform linux -- Python 3.11.14, pytest-8.4.1, pluggy-1.6.0 -- /gnu/store/76vhpdf5vc4rvr1rbcd0p0ycj0npjypb-python-wrapper-3.11.14/bin/python
cachedir: .pytest_cache
hypothesis profile 'default'
rootdir: /tmp/guix-build-python-httpx-0.28.1.drv-0/source
configfile: pyproject.toml
plugins: hypothesis-6.135.26, asyncio-1.0.0, trio-0.8.0, anyio-4.6.2
asyncio: mode=Mode.AUTO, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collecting ... collected 1407 items / 5 deselected / 1402 selected
[ hung up ]
That's with Python 3.11.14 and the following inputs:
[email protected] [email protected] [email protected] [email protected]
+ [email protected] [email protected] [email protected] [email protected]
+ [email protected] [email protected] [email protected] [email protected] [email protected]
+ [email protected] [email protected] [email protected] [email protected] [email protected]
+ [email protected] [email protected] [email protected]
see https://github.com/encode/httpx/pull/3693 --> it would be great to have @lovelydinosaur feedback on that PR
@mirthebeijers I tried it on top of httpx commit ae1b9f66238f75ced3ced5e4485408435de10768, but it doesn't resolve the issue (the test suite still hangs).