Source: python-wsproto
Version: 1.0.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20220212 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary --with sphinxdoc --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:237: python3.10 setup.py config
> running config
> I: pybuild base:237: python3.9 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:237: /usr/bin/python3.10 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wsproto/build/wsproto
> copying src/wsproto/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wsproto/build/wsproto
> copying src/wsproto/handshake.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wsproto/build/wsproto
> copying src/wsproto/events.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wsproto/build/wsproto
> copying src/wsproto/frame_protocol.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wsproto/build/wsproto
> copying src/wsproto/typing.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wsproto/build/wsproto
> copying src/wsproto/extensions.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wsproto/build/wsproto
> copying src/wsproto/connection.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wsproto/build/wsproto
> copying src/wsproto/utilities.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wsproto/build/wsproto
> running egg_info
> writing src/wsproto.egg-info/PKG-INFO
> writing dependency_links to src/wsproto.egg-info/dependency_links.txt
> writing requirements to src/wsproto.egg-info/requires.txt
> writing top-level names to src/wsproto.egg-info/top_level.txt
> reading manifest file 'src/wsproto.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> no previously-included directories found matching 'docs/build'
> no previously-included directories found matching 'compliance/reports'
> no previously-included directories found matching
> 'compliance/auto-tests-server-config.json'
> no previously-included directories found matching
> 'compliance/auto-tests-client-config.json'
> no previously-included directories found matching
> 'compliance/autobahntestsuite-venv'
> warning: no previously-included files matching '*.pyc' found anywhere in
> distribution
> warning: no previously-included files matching '*.pyo' found anywhere in
> distribution
> warning: no previously-included files matching '*.swo' found anywhere in
> distribution
> warning: no previously-included files matching '*.swp' found anywhere in
> distribution
> warning: no previously-included files matching '*.map' found anywhere in
> distribution
> warning: no previously-included files matching '*.yml' found anywhere in
> distribution
> warning: no previously-included files matching '*.DS_Store' found anywhere in
> distribution
> warning: no previously-included files matching '.coverage' found anywhere in
> distribution
> adding license file 'LICENSE'
> writing manifest file 'src/wsproto.egg-info/SOURCES.txt'
> copying src/wsproto/py.typed ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wsproto/build/wsproto
> I: pybuild base:237: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_wsproto/build/wsproto
> copying src/wsproto/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_wsproto/build/wsproto
> copying src/wsproto/handshake.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_wsproto/build/wsproto
> copying src/wsproto/events.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_wsproto/build/wsproto
> copying src/wsproto/frame_protocol.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_wsproto/build/wsproto
> copying src/wsproto/typing.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_wsproto/build/wsproto
> copying src/wsproto/extensions.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_wsproto/build/wsproto
> copying src/wsproto/connection.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_wsproto/build/wsproto
> copying src/wsproto/utilities.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_wsproto/build/wsproto
> running egg_info
> writing src/wsproto.egg-info/PKG-INFO
> writing dependency_links to src/wsproto.egg-info/dependency_links.txt
> writing requirements to src/wsproto.egg-info/requires.txt
> writing top-level names to src/wsproto.egg-info/top_level.txt
> reading manifest file 'src/wsproto.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> no previously-included directories found matching 'docs/build'
> no previously-included directories found matching 'compliance/reports'
> no previously-included directories found matching
> 'compliance/auto-tests-server-config.json'
> no previously-included directories found matching
> 'compliance/auto-tests-client-config.json'
> no previously-included directories found matching
> 'compliance/autobahntestsuite-venv'
> warning: no previously-included files matching '*.pyc' found anywhere in
> distribution
> warning: no previously-included files matching '*.pyo' found anywhere in
> distribution
> warning: no previously-included files matching '*.swo' found anywhere in
> distribution
> warning: no previously-included files matching '*.swp' found anywhere in
> distribution
> warning: no previously-included files matching '*.map' found anywhere in
> distribution
> warning: no previously-included files matching '*.yml' found anywhere in
> distribution
> warning: no previously-included files matching '*.DS_Store' found anywhere in
> distribution
> warning: no previously-included files matching '.coverage' found anywhere in
> distribution
> adding license file 'LICENSE'
> writing manifest file 'src/wsproto.egg-info/SOURCES.txt'
> copying src/wsproto/py.typed ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_wsproto/build/wsproto
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:237: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wsproto/build; python3.10 -m pytest
> test
> ============================= test session starts
> ==============================
> platform linux -- Python 3.10.2, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> collected 226 items
>
> test/test_client.py ...................... [
> 9%]
> test/test_connection.py .................. [
> 17%]
> test/test_extensions.py ........ [
> 21%]
> test/test_frame_protocol.py ............................................ [
> 40%]
> .................................................... [
> 63%]
> test/test_handshake.py ..... [
> 65%]
> test/test_permessage_deflate.py ........................................ [
> 83%]
> ................... [
> 92%]
> test/test_server.py ........FF........
> [100%]
>
> =================================== FAILURES
> ===================================
> ________________________________ test_handshake
> ________________________________
>
> def test_handshake() -> None:
> response, nonce = _make_handshake([])
>
> > response.headers = sorted(response.headers) # For test determinism
>
> test/test_server.py:208:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> self = InformationalResponse(headers=<Headers([(b'upgrade', b'WebSocket'),
> (b'connection', b'Upgrade'), (b'sec-websocket-accept',
> b'Scu2jYSxwG/TYUfClVuURUdE5F8=')])>, http_version=b'1.1', reason=b'',
> status_code=101)
> name = 'headers'
> value = [(b'connection', b'Upgrade'), (b'sec-websocket-accept',
> b'Scu2jYSxwG/TYUfClVuURUdE5F8='), (b'upgrade', b'WebSocket')]
>
> > ???
> E dataclasses.FrozenInstanceError: cannot assign to field 'headers'
>
> <string>:4: FrozenInstanceError
> _________________________ test_handshake_extra_headers
> _________________________
>
> def test_handshake_extra_headers() -> None:
> response, nonce = _make_handshake([], accept_headers=[(b"X-Foo",
> b"bar")])
>
> > response.headers = sorted(response.headers) # For test determinism
>
> test/test_server.py:222:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> self = InformationalResponse(headers=<Headers([(b'upgrade', b'WebSocket'),
> (b'connection', b'Upgrade'), (b'sec-websocket-accept',
> b'ELD9Oz7o0dHDHvuExCyp9RAyp2o='), (b'x-foo', b'bar')])>, http_version=b'1.1',
> reason=b'', status_code=101)
> name = 'headers'
> value = [(b'connection', b'Upgrade'), (b'sec-websocket-accept',
> b'ELD9Oz7o0dHDHvuExCyp9RAyp2o='), (b'upgrade', b'WebSocket'), (b'x-foo',
> b'bar')]
>
> > ???
> E dataclasses.FrozenInstanceError: cannot assign to field 'headers'
>
> <string>:4: FrozenInstanceError
> =========================== short test summary info
> ============================
> FAILED test/test_server.py::test_handshake -
> dataclasses.FrozenInstanceError:...
> FAILED test/test_server.py::test_handshake_extra_headers -
> dataclasses.Frozen...
> ======================== 2 failed, 224 passed in 0.38s
> =========================
> E: pybuild pybuild:367: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_wsproto/build; python3.10 -m pytest
> test
> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_wsproto/build;
> python3.9 -m pytest test
> ============================= test session starts
> ==============================
> platform linux -- Python 3.9.10, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> collected 226 items
>
> test/test_client.py ...................... [
> 9%]
> test/test_connection.py .................. [
> 17%]
> test/test_extensions.py ........ [
> 21%]
> test/test_frame_protocol.py ............................................ [
> 40%]
> .................................................... [
> 63%]
> test/test_handshake.py ..... [
> 65%]
> test/test_permessage_deflate.py ........................................ [
> 83%]
> ................... [
> 92%]
> test/test_server.py ........FF........
> [100%]
>
> =================================== FAILURES
> ===================================
> ________________________________ test_handshake
> ________________________________
>
> def test_handshake() -> None:
> response, nonce = _make_handshake([])
>
> > response.headers = sorted(response.headers) # For test determinism
>
> test/test_server.py:208:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> self = InformationalResponse(headers=<Headers([(b'upgrade', b'WebSocket'),
> (b'connection', b'Upgrade'), (b'sec-websocket-accept',
> b'nByUE3Ddi2wgMWzLCCSLuHZLJ0A=')])>, http_version=b'1.1', reason=b'',
> status_code=101)
> name = 'headers'
> value = [(b'connection', b'Upgrade'), (b'sec-websocket-accept',
> b'nByUE3Ddi2wgMWzLCCSLuHZLJ0A='), (b'upgrade', b'WebSocket')]
>
> > ???
> E dataclasses.FrozenInstanceError: cannot assign to field 'headers'
>
> <string>:4: FrozenInstanceError
> _________________________ test_handshake_extra_headers
> _________________________
>
> def test_handshake_extra_headers() -> None:
> response, nonce = _make_handshake([], accept_headers=[(b"X-Foo",
> b"bar")])
>
> > response.headers = sorted(response.headers) # For test determinism
>
> test/test_server.py:222:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> self = InformationalResponse(headers=<Headers([(b'upgrade', b'WebSocket'),
> (b'connection', b'Upgrade'), (b'sec-websocket-accept',
> b'pKXgofhjda8uzkgZ0CLJu+VsW7c='), (b'x-foo', b'bar')])>, http_version=b'1.1',
> reason=b'', status_code=101)
> name = 'headers'
> value = [(b'connection', b'Upgrade'), (b'sec-websocket-accept',
> b'pKXgofhjda8uzkgZ0CLJu+VsW7c='), (b'upgrade', b'WebSocket'), (b'x-foo',
> b'bar')]
>
> > ???
> E dataclasses.FrozenInstanceError: cannot assign to field 'headers'
>
> <string>:4: FrozenInstanceError
> =========================== short test summary info
> ============================
> FAILED test/test_server.py::test_handshake -
> dataclasses.FrozenInstanceError:...
> FAILED test/test_server.py::test_handshake_extra_headers -
> dataclasses.Frozen...
> ======================== 2 failed, 224 passed in 0.38s
> =========================
> E: pybuild pybuild:367: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_wsproto/build; python3.9 -m pytest test
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.10
> 3.9" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2022/02/12/python-wsproto_1.0.0-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.