mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-19 16:03:00 +00:00
require tornado 5.1, async_generator 1.9
- maybe_future relies on changes in 5.1, not in 5.0 - async_generator.asynccontextmanager is new in 1.9
This commit is contained in:
@@ -503,7 +503,7 @@ def maybe_future(obj):
|
||||
return asyncio.wrap_future(obj)
|
||||
else:
|
||||
# could also check for tornado.concurrent.Future
|
||||
# but with tornado >= 5 tornado.Future is asyncio.Future
|
||||
# but with tornado >= 5.1 tornado.Future is asyncio.Future
|
||||
f = asyncio.Future()
|
||||
f.set_result(obj)
|
||||
return f
|
||||
|
@@ -1,5 +1,5 @@
|
||||
alembic
|
||||
async_generator>=1.8
|
||||
async_generator>=1.9
|
||||
certipy>=0.1.2
|
||||
entrypoints
|
||||
jinja2
|
||||
@@ -11,5 +11,5 @@ psutil>=5.6.5; sys_platform == 'win32'
|
||||
python-dateutil
|
||||
requests
|
||||
SQLAlchemy>=1.1
|
||||
tornado>=5.0
|
||||
tornado>=5.1
|
||||
traitlets>=4.3.2
|
||||
|
Reference in New Issue
Block a user