Package: python3-django-channels
Version: 4.0.0-1
Severity: wishlist

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

I'm migrating a system from Bullseye to Bookworm. This is upgrading
python3-django-channels from version 3.0.3-1 to 4.0.0-1.

Existing tests didn't run with the error:

------------
  File "/usr/lib/python3/dist-packages/channels/testing/__init__.py", line 4, 
in <module>
    from .live import ChannelsLiveServerTestCase  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/channels/testing/live.py", line 3, in 
<module>
    from daphne.testing import DaphneProcess
ModuleNotFoundError: No module named 'daphne'
------------

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I fixed the problem installing python3-daphne

This is documented as a change in python3-channels in:

https://channels.readthedocs.io/en/latest/releases/4.0.0.html#decoupling-of-the-daphne-application-server
In "Use of ChannelsLiveServerTestCase still requires Daphne."

Since using some funcionality in the package requires Daphne: I wondered
if it should be listed in Suggested

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 12.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-9-cloud-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (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-django-channels depends on:
ii  python3          3.11.2-1+b1
ii  python3-asgiref  3.6.0-1
ii  python3-django   3:3.2.19-1+deb12u1

python3-django-channels recommends no packages.

Versions of packages python3-django-channels suggests:
pn  python-django-channels-doc  <none>

-- no debconf information

Reply via email to