Skip to content

Commit

Permalink
Merge pull request #190 from dlorenc/update36
Browse files Browse the repository at this point in the history
Update to Python 3.6.5.
  • Loading branch information
dlorenc committed Apr 3, 2018
2 parents 8d34b50 + bae0483 commit 9e6b11a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions python-interpreter-builder/scripts/build-python-3.6.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ set -x
# Get the source
mkdir -p /opt/sources
cd /opt/sources
wget --no-verbose https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz
wget --no-verbose https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tgz
# SHA-256 generated via `shasum -a 256 [file]`
shasum --check <<EOF
7dc453e1a93c083388eb1a23a256862407f8234a96dc4fae0fc7682020227486 Python-3.6.4.tgz
53a3e17d77cd15c5230192b6a8c1e031c07cd9f34a2f089a731c6f6bd343d5c6 Python-3.6.5.tgz
EOF
tar xzf Python-3.6.4.tgz
tar xzf Python-3.6.5.tgz

cd Python-3.6.4
cd Python-3.6.5

# Explanation of flags:
#
Expand Down Expand Up @@ -146,8 +146,8 @@ find "$PREFIX"/lib/python3.6/test \

# Clean-up sources
cd /opt
rm /opt/sources/Python-3.6.4.tgz
rm -r /opt/sources/Python-3.6.4
rm /opt/sources/Python-3.6.5.tgz
rm -r /opt/sources/Python-3.6.5

# Archive and copy to persistent external volume
tar czf /workspace/runtime-image/interpreter-3.6.tar.gz /opt/python3.6
2 changes: 1 addition & 1 deletion tests/no-virtualenv/no-virtualenv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ commandTests:
expectedOutput: ["/usr/local/bin/python3\n"]
- name: "default python3 version"
command: ["python3", "--version"]
expectedOutput: ["Python 3.6.4\n"]
expectedOutput: ["Python 3.6.5\n"]
- name: "default pip3 installation"
command: ["which", "pip3"]
expectedOutput: ["/usr/local/bin/pip3\n"]
Expand Down
2 changes: 1 addition & 1 deletion tests/virtualenv/virtualenv_python36.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ commandTests:
- name: "virtualenv36 python version"
setup: [["virtualenv", "-p", "python3.6", "/env"]]
command: ["python", "--version"]
expectedOutput: ["Python 3.6.4\n"]
expectedOutput: ["Python 3.6.5\n"]

- name: "virtualenv36 pip installation"
setup: [["virtualenv", "-p", "python3.6", "/env"]]
Expand Down

0 comments on commit 9e6b11a

Please sign in to comment.