Skip to content

Commit

Permalink
Drop Python 3.3 support (#804)
Browse files Browse the repository at this point in the history
* Removing py33 from tox; no longer supported by TravisCI

* Removing py33 from Travis conf; no longer supported

* Change unsupported wsgi to pywsgi

* Remove reference to Python 3.3, no longer supported.
  • Loading branch information
ps-george authored and cgoldberg committed May 28, 2018
1 parent cf9b2ba commit ba6e055
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions locust/test/test_web.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27, py33, py34, py35, py36
envlist = py27, py34, py35, py36

[testenv]
deps =
Expand Down

0 comments on commit ba6e055

Please sign in to comment.