forked from aws/aws-codebuild-docker-images
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Python runtimes and add Python 3.10 runtime
Updated Python versions: - 3.7.10 → 3.7.12 - 3.8.10 → 3.8.12 - 3.9.5 → 3.9.9 Other updated versions: - pip: 21.1.2 → 21.3.1 - PyYAML: 5.4.1 → 6.0 - OpenSSL: 1.1.1k → 1.1.1m Note: I did not touch OpenSSL versions < 1.1.1k Closes aws#501
- Loading branch information
Showing
49 changed files
with
457 additions
and
277 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
al2/aarch64/standard/2.0/tools/runtime_configs/python/3.10.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export PYTHON_CONFIGURE_OPTS="\ | ||
--enable-shared | ||
--enable-loadable-sqlite-extensions" | ||
|
||
# Don't change below this line. | ||
# https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.10.1 | ||
|
||
#require_gcc | ||
prefer_openssl11 | ||
export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 | ||
install_package "openssl-1.1.1m" "https://www.openssl.org/source/openssl-1.1.1m.tar.gz#f89199be8b23ca45fc7cb9f1d8d3ee67312318286ad030f5316aca6462db6c96" mac_openssl --if has_broken_mac_openssl | ||
install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline | ||
if has_tar_xz_support; then | ||
install_package "Python-3.10.1" "https://www.python.org/ftp/python/3.10.1/Python-3.10.1.tar.xz#a7f1265b6e1a5de1ec5c3ec7019ab53413469934758311e9d240c46e5ae6e177" standard verify_py310 copy_python_gdb ensurepip | ||
else | ||
install_package "Python-3.10.1" "https://www.python.org/ftp/python/3.10.1/Python-3.10.1.tgz#b76117670e7c5064344b9c138e141a377e686b9063f3a8a620ff674fa8ec90d3" standard verify_py310 copy_python_gdb ensurepip | ||
fi |
17 changes: 0 additions & 17 deletions
17
al2/aarch64/standard/2.0/tools/runtime_configs/python/3.7.10
This file was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
al2/aarch64/standard/2.0/tools/runtime_configs/python/3.7.12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export PYTHON_CONFIGURE_OPTS="\ | ||
--enable-shared | ||
--enable-loadable-sqlite-extensions" | ||
|
||
# Don't change below this line. | ||
# https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.7.12 | ||
|
||
#require_gcc | ||
prefer_openssl11 | ||
export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 | ||
install_package "openssl-1.1.1m" "https://www.openssl.org/source/openssl-1.1.1m.tar.gz#f89199be8b23ca45fc7cb9f1d8d3ee67312318286ad030f5316aca6462db6c96" mac_openssl --if has_broken_mac_openssl | ||
install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline | ||
if has_tar_xz_support; then | ||
install_package "Python-3.7.12" "https://www.python.org/ftp/python/3.7.12/Python-3.7.12.tar.xz#f77bf7fb47839f213e5cbf7827281078ea90de7e72b44f10d7ef385ea8c43210" standard verify_py37 copy_python_gdb ensurepip | ||
else | ||
install_package "Python-3.7.12" "https://www.python.org/ftp/python/3.7.12/Python-3.7.12.tgz#33b4daaf831be19219659466d12645f87ecec6eb21d4d9f9711018a7b66cce46" standard verify_py37 copy_python_gdb ensurepip | ||
fi |
17 changes: 0 additions & 17 deletions
17
al2/aarch64/standard/2.0/tools/runtime_configs/python/3.8.10
This file was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
al2/aarch64/standard/2.0/tools/runtime_configs/python/3.8.12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export PYTHON_CONFIGURE_OPTS="\ | ||
--enable-shared | ||
--enable-loadable-sqlite-extensions" | ||
|
||
# Don't change below this line. | ||
# https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.8.12 | ||
|
||
#require_gcc | ||
prefer_openssl11 | ||
export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 | ||
install_package "openssl-1.1.1m" "https://www.openssl.org/source/openssl-1.1.1m.tar.gz#f89199be8b23ca45fc7cb9f1d8d3ee67312318286ad030f5316aca6462db6c96" mac_openssl --if has_broken_mac_openssl | ||
install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline | ||
if has_tar_xz_support; then | ||
install_package "Python-3.8.12" "https://www.python.org/ftp/python/3.8.12/Python-3.8.12.tar.xz#b1d3a76420375343b5e8a22fceb1ac65b77193e9ed27146524f0a9db058728ea" standard verify_py38 copy_python_gdb ensurepip | ||
else | ||
install_package "Python-3.8.12" "https://www.python.org/ftp/python/3.8.12/Python-3.8.12.tgz#316aa33f3b7707d041e73f246efedb297a70898c4b91f127f66dc8d80c596f1a" standard verify_py38 copy_python_gdb ensurepip | ||
fi |
17 changes: 0 additions & 17 deletions
17
al2/aarch64/standard/2.0/tools/runtime_configs/python/3.9.5
This file was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
al2/aarch64/standard/2.0/tools/runtime_configs/python/3.9.9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export PYTHON_CONFIGURE_OPTS="\ | ||
--enable-shared | ||
--enable-loadable-sqlite-extensions" | ||
|
||
# Don't change below this line. | ||
# https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.9.9 | ||
|
||
#require_gcc | ||
prefer_openssl11 | ||
export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 | ||
install_package "openssl-1.1.1m" "https://www.openssl.org/source/openssl-1.1.1m.tar.gz#f89199be8b23ca45fc7cb9f1d8d3ee67312318286ad030f5316aca6462db6c96" mac_openssl --if has_broken_mac_openssl | ||
install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline | ||
if has_tar_xz_support; then | ||
install_package "Python-3.9.9" "https://www.python.org/ftp/python/3.9.9/Python-3.9.9.tar.xz#06828c04a573c073a4e51c4292a27c1be4ae26621c3edc7cf9318418ce3b6d27" standard verify_py39 copy_python_gdb ensurepip | ||
else | ||
install_package "Python-3.9.9" "https://www.python.org/ftp/python/3.9.9/Python-3.9.9.tgz#2cc7b67c1f3f66c571acc42479cdf691d8ed6b47bee12c9b68430413a17a44ea" standard verify_py39 copy_python_gdb ensurepip | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
al2/x86_64/standard/2.0/tools/runtime_configs/python/3.10.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export PYTHON_CONFIGURE_OPTS="\ | ||
--enable-shared | ||
--enable-loadable-sqlite-extensions" | ||
|
||
# Don't change below this line. | ||
# https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.10.1 | ||
|
||
#require_gcc | ||
prefer_openssl11 | ||
export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 | ||
install_package "openssl-1.1.1m" "https://www.openssl.org/source/openssl-1.1.1m.tar.gz#f89199be8b23ca45fc7cb9f1d8d3ee67312318286ad030f5316aca6462db6c96" mac_openssl --if has_broken_mac_openssl | ||
install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline | ||
if has_tar_xz_support; then | ||
install_package "Python-3.10.1" "https://www.python.org/ftp/python/3.10.1/Python-3.10.1.tar.xz#a7f1265b6e1a5de1ec5c3ec7019ab53413469934758311e9d240c46e5ae6e177" standard verify_py310 copy_python_gdb ensurepip | ||
else | ||
install_package "Python-3.10.1" "https://www.python.org/ftp/python/3.10.1/Python-3.10.1.tgz#b76117670e7c5064344b9c138e141a377e686b9063f3a8a620ff674fa8ec90d3" standard verify_py310 copy_python_gdb ensurepip | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
al2/x86_64/standard/2.0/tools/runtime_configs/python/3.8.10
This file was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
al2/x86_64/standard/2.0/tools/runtime_configs/python/3.8.12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export PYTHON_CONFIGURE_OPTS="\ | ||
--enable-shared | ||
--enable-loadable-sqlite-extensions" | ||
|
||
# Don't change below this line. | ||
# https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.8.12 | ||
|
||
#require_gcc | ||
prefer_openssl11 | ||
export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 | ||
install_package "openssl-1.1.1m" "https://www.openssl.org/source/openssl-1.1.1m.tar.gz#f89199be8b23ca45fc7cb9f1d8d3ee67312318286ad030f5316aca6462db6c96" mac_openssl --if has_broken_mac_openssl | ||
install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline | ||
if has_tar_xz_support; then | ||
install_package "Python-3.8.12" "https://www.python.org/ftp/python/3.8.12/Python-3.8.12.tar.xz#b1d3a76420375343b5e8a22fceb1ac65b77193e9ed27146524f0a9db058728ea" standard verify_py38 copy_python_gdb ensurepip | ||
else | ||
install_package "Python-3.8.12" "https://www.python.org/ftp/python/3.8.12/Python-3.8.12.tgz#316aa33f3b7707d041e73f246efedb297a70898c4b91f127f66dc8d80c596f1a" standard verify_py38 copy_python_gdb ensurepip | ||
fi |
17 changes: 0 additions & 17 deletions
17
al2/x86_64/standard/2.0/tools/runtime_configs/python/3.9.5
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.