Skip to content

Commit

Permalink
Merge pull request #82 from earthgecko/luminosity
Browse files Browse the repository at this point in the history
v1.2.8
  • Loading branch information
earthgecko committed Oct 18, 2018
2 parents 1e9c3e9 + 594b783 commit 5a5684f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/releases/1_2_8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,25 @@ How to update from v1.2.2 - v1.2.7
mv "$CURRENT_SKYLINE_PATH" "/opt/skyline/github/skyline.$OLD_SKYLINE_VERSION"
mv "$NEW_SKYLINE_PATH" "$CURRENT_SKYLINE_PATH"
- Update the pip dependencies, e.g.

.. code-block:: bash
PYTHON_MAJOR_VERSION="2.7"
PYTHON_VIRTUALENV_DIR="/opt/python_virtualenv"
PROJECT="skyline-py2714"
cd "${PYTHON_VIRTUALENV_DIR}/projects/${PROJECT}"
source bin/activate
# As of statsmodels 0.9.0 numpy, et al need to be installed before
# statsmodels in requirements
# https://github.com/statsmodels/statsmodels/issues/4654
# This can take lots of minutes with the new pandas
bin/"pip${PYTHON_MAJOR_VERSION}" install $(cat /opt/skyline/github/skyline/requirements.txt | grep "^numpy\|^scipy\|^patsy\|^pandas" | tr '\n' ' ')
# Remove the luminol egg as it will already be installed and pip will moan
cat /opt/skyline/github/skyline/requirements.txt | grep -v luminol > /tmp/requirements.txt
bin/"pip${PYTHON_MAJOR_VERSION}" install -r /tmp/requirements.txt
deactivate
- Start the all Skyline services (change as appropriate for your set up) e.g.

.. code-block:: bash
Expand Down

0 comments on commit 5a5684f

Please sign in to comment.