Skip to content

Commit 1a69141

Browse files
author
Douglas Greiman
authored
Update Python interpreters to 3.5.5 and 3.6.4 (#177)
1 parent 389436f commit 1a69141

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

python-interpreter-builder/Dockerfile.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ RUN mkdir -p /opt/packages && \
5151
echo -n "" > /opt/packages/packages.txt
5252

5353
RUN /scripts/build-python-3.5.sh && \
54-
/scripts/package-python.sh 3.5.4 "1gcp~${TAG}"
54+
/scripts/package-python.sh 3.5.5 "1gcp~${TAG}"
5555

5656
RUN /scripts/build-python-3.6.sh && \
57-
/scripts/package-python.sh 3.6.2 "1gcp~${TAG}"
57+
/scripts/package-python.sh 3.6.4 "1gcp~${TAG}"
5858

5959
# Tar the interpreters. Tarring is needed because docker cp doesn't handle
6060
# links correctly.

python-interpreter-builder/scripts/build-python-3.5.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ set -x
66
# Get the source
77
mkdir -p /opt/sources
88
cd /opt/sources
9-
wget --no-verbose https://www.python.org/ftp/python/3.5.4/Python-3.5.4.tgz
9+
wget --no-verbose https://www.python.org/ftp/python/3.5.5/Python-3.5.5.tgz
1010
# SHA-256 generated via `shasum -a 256 [file]`
1111
shasum --check <<EOF
12-
6ed87a8b6c758cc3299a8b433e8a9a9122054ad5bc8aad43299cff3a53d8ca44 Python-3.5.4.tgz
12+
2f988db33913dcef17552fd1447b41afb89dbc26e3cdfc068ea6c62013a3a2a5 Python-3.5.5.tgz
1313
EOF
14-
tar xzf Python-3.5.4.tgz
14+
tar xzf Python-3.5.5.tgz
1515

16-
cd Python-3.5.4
16+
cd Python-3.5.5
1717

1818
# Explanation of flags:
1919
#
@@ -146,5 +146,5 @@ find "$PREFIX"/lib/python3.5/test \
146146

147147
# Clean-up sources
148148
cd /opt
149-
rm /opt/sources/Python-3.5.4.tgz
150-
rm -r /opt/sources/Python-3.5.4
149+
rm /opt/sources/Python-3.5.5.tgz
150+
rm -r /opt/sources/Python-3.5.5

python-interpreter-builder/scripts/build-python-3.6.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ set -x
66
# Get the source
77
mkdir -p /opt/sources
88
cd /opt/sources
9-
wget --no-verbose https://www.python.org/ftp/python/3.6.2/Python-3.6.2.tgz
9+
wget --no-verbose https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz
1010
# SHA-256 generated via `shasum -a 256 [file]`
1111
shasum --check <<EOF
12-
7919489310a5f17f7acbab64d731e46dca0702874840dadce8bd4b2b3b8e7a82 Python-3.6.2.tgz
12+
7dc453e1a93c083388eb1a23a256862407f8234a96dc4fae0fc7682020227486 Python-3.6.4.tgz
1313
EOF
14-
tar xzf Python-3.6.2.tgz
14+
tar xzf Python-3.6.4.tgz
1515

16-
cd Python-3.6.2
16+
cd Python-3.6.4
1717

1818
# Explanation of flags:
1919
#
@@ -146,5 +146,5 @@ find "$PREFIX"/lib/python3.6/test \
146146

147147
# Clean-up sources
148148
cd /opt
149-
rm /opt/sources/Python-3.6.2.tgz
150-
rm -r /opt/sources/Python-3.6.2
149+
rm /opt/sources/Python-3.6.4.tgz
150+
rm -r /opt/sources/Python-3.6.4

tests/virtualenv/virtualenv_python35.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ commandTests:
2525
- name: "virtualenv35 python version"
2626
setup: [["virtualenv", "-p", "python3.5", "/env"]]
2727
command: ["python", "--version"]
28-
expectedOutput: ["Python 3.5.4\n"]
28+
expectedOutput: ["Python 3.5.5\n"]
2929

3030
- name: "virtualenv35 pip installation"
3131
setup: [["virtualenv", "-p", "python3.5", "/env"]]

tests/virtualenv/virtualenv_python36.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ commandTests:
2525
- name: "virtualenv36 python version"
2626
setup: [["virtualenv", "-p", "python3.6", "/env"]]
2727
command: ["python", "--version"]
28-
expectedOutput: ["Python 3.6.2\n"]
28+
expectedOutput: ["Python 3.6.4\n"]
2929

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

0 commit comments

Comments
 (0)