Skip to content

Commit

Permalink
DEPS: Drop Python 3.4 support
Browse files Browse the repository at this point in the history
Closes gh-15251.
  • Loading branch information
gfyoung committed May 12, 2017
1 parent 4bdbcb6 commit ade6398
Show file tree
Hide file tree
Showing 14 changed files with 35 additions and 65 deletions.
4 changes: 0 additions & 4 deletions ci/requirements-3.4.build

This file was deleted.

2 changes: 0 additions & 2 deletions ci/requirements-3.4.pip

This file was deleted.

18 changes: 0 additions & 18 deletions ci/requirements-3.4.run

This file was deleted.

20 changes: 0 additions & 20 deletions ci/requirements-3.4_SLOW.run

This file was deleted.

7 changes: 0 additions & 7 deletions ci/requirements-3.4_SLOW.sh

This file was deleted.

2 changes: 1 addition & 1 deletion ci/requirements-3.6.run
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ html5lib
jinja2
sqlalchemy
pymysql
feather-format
# feather-format (not available on defaults ATM)
# psycopg2 (not avail on defaults ATM)
beautifulsoup4
s3fs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
python=3.4*
python=3.6*
python-dateutil
pytz
nomkl
numpy=1.10*
numpy
cython
Empty file added ci/requirements-3.6_SLOW.pip
Empty file.
22 changes: 22 additions & 0 deletions ci/requirements-3.6_SLOW.run
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
python-dateutil
pytz
numpy
scipy
openpyxl
xlsxwriter
xlrd
xlwt
numexpr
pytables
matplotlib
lxml
html5lib
jinja2
sqlalchemy
pymysql
# feather-format (not available on defaults ATM)
# psycopg2 (not available on defaults ATM)
beautifulsoup4
s3fs
xarray
ipython
4 changes: 2 additions & 2 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ dependencies:
0)
sudo apt-get install language-pack-it && ./ci/install_circle.sh JOB="2.7_COMPAT" LOCALE_OVERRIDE="it_IT.UTF-8" ;;
1)
sudo apt-get install language-pack-zh-hans && ./ci/install_circle.sh JOB="3.4_SLOW" LOCALE_OVERRIDE="zh_CN.UTF-8" ;;
sudo apt-get install language-pack-zh-hans && ./ci/install_circle.sh JOB="3.6_SLOW" LOCALE_OVERRIDE="zh_CN.UTF-8" ;;
2)
sudo apt-get install language-pack-zh-hans && ./ci/install_circle.sh JOB="3.4" LOCALE_OVERRIDE="zh_CN.UTF-8" ;;
sudo apt-get install language-pack-zh-hans && ./ci/install_circle.sh JOB="3.6" LOCALE_OVERRIDE="zh_CN.UTF-8" ;;
3)
./ci/install_circle.sh JOB="3.5_ASCII" LOCALE_OVERRIDE="C" ;;
esac
Expand Down
2 changes: 1 addition & 1 deletion doc/source/whatsnew/v0.21.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Other Enhancements
Backwards incompatible API changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


- Support has been dropped for Python 3.4 (:issue:`15251`)

.. _whatsnew_0210.api:

Expand Down
4 changes: 2 additions & 2 deletions pandas/compat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Key items to import for 2/3 compatible code:
* iterators: range(), map(), zip(), filter(), reduce()
* lists: lrange(), lmap(), lzip(), lfilter()
* unicode: u() [u"" is a syntax error in Python 3.0-3.2]
* unicode: u() [no unicode builtin in Python 3]
* longs: long (int in Python 3)
* callable
* iterable method compatibility: iteritems, iterkeys, itervalues
Expand Down Expand Up @@ -110,7 +110,7 @@ def signature(f):
unichr = chr

# This was introduced in Python 3.3, but we don't support
# Python 3.x < 3.4, so checking PY3 is safe.
# Python 3.x < 3.5, so checking PY3 is safe.
FileNotFoundError = FileNotFoundError

# list-producing versions of the major Python iterating functions
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,6 @@ def build_extensions(self):
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Cython',
Expand Down
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py27, py34, py35
envlist = py27, py35, py36

[testenv]
deps =
Expand Down Expand Up @@ -49,14 +49,14 @@ deps =
bigquery
{[testenv]deps}

[testenv:py34]
[testenv:py35]
deps =
numpy==1.8.0
numpy==1.10.0
{[testenv]deps}

[testenv:py35]
[testenv:py36]
deps =
numpy==1.10.0
numpy
{[testenv]deps}

[testenv:openpyxl1]
Expand Down

0 comments on commit ade6398

Please sign in to comment.