summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2015-10-26 07:21:20 +0100
committerAndi Albrecht <albrecht.andi@gmail.com>2015-10-26 07:21:20 +0100
commite1b0d43cd91d849f16fbcc0369bac4136aaf3049 (patch)
treee6715981dd411c34e67594d3c5e02c8c77a87985
parent5ca959773039cbf5e5e804deff5560af9cdabe2f (diff)
downloadsqlparse-e1b0d43cd91d849f16fbcc0369bac4136aaf3049.tar.gz
Remove compatibility for Python < 2.7.
-rw-r--r--.travis.yml1
-rw-r--r--docs/source/index.rst4
-rw-r--r--setup.py3
-rw-r--r--tox.ini2
4 files changed, 3 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index 0a91279..c71f1fd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,6 @@
language: python
python: 2.7
env:
- - TOX_ENV=py26
- TOX_ENV=py27
- TOX_env=py32
- TOX_ENV=py33
diff --git a/docs/source/index.rst b/docs/source/index.rst
index 5eb76f7..9ebe21e 100644
--- a/docs/source/index.rst
+++ b/docs/source/index.rst
@@ -9,7 +9,7 @@ python-sqlparse
:mod:`sqlparse` is a non-validating SQL parser for Python.
It provides support for parsing, splitting and formatting SQL statements.
-The module is compatible with Python 2 (>= 2.5) and Python 3 (>= 3.2)
+The module is compatible with Python 2.7 and Python 3 (>= 3.2)
and released under the terms of the `New BSD license
<http://www.opensource.org/licenses/bsd-license.php>`_.
@@ -31,7 +31,7 @@ tl;dr
>>> parsed = sqlparse.parse('select * from foo')[0]
>>> parsed.tokens
[<DML 'select' at 0x7f22c5e15368>, <Whitespace ' ' at 0x7f22c5e153b0>, <Wildcard '*' … ]
- >>>
+ >>>
Contents
diff --git a/setup.py b/setup.py
index f4fa4e3..806ddd1 100644
--- a/setup.py
+++ b/setup.py
@@ -108,9 +108,6 @@ setup(
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
- 'Programming Language :: Python :: 2.4',
- 'Programming Language :: Python :: 2.5',
- 'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
diff --git a/tox.ini b/tox.ini
index 1ced298..6ea52fc 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist=py26,py27,py32,py33,py34,py35,pypy,pypy3
+envlist=py27,py32,py33,py34,py35,pypy,pypy3
[testenv]
deps=