Skip to content

Commit

Permalink
[3.2] Requires Py2.7+
Browse files Browse the repository at this point in the history
  • Loading branch information
ask committed Mar 27, 2014
1 parent e80c545 commit 524421a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ env:
global:
PYTHONUNBUFFERED=yes
matrix:
- TOXENV=2.6
- TOXENV=2.7
- TOXENV=3.3
- TOXENV=3.4
Expand Down
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

CELERY_COMPAT_PROGRAMS = int(os.environ.get('CELERY_COMPAT_PROGRAMS', 1))

if sys.version_info < (2, 6):
raise Exception('Celery 3.1 requires Python 2.6 or higher.')
if sys.version_info < (2, 7):
raise Exception('Celery 3.2 requires Python 2.7 or higher.')

downgrade_packages = [
'celery.app.task',
Expand Down Expand Up @@ -67,7 +67,6 @@
Topic :: Software Development :: Object Brokering
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.3
Expand Down
10 changes: 0 additions & 10 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[tox]
envlist =
2.6,
2.7,
3.3,
3.4,
Expand Down Expand Up @@ -37,15 +36,6 @@ setenv = C_DEBUG_TEST = 1
commands = {toxinidir}/extra/release/removepyc.sh {toxinidir}
nosetests -xsv --with-coverage --cover-inclusive --cover-erase []

[testenv:2.6]
basepython = python2.6
deps = -r{toxinidir}/requirements/default.txt
-r{toxinidir}/requirements/test.txt
-r{toxinidir}/requirements/test-ci.txt
setenv = C_DEBUG_TEST = 1
commands = {toxinidir}/extra/release/removepyc.sh {toxinidir}
nosetests -xsv --with-coverage --cover-inclusive --cover-erase []

[testenv:pypy]
basepython = pypy
deps = -r{toxinidir}/requirements/default.txt
Expand Down

0 comments on commit 524421a

Please sign in to comment.