From 1318bb3ea6cdecfed16c40aecd7cd34327eee154 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Mon, 3 Sep 2018 10:28:08 -0500 Subject: [PATCH] use new gevent version to support python 3.7 --- onionr/api.py | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/onionr/api.py b/onionr/api.py index d0407388..adfabf88 100755 --- a/onionr/api.py +++ b/onionr/api.py @@ -20,7 +20,7 @@ import flask from flask import request, Response, abort, send_from_directory from multiprocessing import Process -from gevent.wsgi import WSGIServer +from gevent.pywsgi import WSGIServer import sys, random, threading, hmac, hashlib, base64, time, math, os, json from core import Core from onionrblockapi import Block diff --git a/requirements.txt b/requirements.txt index 4653eaf0..97f8969e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ urllib3==1.23 requests==2.18.4 PyNaCl==1.2.1 -gevent==1.2.2 +gevent==1.3.6 sha3==0.2.1 defusedxml==0.5.0 simple_crypt==4.1.7