提交 0a7f0bf6 authored 作者: Frederic Bastien's avatar Frederic Bastien

Drop python 2.6 support

上级 9f759f07
...@@ -8,7 +8,7 @@ cache: ...@@ -8,7 +8,7 @@ cache:
language: python language: python
python: python:
- "2.6" - "2.7"
- "3.3" - "3.3"
# command to install dependencies # command to install dependencies
...@@ -30,11 +30,10 @@ addons: ...@@ -30,11 +30,10 @@ addons:
- dvipng - dvipng
install: install:
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then conda create --yes -q -n pyenv mkl python=2.6 numpy=1.7.1 scipy=0.11 nose=1.3.0 pip flake8=2.3 six=1.9.0 pep8=1.6.2 pyflakes=0.8.1 sphinx; fi - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then conda create --yes -q -n pyenv mkl python=2.7 numpy=1.7.1 scipy=0.11 nose=1.3.0 pip flake8=2.3 six=1.9.0 pep8=1.6.2 pyflakes=0.8.1 sphinx; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then conda create --yes -q -n pyenv mkl python=3.3 numpy=1.9.1 scipy=0.14.0 nose=1.3.4 pip flake8=2.3 six=1.9.0 pep8=1.6.2 pyflakes=0.8.1 sphinx; fi - if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then conda create --yes -q -n pyenv mkl python=3.3 numpy=1.9.1 scipy=0.14.0 nose=1.3.4 pip flake8=2.3 six=1.9.0 pep8=1.6.2 pyflakes=0.8.1 sphinx; fi
- source activate pyenv - source activate pyenv
# pydot 1.2 broke support of python 2.6. They won't try to maintain it. - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install pydot; else pip install pydot-ng; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install pydot==1.1.0; else pip install pydot-ng; fi
- pip install . --no-deps - pip install . --no-deps
- pip install flake8-future-import nose-parameterized==0.5.0 - pip install flake8-future-import nose-parameterized==0.5.0
...@@ -49,7 +48,7 @@ matrix: ...@@ -49,7 +48,7 @@ matrix:
include: include:
- python: "3.3" - python: "3.3"
env: PART="-e test_flake8.py ." THEANO_FLAGS="mode=FAST_COMPILE" env: PART="-e test_flake8.py ." THEANO_FLAGS="mode=FAST_COMPILE"
- python: "2.6" - python: "2.7"
env: PART="-e test_flake8.py ." THEANO_FLAGS="mode=FAST_COMPILE,floatX=float32" env: PART="-e test_flake8.py ." THEANO_FLAGS="mode=FAST_COMPILE,floatX=float32"
script: script:
......
...@@ -8,8 +8,11 @@ Requirements ...@@ -8,8 +8,11 @@ Requirements
.. _BLAS: http://en.wikipedia.org/wiki/Basic_Linear_Algebra_Subprograms .. _BLAS: http://en.wikipedia.org/wiki/Basic_Linear_Algebra_Subprograms
.. _Python: http://www.python.org/ .. _Python: http://www.python.org/
Python_ >= 2.6 or >= 3.3 Python_ >= 2.7 or >= 3.3 The development package (python-dev or
The development package (python-dev or python-devel on most Linux distributions) is recommended (see just below). Python 2.4 was supported up to and including the release 0.6. Python 3 is supported past the 3.3 release. python-devel on most Linux distributions) is recommended (see
just below). Python 2.4 was supported up to and including the
release 0.6. Python 2.6 was supported up to and including the
release 0.8.2. Python 3 is supported past the 3.3 release.
`NumPy <http://numpy.scipy.org/>`_ >= 1.7.1 < 1.11.1 `NumPy <http://numpy.scipy.org/>`_ >= 1.7.1 < 1.11.1
Earlier versions could work, but we don’t test it. Earlier versions could work, but we don’t test it.
......
...@@ -31,7 +31,6 @@ Operating System :: POSIX ...@@ -31,7 +31,6 @@ Operating System :: POSIX
Operating System :: Unix Operating System :: Unix
Operating System :: MacOS Operating System :: MacOS
Programming Language :: Python :: 2 Programming Language :: Python :: 2
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7 Programming Language :: Python :: 2.7
Programming Language :: Python :: 3 Programming Language :: Python :: 3
Programming Language :: Python :: 3.3 Programming Language :: Python :: 3.3
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论