Skip to content

Commit 1218839

Browse files
author
Stephen Hoover
authored
BUG In Travis, restrict pandas version downloaded (#249)
Pandas dropped Python 3.4 support with v0.21, and our Python 3.4 tests have recently begun failing when they attempt to install the newest version. Our Travis tests were installing all of the optional packages in a separate line; move those to the dev-requirements file so that we can control which version is installed where. See also pandas-dev/pandas#20697 .
1 parent 242d2e2 commit 1218839

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ python:
77
install:
88
- pip install --upgrade pip setuptools
99
- pip install -r dev-requirements.txt
10-
- pip install pandas scikit-learn scipy feather-format
1110
- pip install -e .
1211
env:
1312
global:

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1010
- Include JSON files with pip distributions (#244)
1111
- Added flush to `civis_to_file` when passed a user-created buffer,
1212
ensuring the buffer contains the entire file when subsequently read.
13+
- Travis tests for Python 3.4 are now restricted to pandas<=0.20, the
14+
last version which supported Python 3.4 (#249)
1315

1416
### Added
1517
- Added a utility function which can robustly split a Redshift schema name

dev-requirements.txt

+8-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,11 @@ pytest-cov>=2.4.0,==2.*
66
vcrpy>=1.11.0,<=1.11.99
77
vcrpy-unittest==0.1.6
88
sphinx_rtd_theme>=0.2.4,<1.0.0
9-
numpydoc>=0.7.0,<1.0.0
9+
numpydoc>=0.7.0,<1.0.0
10+
feather-format
11+
numpy
12+
pandas; python_version >= '3.5'
13+
pandas<0.21; python_version == '3.4'
14+
pandas<=0.23; python_version == '2.7'
15+
scikit-learn
16+
scipy

0 commit comments

Comments
 (0)