Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the Dockerfile to use 3.6, requirements needed to be updated. #2741

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -21,7 +21,7 @@
#
# docker exec -it zipline zipline run -f /projects/my_algo.py --start 2015-1-1 --end 2016-1-1 -o /projects/result.pickle
#
FROM python:3.5
FROM python:3.6

#
# set up environment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

&& pip install 'scipy>=0.17.1,<1.0.0' \

this should be scipy>=0.17.1,<=1.1.0 due to statsmodels dependency.

Expand Down
3 changes: 1 addition & 2 deletions README.rst
Expand Up @@ -41,8 +41,7 @@ Features
Installation
============

Zipline currently supports Python 2.7 and Python 3.5, and may be installed via
either pip or conda.
Zipline currently supports Python 3.6, and may be installed via either pip or conda.

**Note:** Installing Zipline is slightly more involved than the average Python
package. See the full `Zipline Install Documentation`_ for detailed
Expand Down
8 changes: 1 addition & 7 deletions docs/source/install.rst
Expand Up @@ -133,13 +133,7 @@ the `Conda User Guide <https://conda.io/projects/conda/en/latest/user-guide/task

Assuming ``conda`` has been set up, you can create a ``conda`` environment:

- Python 2.7:

.. code-block:: bash

$ conda create -n env_zipline python=2.7

- Python 3.5:
- Python 3.6:

.. code-block:: bash

Expand Down
4 changes: 2 additions & 2 deletions etc/requirements.in
Expand Up @@ -17,10 +17,10 @@ multipledispatch>=0.6.0
toolz>=0.8.2

# Scientific Libraries
numpy>=1.11.3
numpy>=1.11.3,<=1.18.0
pandas>=0.18.1,<=0.22
pandas-datareader>=0.2.1
scipy>=0.17.1
scipy>1.0.0,<=1.1.0
# Needed for parts of pandas.stats
patsy>=0.4.0
statsmodels>=0.6.1
Expand Down