Open KyleCH opened 2 years ago
so then, dead project. Look elsewhere, yes? :) @KyleCH ? any luck?
Note issue title should say "providing_args" not "provides_args" .
You can use https://pypi.org/project/django-upgrade/ to fix this. e.g.
django-upgrade --exit-zero-even-if-changed --target-version 4.0 channels_presence/signals.py
A backwards compatible patch shouldnt be too difficult, if that is desirable.
The
providing_args
argument fordjango.dispatch.Signal
was deprecated in Django 3.1 and removed in Django 4.0 (see Additional details below). The use of said argument inchannels_presence
(see below) renders this application incompatible with Django 4.0.https://github.com/mitmedialab/django-channels-presence/blob/bcc9f71ca2162d8d8539466ad9787715d43c0faf/channels_presence/signals.py#L1-L5
Additional details
The Django 3.0 documentation for
Signal
states:The Django 3.1 release notes state:
The Django 4.0 release notes simply states: