From 49f808a2cf68bcb4304e208377bda84b41cb1b7d Mon Sep 17 00:00:00 2001 From: "g.punter" Date: Fri, 18 May 2018 16:11:27 +0100 Subject: [PATCH 1/4] Removing py33 from tox; no longer supported by TravisCI --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 49276f64b6..dfa2693c85 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27, py33, py34, py35, py36 +envlist = py27, py34, py35, py36 [testenv] deps = From d963b442c6ee7f7d56add325b7923b7ef4fe488e Mon Sep 17 00:00:00 2001 From: "g.punter" Date: Fri, 18 May 2018 16:14:46 +0100 Subject: [PATCH 2/4] Removing py33 from Travis conf; no longer supported --- .travis.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fddc66580d..7cd6ae159d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,8 +9,6 @@ matrix: env: TOXENV=py35 - python: 3.4 env: TOXENV=py34 - - python: 3.3 - env: TOXENV=py33 - python: 2.7 env: TOXENV=py27 addons: From 7cab24c5c8a96240abd3e18696f17a461ce42239 Mon Sep 17 00:00:00 2001 From: "g.punter" Date: Mon, 28 May 2018 10:38:48 +0100 Subject: [PATCH 3/4] Change unsupported wsgi to pywsgi --- locust/test/test_web.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/locust/test/test_web.py b/locust/test/test_web.py index dd018242be..ed3f07ebd0 100644 --- a/locust/test/test_web.py +++ b/locust/test/test_web.py @@ -6,7 +6,7 @@ import gevent import requests -from gevent import wsgi +from gevent import pywsgi from locust import events, runners, stats, web from locust.main import parse_options @@ -27,7 +27,7 @@ def setUp(self): web.request_stats.clear_cache() - self._web_ui_server = wsgi.WSGIServer(('127.0.0.1', 0), web.app, log=None) + self._web_ui_server = pywsgi.WSGIServer(('127.0.0.1', 0), web.app, log=None) gevent.spawn(lambda: self._web_ui_server.serve_forever()) gevent.sleep(0.01) self.web_port = self._web_ui_server.server_port From 976c29012e6b1d4a4c9637784e8739fe24d92eff Mon Sep 17 00:00:00 2001 From: "g.punter" Date: Mon, 28 May 2018 14:28:39 +0100 Subject: [PATCH 4/4] Remove reference to Python 3.3, no longer supported. --- README.md | 2 +- docs/installation.rst | 2 +- setup.py | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fe61fe5900..224df8d9c9 100644 --- a/README.md +++ b/README.md @@ -74,4 +74,4 @@ Open source licensed under the MIT license (see _LICENSE_ file for details). ## Supported Python Versions -Locust supports Python 2.7, 3.3, 3.4, 3.5, and 3.6. +Locust supports Python 2.7, 3.4, 3.5, and 3.6. diff --git a/docs/installation.rst b/docs/installation.rst index 6d7fa33b43..320adf4ee3 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -21,7 +21,7 @@ To see available options, run: Supported Python Versions ------------------------- -Locust supports Python 2.7, 3.3, 3.4, 3.5, and 3.6. +Locust supports Python 2.7, 3.4, 3.5, and 3.6. Installing Locust on Windows diff --git a/setup.py b/setup.py index 64a5db2d7a..37a43b9672 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,6 @@ "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6",