--- - branch: MAIN date: Thu Jan 4 22:36:43 UTC 2024 files: - new: '1.25' old: '1.24' path: pkgsrc/www/py-channels/Makefile pathrev: pkgsrc/www/py-channels/Makefile@1.25 type: modified - new: '1.6' old: '1.5' path: pkgsrc/www/py-channels/PLIST pathrev: pkgsrc/www/py-channels/PLIST@1.6 type: modified - new: '1.22' old: '1.21' path: pkgsrc/www/py-channels/distinfo pathrev: pkgsrc/www/py-channels/distinfo@1.22 type: modified id: 20240104T223643Z.a300de921aa24e405379d7faecbf471bb5528862 log: | py-channels: updated to 4.0.0 4.0.0 (2022-10-15) ------------------ Channels 4 is the next major version of the Channels package. Together with the matching Daphne v4 and channels-redis v4 releases, it updates dependencies, fixes issues, and removes outdated code. It so provides the foundation for Channels development going forward. In most cases, you can update now by updating ``channels``, ``daphne``, and ``channels-redis`` as appropriate, with ``pip``, and by adding ``daphne`` at the top of your ``INSTALLED_APPS`` setting. First ``pip``:: pip install -U 'channels[daphne]' channels-redis Then in your Django settings file:: INSTALLED_APPS = [ "daphne", ... ] Again, this is a major version change. Amongst other changes, large amounts of the Django-wrapping code deprecated in Channels v3 has now been removed, in favour of Django's own ASGI handling, and the ``runserver`` command has been moved into the Daphne package. module: pkgsrc subject: 'CVS commit: pkgsrc/www/py-channels' unixtime: '1704407803' user: adam