Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1027387: python3-channels-redis: upstream bug: runtimeError: event loop is closed

76 views
Skip to first unread message

Jérémy Lal

unread,
Dec 30, 2022, 2:57:37 PM12/30/22
to
Package: python3-channels-redis
Version: 4.0.0-1
Severity: normal

Hi,

multiple python applications using channels-redis 4.0.0 have that issue:
https://github.com/django/channels_redis/issues/332

It doesn't look like it's going to be fixed soon.
It might be a good idea to not ship channels-redis 4.0.0 in bookworm.

Jérémy


-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-6-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-channels-redis depends on:
ii python3 3.10.6-3+b1
ii python3-aioredis 1.3.1-2
ii python3-asgiref 3.5.2-2
ii python3-cryptography 38.0.4-1
ii python3-django-channels 4.0.0-1
ii python3-msgpack 1.0.3-2
ii python3-redis 4.3.4-3

python3-channels-redis recommends no packages.

python3-channels-redis suggests no packages.

-- no debconf information

Colin Watson

unread,
Feb 19, 2024, 7:10:04 AM2/19/24
to
Control: forwarded -1 https://github.com/django/channels_redis/issues/332
Control: tags -1 fixed-upstream
Control: fixed -1 4.1.0-1

On Fri, Dec 30, 2022 at 08:39:40PM +0100, Jérémy Lal wrote:
> multiple python applications using channels-redis 4.0.0 have that issue:
> https://github.com/django/channels_redis/issues/332
>
> It doesn't look like it's going to be fixed soon.
> It might be a good idea to not ship channels-redis 4.0.0 in bookworm.

I ran into this too just now, and it was very confusing. I was able to
work around it by switching to RedisPubSubChannelLayer, but I'm not
totally sure that's a good idea: it's still marked as being in beta even
now, 4.0.0's RedisPubSubChannelLayer also suffers from
https://github.com/django/channels_redis/issues/343, and in my
application the switch provoked some kind of extremely weird coverage
failure, possibly https://github.com/python/cpython/issues/106749.

Since there is now an upstream fix
(https://github.com/django/channels_redis/pull/347), I think it would be
worth backporting this to bookworm.

--
Colin Watson (he/him) [cjwa...@debian.org]

Colin Watson

unread,
Feb 19, 2024, 8:40:04 AM2/19/24
to
On Mon, Feb 19, 2024 at 11:58:02AM +0000, Colin Watson wrote:
> Since there is now an upstream fix
> (https://github.com/django/channels_redis/pull/347), I think it would be
> worth backporting this to bookworm.

I've filed https://bugs.debian.org/1064276 to request permission to
upload this.
0 new messages