Skip to content

Commit

Permalink
Merge pull request #161 from machow/travis-py38
Browse files Browse the repository at this point in the history
tests: add python 3.8 to travis
  • Loading branch information
machow authored Nov 30, 2019
2 parents dba8be7 + 9e704c9 commit f7c791b
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 11 deletions.
23 changes: 20 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,27 @@ python:
# - "3.6"
- "3.6-dev" # 3.6 development branch
- "3.7-dev" # 3.7 development branch
- "3.8-dev"
# command to install dependencies
install:
- pip install -r requirements.txt
- pip install .
jobs:
include:
- name: "Minimum install_requires versions"
install:
- pip install numpy~=1.12.0 pandas~=0.24.0 SQLAlchemy~=1.1.18 psycopg2~=2.7.0
- pip install pytest==4.4.2 hypothesis==4.50.2
- name: "Late 2019 dependencies"
install:
- pip install numpy==1.17.4 pandas==0.24.2 SQLAlchemy==1.2.19 psycopg2==2.8.4
- pip install pytest==4.4.2 hypothesis==4.50.2
- name: "Newest studied dependency versions"
install:
- pip install numpy==1.17.4 pandas~=0.25.3 SQLAlchemy~=1.3.11 psycopg2~=2.8.4
- pip install pytest==4.4.2 hypothesis==4.50.2
- name: "Pure setup.py install"
install:
- pip install ./
- pip install pytest==4.4.2 hypothesis==4.50.2

# command to run tests
services:
- postgresql
Expand Down
14 changes: 8 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
numpy==1.16.1
pandas==0.24.1
numpy==1.17.4
pandas==0.24.2
python-dateutil==2.8.0
pytz==2018.9
scipy==1.2.1
scipy==1.3.2
six==1.12.0
SQLAlchemy==1.2.17
SQLAlchemy==1.2.19
nbval==0.9.1
# tests
hypothesis==4.50.2
pytest==4.4.2
psycopg2==2.8.2
psycopg2==2.8.4
# only used for iris dataset
scikit-learn==0.20.2
# used for docs
nbsphinx==0.4.2
jupytext==1.1.1
jupytext==1.3.0
gapminder==0.1
matplotlib==3.1.0
plotnine==0.5.1

8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,13 @@
author_email='[email protected]',
url='https://github.com/machow/siuba',
keywords=['package', ],
install_requires = [
"pandas"
install_requires=[
"pandas>=0.24.0",
"numpy>=1.12.0",
"SQLAlchemy>=1.1.18",
"psycopg2>=2.7.0",
],
python_requires=">=3.6",
include_package_data=True,
classifiers=[
'Programming Language :: Python :: 3',
Expand Down

0 comments on commit f7c791b

Please sign in to comment.