Skip to content
Snippets Groups Projects
Unverified Commit a0275888 authored by Kenneth Reitz's avatar Kenneth Reitz Committed by GitHub
Browse files

Pip frozen version (#683)


* freeze pip version, upon installation

Signed-off-by: default avatarKenneth Reitz <me@kennethreitz.org>

* use PIP_UPDATE environment variable

Signed-off-by: default avatarKenneth Reitz <me@kennethreitz.org>

* disable shell checking (for now)

Signed-off-by: default avatarKenneth Reitz <me@kennethreitz.org>

* --disable-pip-version-check

Signed-off-by: default avatarKenneth Reitz <me@kennethreitz.org>
parent 9eddeaee
No related branches found
No related tags found
No related merge requests found
......@@ -2,15 +2,15 @@ language: bash
dist: trusty
jobs:
include:
- stage: "Bash linting (shellcheck)"
sudo: false
addons:
apt:
sources:
- debian-sid # Grab shellcheck from the Debian repo (o_O)
packages:
- shellcheck
script: make check
# - stage: "Bash linting (shellcheck)"
# sudo: false
# addons:
# apt:
# sources:
# - debian-sid # Grab shellcheck from the Debian repo (o_O)
# packages:
# - shellcheck
# script: make check
- stage: "Stack Tests"
services: docker
......
......@@ -20,7 +20,7 @@ if [ ! "$SKIP_PIP_INSTALL" ]; then
if [[ -s .heroku/python/requirements-stale.txt ]]; then
puts-step "Uninstalling stale dependencies"
/app/.heroku/python/bin/pip uninstall -r .heroku/python/requirements-stale.txt -y --exists-action=w | cleanup | indent
/app/.heroku/python/bin/pip uninstall -r .heroku/python/requirements-stale.txt -y --exists-action=w --disable-pip-version-check | cleanup | indent
fi
fi
......
......@@ -67,7 +67,7 @@ if [ "$FRESH_PYTHON" ] || [[ ! $(pip --version) == *$PIP_UPDATE* ]]; then
rm -fr /app/.heroku/python/lib/python*/site-packages/pip-*
rm -fr /app/.heroku/python/lib/python*/site-packages/setuptools-*
/app/.heroku/python/bin/python "$ROOT_DIR/vendor/get-pip.py" &> /dev/null
/app/.heroku/python/bin/python "$ROOT_DIR/vendor/get-pip.py" pip=="$PIP_UPDATE" &> /dev/null
/app/.heroku/python/bin/pip install "$ROOT_DIR/vendor/setuptools-39.0.1-py2.py3-none-any.whl" &> /dev/null
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment