Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
bbc1a235
Commit
bbc1a235
authored
Jul 19, 2016
by
Max Rothman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OPS-1637: Upgrade pip, setuptools, virtualenv
parent
3e010c2d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
11 deletions
+11
-11
playbooks/roles/common_vars/defaults/main.yml
+3
-3
pre-requirements.txt
+1
-1
util/install/ansible-bootstrap.sh
+3
-3
util/install/sandbox.sh
+3
-3
util/vpc-tools/abbey.py
+1
-1
No files found.
playbooks/roles/common_vars/defaults/main.yml
View file @
bbc1a235
...
...
@@ -117,9 +117,9 @@ common_debian_pkgs:
-
python2.7-dev
common_pip_pkgs
:
-
pip==
7
.1.2
-
setuptools==
18.3.2
-
virtualenv==1
3.1
.2
-
pip==
8
.1.2
-
setuptools==
24.0.3
-
virtualenv==1
5.0
.2
-
virtualenvwrapper==4.7.1
common_web_user
:
www-data
...
...
pre-requirements.txt
View file @
bbc1a235
pip
==
7
.1.2
pip
==
8
.1.2
util/install/ansible-bootstrap.sh
View file @
bbc1a235
...
...
@@ -36,9 +36,9 @@ fi
#
# Bootstrapping constants
#
VIRTUAL_ENV_VERSION
=
"1
3.1
.2"
PIP_VERSION
=
"
7
.1.2"
SETUPTOOLS_VERSION
=
"
18.3.2
"
VIRTUAL_ENV_VERSION
=
"1
5.0
.2"
PIP_VERSION
=
"
8
.1.2"
SETUPTOOLS_VERSION
=
"
24.0.3
"
VIRTUAL_ENV
=
"/tmp/bootstrap"
PYTHON_BIN
=
"
${
VIRTUAL_ENV
}
/bin"
ANSIBLE_DIR
=
"/tmp/ansible"
...
...
util/install/sandbox.sh
View file @
bbc1a235
...
...
@@ -32,9 +32,9 @@ sudo apt-get upgrade -y
## Install system pre-requisites
##
sudo
apt-get install
-y
build-essential software-properties-common curl git-core libxml2-dev libxslt1-dev python-pip libmysqlclient-dev python-apt python-dev libxmlsec1-dev libfreetype6-dev swig gcc-4.8 g++-4.8
sudo
pip install
--upgrade
pip
==
7
.1.2
sudo
pip install
--upgrade
setuptools
==
18.3.2
sudo
-H
pip install
--upgrade
virtualenv
==
1
3.1
.2
sudo
pip install
--upgrade
pip
==
8
.1.2
sudo
pip install
--upgrade
setuptools
==
24.0.3
sudo
-H
pip install
--upgrade
virtualenv
==
1
5.0
.2
##
## Update alternatives so that gcc/g++ 4.8 is the default compiler
...
...
util/vpc-tools/abbey.py
View file @
bbc1a235
...
...
@@ -305,7 +305,7 @@ fi
/usr/bin/apt-get install -y python-httplib2 --force-yes
# upgrade setuptools early to avoid no distributin errors
pip install --upgrade setuptools==
18.3.2
pip install --upgrade setuptools==
24.0.3
rm -rf $base_dir
mkdir -p $base_dir
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment