Skip to content

Commit 5ce217e

Browse files
author
Stephen Hoover
committed
BUG In Travis, restrict pandas version downloaded
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 their own requirements file so that we can control which version is intalled where. See also pandas-dev/pandas#20697 .
1 parent 242d2e2 commit 5ce217e

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ 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
10+
- pip install -r full-testing-requirements.txt
1111
- pip install -e .
1212
env:
1313
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

full-testing-requirements.txt

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
feather-format
2+
numpy
3+
pandas; python_version >= '3.5'
4+
pandas<0.21; python_version == '3.4'
5+
pandas<=0.23; python_version == '2.7'
6+
scikit-learn
7+
scipy

0 commit comments

Comments
 (0)