Skip to content

Commit 7f7f9c9

Browse files
author
Hal Carleton
committed
upgrage default python version to 3.7.9
1 parent 102025c commit 7f7f9c9

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

scripts/bundled_installer

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
# - the latest (or close to it) Python
99
# - the latest version of the EBCLI
10-
export PYTHON_VERSION="3.7.2"
10+
export PYTHON_VERSION="3.7.9"
1111
export PYENV_ROOT=${PYENV_ROOT:-"$HOME/.pyenv"}
1212
export PYENV_BIN="$PYENV_ROOT/versions/$PYTHON_VERSION/bin"
1313
BASH_PROFILE="$HOME/.bash_profile"

scripts/ebcli_installer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
python /<location to script>/bundled_installer.py
1717
1818
# specify Python executable
19-
python scripts/bundled_installer.py -p ~/.pyenv/versions/3.7.2/bin/python
19+
python scripts/bundled_installer.py -p ~/.pyenv/versions/3.7.9/bin/python
2020
2121
To view help text:
2222

scripts/install-python.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$PythonInstaller = "$PSScriptRoot\python3.7.3.exe"
1+
$PythonInstaller = "$PSScriptRoot\python3.7.9.exe"
22
$StepNumber = 1
33

44
function Write-StepTitle([String] $StepMessage) {
@@ -13,17 +13,17 @@ function Write-StepTitle([String] $StepMessage) {
1313
}
1414

1515
function Get-PythonExecutable {
16-
Write-StepTitle "Looking for existing Python 3.7.3 installation."
17-
return Get-WmiObject -Namespace "root/cimv2" -Class Win32_Product -Filter "Name Like 'Python 3.7.3 Executables%'"
16+
Write-StepTitle "Looking for existing Python 3.7.9 installation."
17+
return Get-WmiObject -Namespace "root/cimv2" -Class Win32_Product -Filter "Name Like 'Python 3.7.9 Executables%'"
1818
}
1919

2020
function Get-PythonInstallationTarget {
2121
if ([Environment]::Is64BitOperatingSystem) {
2222
Write-StepTitle "Downloading x64 version of Python."
23-
return "https://www.python.org/ftp/python/3.7.3/python-3.7.3-amd64-webinstall.exe"
23+
return "https://www.python.org/ftp/python/3.7.9/python-3.7.9-amd64-webinstall.exe"
2424
} else {
2525
Write-StepTitle "Downloading x86 version of Python."
26-
return "https://www.python.org/ftp/python/3.7.3/python-3.7.3-webinstall.exe"
26+
return "https://www.python.org/ftp/python/3.7.9/python-3.7.9-webinstall.exe"
2727
}
2828
}
2929

@@ -79,6 +79,6 @@ if ($PythonExecutable.count -eq 0) {
7979
Update-UserEnvironmentPath
8080
Remove-Item $PythonInstaller
8181
} else {
82-
Write-Host "Python 3.7.3 is already installed." -ForegroundColor Green
82+
Write-Host "Python 3.7.9 is already installed." -ForegroundColor Green
8383
}
8484
Install-Virtualenv

scripts/python_installer

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
BASH_PROFILE="$HOME/.bash_profile"
2424
ZSHENV="$HOME/.zshrc"
2525
COMMAND_LINE_ARGS=$*
26-
PYTHON_VERSION=${PYTHON_VERSION:="3.7.2"}
26+
PYTHON_VERSION=${PYTHON_VERSION:="3.7.9"}
2727
SUPPRESS_PATH_EXPORT_MESSAGE=${SUPPRESS_PATH_EXPORT_MESSAGE:=false}
2828
PYENV_ROOT=${PYENV_ROOT:="$HOME/.pyenv"}
2929
export PYTHON_ALREADY_IN_PATH=false

0 commit comments

Comments
 (0)