Your message dated Wed, 28 Sep 2022 15:38:20 +0000
with message-id <e1odz8e-00arhb...@fasolo.debian.org>
and subject line Bug#1020136: fixed in python-django-channels 3.0.5-1
has caused the Debian Bug report #1020136,
regarding python-django-channels: FTBFS: dh_auto_test: error: pybuild --test
--test-pytest -i python{version} -p 3.10 returned exit code 13
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.)
--
1020136: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1020136
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-django-channels
Version: 3.0.4-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220917 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 python3,sphinxdoc --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:240: python3.10 setup.py config
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/worker.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/middleware.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/db.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/staticfiles.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/http.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/exceptions.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/sessions.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/auth.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/consumer.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/layers.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/hacks.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/apps.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/routing.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/signals.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> copying channels/utils.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/generic
> copying channels/generic/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/generic
> copying channels/generic/http.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/generic
> copying channels/generic/websocket.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/generic
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/management
> copying channels/management/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/management
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/testing
> copying channels/testing/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/testing
> copying channels/testing/http.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/testing
> copying channels/testing/live.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/testing
> copying channels/testing/websocket.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/testing
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/security
> copying channels/security/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/security
> copying channels/security/websocket.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/security
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/management/commands
> copying channels/management/commands/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/management/commands
> copying channels/management/commands/runworker.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/management/commands
> copying channels/management/commands/runserver.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/management/commands
> running egg_info
> creating channels.egg-info
> writing channels.egg-info/PKG-INFO
> writing dependency_links to channels.egg-info/dependency_links.txt
> writing requirements to channels.egg-info/requires.txt
> writing top-level names to channels.egg-info/top_level.txt
> writing manifest file 'channels.egg-info/SOURCES.txt'
> reading manifest file 'channels.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '*' found under directory
> 'tests'
> adding license file 'LICENSE'
> writing manifest file 'channels.egg-info/SOURCES.txt'
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build; python3.10 -m
> pytest tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.10.7, pytest-7.1.2, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> plugins: django-4.5.2, asyncio-0.19.0
> asyncio: mode=strict
> collected 79 items
>
> tests/test_generic_websocket.py ..... [
> 6%]
> tests/test_http.py ..... [
> 12%]
> tests/test_testing.py ...... [
> 20%]
> tests/test_http.py ..... [
> 26%]
> tests/security/test_auth.py ....... [
> 35%]
> tests/test_deprecations.py .. [
> 37%]
> tests/test_generic_http.py .. [
> 40%]
> tests/test_generic_websocket.py ....... [
> 49%]
> tests/test_http.py ........... [
> 63%]
> tests/test_inmemorychannel.py FFF...... [
> 74%]
> tests/test_layers.py .... [
> 79%]
> tests/test_routing.py ........ [
> 89%]
> tests/test_staticfiles.py ...... [
> 97%]
> tests/test_testing.py . [
> 98%]
> tests/security/test_websocket.py .
> [100%]
>
> =================================== FAILURES
> ===================================
> ______________________________ test_send_receive
> _______________________________
>
> channel_layer = <async_generator object channel_layer at 0x7f34c2654640>
>
> @pytest.mark.asyncio
> async def test_send_receive(channel_layer):
> """
> Makes sure we can send a message to a normal channel then receive it.
> """
> > await channel_layer.send(
> "test-channel-1", {"type": "test.message", "text": "Ahoy-hoy!"}
> )
> E AttributeError: 'async_generator' object has no attribute 'send'
>
> tests/test_inmemorychannel.py:26: AttributeError
> ______________________________ test_send_capacity
> ______________________________
>
> channel_layer = <async_generator object channel_layer at 0x7f34c1c12bc0>
>
> @pytest.mark.asyncio
> async def test_send_capacity(channel_layer):
> """
> Makes sure we get ChannelFull when we hit the send capacity
> """
> > await channel_layer.send("test-channel-1", {"type": "test.message"})
> E AttributeError: 'async_generator' object has no attribute 'send'
>
> tests/test_inmemorychannel.py:39: AttributeError
> _______________________ test_process_local_send_receive
> ________________________
>
> channel_layer = <async_generator object channel_layer at 0x7f34c26cb640>
>
> @pytest.mark.asyncio
> async def test_process_local_send_receive(channel_layer):
> """
> Makes sure we can send a message to a process-local channel then
> receive it.
> """
> > channel_name = await channel_layer.new_channel()
> E AttributeError: 'async_generator' object has no attribute
> 'new_channel'
>
> tests/test_inmemorychannel.py:51: AttributeError
> =============================== warnings summary
> ===============================
> .pybuild/cpython3_3.10_django-channels/build/tests/test_staticfiles.py::test_staticfiles_handler_can_generate_file_path
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/staticfiles.py:40:
> DeprecationWarning: Channel's inbuilt http protocol AsgiHandler is
> deprecated. Use Django's get_asgi_application() instead.
> return await self.staticfiles_handler_class()(
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info
> ============================
> FAILED tests/test_inmemorychannel.py::test_send_receive - AttributeError:
> 'as...
> FAILED tests/test_inmemorychannel.py::test_send_capacity - AttributeError:
> 'a...
> FAILED tests/test_inmemorychannel.py::test_process_local_send_receive -
> Attri...
> =================== 3 failed, 76 passed, 1 warning in 7.58s
> ====================
> Task was destroyed but it is pending!
> task: <Task pending name='Task-202' coro=<AsyncConsumer.__call__() done,
> defined at
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build/channels/consumer.py:37>
> wait_for=<Task pending name='Task-204' coro=<Queue.get() running at
> /usr/lib/python3.10/asyncio/queues.py:159> wait_for=<Future cancelled>
> cb=[Task.task_wakeup()]>>
> Task was destroyed but it is pending!
> task: <Task pending name='Task-204' coro=<Queue.get() done, defined at
> /usr/lib/python3.10/asyncio/queues.py:150> wait_for=<Future cancelled>
> cb=[Task.task_wakeup()]>
> E: pybuild pybuild:379: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-channels/build; python3.10 -m
> pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.10
> returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2022/09/17/python-django-channels_3.0.4-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220917;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220917&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
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.
--- End Message ---
--- Begin Message ---
Source: python-django-channels
Source-Version: 3.0.5-1
Done: Ileana Dumitrescu <ileanadumitresc...@gmail.com>
We believe that the bug you reported is fixed in the latest version of
python-django-channels, 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 1020...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ileana Dumitrescu <ileanadumitresc...@gmail.com> (supplier of updated
python-django-channels 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: Fri, 23 Sep 2022 15:27:09 +0300
Source: python-django-channels
Architecture: source
Version: 3.0.5-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Ileana Dumitrescu <ileanadumitresc...@gmail.com>
Closes: 1020136
Changes:
python-django-channels (3.0.5-1) unstable; urgency=medium
.
[ Ileana Dumitrescu ]
* Team upload.
* New upstream release.
* d/patches: Add patch 0001-asyncio-mode-auto.patch
Patch is in 4.0.0b1 beta upstream version,
commit 1fcb425 by Carlton Gibson.
Fixes dh_auto_test FTBFS (Closes: #1020136)
* d/watch: Fix to work with github repo.
* d/copyright: Update debian copyright year to 2022.
* d/control: Bump Standards-Version to 4.6.1
* d/tests/control: Add python3-all to Depends to remove lintian warning.
.
[ Nilesh Patra ]
* Add d/salsa-ci.yml
* Also initialize "asyncio_mode = auto" with a pytest.ini during autopkgtests
to avoid test failure
Checksums-Sha1:
19176d49da481602c041e7eb43d8a5f828360ca7 2524
python-django-channels_3.0.5-1.dsc
6385b38d06d46a9fa1eeddab0450e6be5f1d1c95 200118
python-django-channels_3.0.5.orig.tar.gz
61d04cac3e3da3e0a69320708960f6f222d00157 4844
python-django-channels_3.0.5-1.debian.tar.xz
87ed69fe9b6c27f3ffe0f1aa7f9ec1f1d1c25a6f 9541
python-django-channels_3.0.5-1_amd64.buildinfo
Checksums-Sha256:
d544f56c4a4e40c83c487e375edfd6b88255c4d5c9f2bde0a24eee73d43e6832 2524
python-django-channels_3.0.5-1.dsc
0a3472d57c275cdbe1c2c47fc665e20c54e763c2c5eb7e56c8ac2627b5d8bb12 200118
python-django-channels_3.0.5.orig.tar.gz
bf7336db5d642e7eb5cc896d6bf18b4d366e0bb02313c8843ea383a0068866f9 4844
python-django-channels_3.0.5-1.debian.tar.xz
93a998dc813cd216ff737aa23a6c581c7cc4f3461afd8750549706c6e9e0d5df 9541
python-django-channels_3.0.5-1_amd64.buildinfo
Files:
a6a17aa7ab27e3bcf4bb2872497a8b2e 2524 python optional
python-django-channels_3.0.5-1.dsc
ebfe7b277ca0e7b2689b8a06edf88ef8 200118 python optional
python-django-channels_3.0.5.orig.tar.gz
5edaa7bccf7fc3cabc0767ab4a8e02be 4844 python optional
python-django-channels_3.0.5-1.debian.tar.xz
34aaa42dd27944d0505cb5a9e26e0c80 9541 python optional
python-django-channels_3.0.5-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEEPpmlJvXcwMu/HO6mALrnSzQzafEFAmM0ZpESHG5pbGVzaEBk
ZWJpYW4ub3JnAAoJEAC650s0M2nxl8EQAJmKdWa3PXddBl3ZRSDlrZZOrbGFwLmE
jzRUIXOjHGXghDxfR7X3X3VKsTJvU/wSyeHNLLZeVVtphL3ayQGkDFR+CdlF3hDR
NYFxJmzhYWPMpHHQBccF2Xgx9OYXPGU61nqOhhdLKfarXwhNLDR1kkmGefSaDKxO
WDWGMhgJ9UPgByCmGLi8USq9gF8BU7OBwuSS6MLxN0KR/BAGs8BhWuCGhlM5OrNH
1Fae3mV1b5lX7mQX1orC6KtGwd31YU3w2LzEVT34ZVKFFms143XB8d+Zc2yROEyz
n9VXVo03Sfjui2kxvZGREuWWnd+q0dAI8C57ifz/npi/pGRE7N8QSEnfa5QzA8p5
gxkAXVxEcelCsdfWJO0mnKYBGNRNAa1pCV7LjuxxbVwfVrFR/9Y73JuHKsGhaeKR
B9jnCpxFSOtmhRofXCfjEykdZtNjhrXbzW9ThgsYJJu37LPrqWRs59Lo6qAcfn0i
IG7PxUvZHkSeURs5aq/MdD3xS2FrUxSsM6iktojpwbl/TNywQzLS0m1YQu3nbki2
6zZpVvAXh8yXt2HI2nKc+v05YOfDYmm6rCaSSz7N7Ca70dSV/KLGZasJsy7NyV3A
kWyt3kTamu6be1fO2b2TIOrbDbYYSwk5eeFCHmsKVFnLfZhsRTZUD1Lq4/mV7mUw
YkUSKvbKcM/1
=nNHv
-----END PGP SIGNATURE-----
--- End Message ---