Skip to content

Commit

Permalink
finish removing support for Python 2.6 and 3.3 (#5021)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgoldberg authored and AutomatedTester committed Nov 8, 2017
1 parent 499316e commit aaf5a08
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,6 @@ matrix:
- env: MARIONETTE=1 TOXENV=py27-marionette
<<: *python
<<: *firefox-nightly
- env: TOXENV=py33-unit
<<: *python
python: 3.3
- env: TOXENV=flake8
<<: *python
python: 3.6
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Note that all Selenium Java artifacts are **built with Java 8

### Optional Requirements

* Python 2.6.x to 2.7 (without this, Python tests will be skipped)
* Python 2.7, Python 3.4+ (without these, Python and Python3 tests will be skipped)
* Ruby 2.0

### Internet Explorer Driver
Expand Down
5 changes: 2 additions & 3 deletions py/docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ Several browsers/drivers are supported (Firefox, Chrome, Internet Explorer, Phan
Supported Python Versions
=========================

* Python 2.6, 2.7
* Python 3.3+
* Python 2.7, 3.4+

Installing
==========
Expand All @@ -40,7 +39,7 @@ Alternately, you can download the source distribution from `PyPI <http://pypi.py

python setup.py install

Note: both of the methods described above install `selenium` as a system-wide package That will require administrative/root access to their machine. You may consider using a `virtualenv <http://www.virtualenv.org/>`_ to create isolated Python environments instead.
Note: You may want to consider using `virtualenv <http://www.virtualenv.org/>`_ to create isolated Python environments.

Drivers
=======
Expand Down
4 changes: 2 additions & 2 deletions py/tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[tox]
envlist = py{27,33,34,35,36}-{unit,chrome,edge,firefox,ie,phantomjs,remote,safari}, docs, flake8
envlist = py{27,34,35,36}-{unit,chrome,edge,firefox,ie,phantomjs,remote,safari}, docs, flake8

[testenv]
passenv = DISPLAY PYTEST_ADDOPTS CI TRAVIS
commands =
py{27,33,34,35,36}-unit: py.test -n=auto {posargs:test/unit}
py{27,34,35,36}-unit: py.test -n=auto {posargs:test/unit}
py{27,36}-chrome: py.test --driver=Chrome {posargs}
py{27,36}-edge: py.test --driver=Edge {posargs}
py{27,36}-firefox: py.test --driver=Firefox {posargs}
Expand Down

0 comments on commit aaf5a08

Please sign in to comment.