Package Details: python-sanic 0.7.0-1

Git Clone URL: https://aur.archlinux.org/python-sanic.git (read-only)
Package Base: python-sanic
Description: A microframework based on uvloop, httptools, and learnings of flask
Upstream URL: https://github.com/channelcat/sanic
Licenses: MIT
Submitter: None
Maintainer: qwivan
Last Packager: qwivan
Votes: 2
Popularity: 0.000001
First Submitted: 2017-01-07 06:04
Last Updated: 2017-12-12 10:13

Latest Comments

Anonymous comment on 2017-03-16 02:46

@qwivan The dependencies are currently correct according to the 0.4.1 setup.py file.

Regarding python-websockets, I see that is a recently added dependency (see https://github.com/channelcat/sanic/commit/6e903ee), but it is not as of the 0.4.1 tag. I check the dependency changes every version, so I'll add it when appropriate.

Regarding python-uvloop, it is listed as a dependency in the 0.4.1 setup.py. I understand that sanic supposedly works with the standard asyncio loop, however because of the way it is specified in setup.py, setuptools will prevent the module from working correctly if you don't have it installed. The correct fix would be to work with upstream to move uvloop from the install_requires parameter to the extra_requires parameter of the setup function in setup.py. I don't have the time to deal with that, but if you get it changed I'll see it in future setup.py files and update the PKGBUILD requirements appropriately.

qwivan commented on 2017-03-15 15:49

Could you make python-uvloop as optdepend?
I has a problem caused by python-uvloop.

qwivan commented on 2017-03-14 14:08

require depend:
python-websockets