Package Details: python-daphne 4.1.0-1

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: 4
Popularity: 0.26
First Submitted: 2017-05-06 06:34 (UTC)
Last Updated: 2024-03-16 12:21 (UTC)

Latest Comments

1 2 Next › Last »

razer commented on 2024-03-16 12:22 (UTC)

python-wheel build dep added

pipep commented on 2024-03-16 09:26 (UTC)

I get this error installing python-daphne 4.1.0-0:


LANG=C makepkg -si
==> Making package: python-daphne 4.1.0-0 (Sat Mar 16 10:23:14 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found daphne-4.1.0.tar.gz
==> Validating source files with sha256sums...
    daphne-4.1.0.tar.gz ... Passed
==> Extracting sources...
  -> Extracting daphne-4.1.0.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
* Getting build dependencies for wheel...

ERROR Missing dependencies:
    wheel
==> ERROR: A failure occurred in build().
    Aborting...

razer commented on 2020-05-27 03:50 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

Done

getzze commented on 2018-10-21 11:38 (UTC)

sorry in makedepends would be more appropriate.