Browse Source

Update gevent to 1.3.6 to support python 3.7 (#111)

* Update requirements.txt

* Update import

* Update tests to run on 3.7

* Update .travis.yml

* Try workaround recommended here https://github.com/travis-ci/travis-ci/issues/9815
pull/114/head
Watchful1 7 years ago
committed by Andrei Zbikowski
parent
commit
e249099808
  1. 6
      .travis.yml
  2. 2
      disco/bot/bot.py
  3. 2
      requirements.txt

6
.travis.yml

@ -6,6 +6,12 @@ python:
- '2.7' - '2.7'
- '3.6' - '3.6'
matrix:
include:
- python: 3.7
dist: xenial
sudo: true
install: install:
- pip install -U pip setuptools - pip install -U pip setuptools
- pip install -U pytest flake8-tuple flake8-quotes flake8-comprehensions flake8-commas flake8-builtins - pip install -U pytest flake8-tuple flake8-quotes flake8-comprehensions flake8-commas flake8-builtins

2
disco/bot/bot.py

@ -7,7 +7,7 @@ import importlib
from six.moves import reload_module from six.moves import reload_module
from holster.threadlocal import ThreadLocal from holster.threadlocal import ThreadLocal
from gevent.wsgi import WSGIServer from gevent.pywsgi import WSGIServer
from disco.types.guild import GuildMember from disco.types.guild import GuildMember
from disco.bot.plugin import Plugin from disco.bot.plugin import Plugin

2
requirements.txt

@ -1,4 +1,4 @@
gevent==1.2.2 gevent==1.3.6
holster==2.0.0 holster==2.0.0
requests==2.18.4 requests==2.18.4
six==1.11.0 six==1.11.0

Loading…
Cancel
Save