Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Commit 0dc769a

Browse files
youcandanchashwoods
authored andcommitted
Add blinker to Sanic dependencies.
Pulling 6.7.0 and trying to do, `from raven.contrib.sanic import Sentry`, I get the following traceback: ``` Traceback (most recent call last): File "application.py", line 1, in <module> from raven.contrib.sanic import Sentry File "/usr/local/lib/python3.6/site-packages/raven/contrib/sanic.py", line 13, in <module> import blinker ModuleNotFoundError: No module named 'blinker' ``` That's my bad. This should resolve that.
1 parent 333feea commit 0dc769a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@
6161

6262
# If it's Python 3.5+, add Sanic packages.
6363
if sys.version_info >= (3, 5):
64-
sanic_requires = ['sanic>=0.7.0', ]
64+
sanic_requires = [
65+
'blinker>=1.1',
66+
'sanic>=0.7.0',
67+
]
6568
sanic_tests_requires = ['aiohttp', ]
6669

6770
tests_require = [

0 commit comments

Comments
 (0)