Package Details: python-daphne 3.0.2-0

Git Clone URL: https://aur.archlinux.org/python-daphne.git (read-only, click to copy)
Package Base: python-daphne
Description: HTTP, HTTP2 and WebSocket protocol server for ASGI, and developed to power Django Channels
Upstream URL: https://github.com/django/daphne
Licenses: BSD
Submitter: razer
Maintainer: razer
Last Packager: razer
Votes: 1
Popularity: 0.000316
First Submitted: 2017-05-06 06:34
Last Updated: 2021-04-27 06:29

Latest Comments

razer commented on 2020-05-27 03:50

Looking further on it :

Channels needs daphne (it's in install_requires list): https://github.com/django/channels/blob/master/setup.py

Daphne do not mention channels: https://github.com/django/daphne/blob/master/setup.py

Sounds to me like you describe.

Shawn8901 commented on 2020-05-26 19:40

Thats how i am understanding it from the upstream dependencies and then remove the dependency here from channels.

That would also resolve the dependency loop, which is currently declared (as channels depends on daphne and vice versa)

razer commented on 2020-05-26 04:30

So then if my understanding is good, I have to move python-daphne from optdepends to depends for python-django-channels PKGBUILD ? And don't worry for your english, I bet mine is worse

Shawn8901 commented on 2020-05-23 18:15

Hi razer,

Thanks for your response. Sorry if you misunderstood m. My main goal with the comment is, i am more interested, where its declared, that daphne has channels as dependency. (English is not my first language)

https://channels.readthedocs.io/en/latest/ claims that daphne is a dependency for channels, but https://github.com/django/daphne/ describes it self to be a host for channels2 or other agsi applications. That also what i understood from django documentation itself.

If i compare how daphne and channels are packed in other distros (like debian) its also the case that channels no dependency for daphne (but vice versa).

https://packages.debian.org/sid/python3-daphne https://packages.debian.org/sid/python3-django-channels

So it sounds for me, that channel is not needed for daphne itself, but channels needs daphne (or any other compatible agis server as host).

razer commented on 2020-05-23 17:26

Thanks for the tip Shawn,

Moved python-django-channels to optdepends, I hope it will fit both your needs and the correct dep situation

Best regards

Shawn8901 commented on 2020-05-23 14:07

Hi razer, Thank you for providing this package. I have a short question: Why are you declaring python-django-channels as dependency? As far as i know/see daphne does not depend on python-django-channels. Its more vice versa (like you also declared).

I also do not see, that its declared here as dependency => https://github.com/django/daphne/blob/master/setup.py

But i am not an expert on this. I have modified the PKGBUILD on my system and removed python-django-channels from dependencies and it still seems to work.

Greeting Shawn.

razer commented on 2018-10-23 06:45

Done

getzze commented on 2018-10-21 11:38

sorry in makedepends would be more appropriate.

getzze commented on 2018-10-21 11:10

python-pytest-runner should be added as a dependency, it is in the setup_requires list.