Skip to content

Commit

Permalink
AU: 2 updated - python python3
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey Community committed May 3, 2021
1 parent e3edefd commit 30c874c
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion automatic/python/python.json
Expand Up @@ -7,7 +7,7 @@
"3.5": "3.5.4.20200110",
"3.6": "3.6.8.20200110",
"3.7": "3.7.9",
"3.8": "3.8.9",
"3.8": "3.8.10",
"3.9": "3.9.4",
"3.10": "3.10.0-a7"
}
4 changes: 2 additions & 2 deletions automatic/python/python.nuspec
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>python</id>
<version>3.10.0-a7</version>
<version>3.8.10</version>
<title>Python</title>
<owners>chocolatey-community</owners>
<authors>Python Software Foundation</authors>
Expand All @@ -22,7 +22,7 @@
<packageSourceUrl>https://github.com/chocolatey-community/chocolatey-coreteampackages/tree/master/automatic/python</packageSourceUrl>
<projectSourceUrl>https://www.python.org/downloads/source</projectSourceUrl>
<dependencies>
<dependency id="python3" version="[3.10.0-a7]" />
<dependency id="python3" version="[3.8.10]" />
</dependencies>
<licenseUrl>https://www.python.org/download/releases/3.4.0/license</licenseUrl>
</metadata>
Expand Down
8 changes: 4 additions & 4 deletions automatic/python3/legal/VERIFICATION.txt
Expand Up @@ -7,17 +7,17 @@ Package can be verified like this:

1. Go to

x32: https://www.python.org/ftp/python/3.10.0/python-3.10.0a7.exe
x64: https://www.python.org/ftp/python/3.10.0/python-3.10.0a7-amd64.exe
x32: https://www.python.org/ftp/python/3.8.10/python-3.8.10.exe
x64: https://www.python.org/ftp/python/3.8.10/python-3.8.10-amd64.exe

to download the installer.

2. You can use one of the following methods to obtain the SHA256 checksum:
- Use powershell function 'Get-FileHash'
- Use Chocolatey utility 'checksum.exe'

checksum32: 4D8E308D0EE386F2F8BB0FB4327B1AD9C86D9CFEE8E9D5A2378F998E8DF4CE45
checksum64: D3A6DC68644EA666E3746C7676407F83BA1E232B91479247A7AA36F96839DE01
checksum32: AD07633A1F0CD795F3BF9DA33729F662281DF196B4567FA795829F3BB38A30AC
checksum64: 7628244CB53408B50639D2C1287C659F4E29D3DFDB9084B11AED5870C0C6A48A

File 'license.txt' is obtained from:
https://www.python.org/download/releases/3.4.0/license/
2 changes: 1 addition & 1 deletion automatic/python3/python3.json
Expand Up @@ -7,7 +7,7 @@
"3.5": "3.5.4.20200110",
"3.6": "3.6.8.20200110",
"3.7": "3.7.9",
"3.8": "3.8.9",
"3.8": "3.8.10",
"3.9": "3.9.4",
"3.10": "3.10.0-a7"
}
2 changes: 1 addition & 1 deletion automatic/python3/python3.nuspec
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>python3</id>
<version>3.10.0-a7</version>
<version>3.8.10</version>
<title>Python 3.x</title>
<owners>chocolatey-community</owners>
<authors>Python Software Foundation</authors>
Expand Down
4 changes: 2 additions & 2 deletions automatic/python3/tools/helpers.ps1
Expand Up @@ -39,14 +39,14 @@ function Install-Python {
$packageArgs = @{
packageName = 'python3'
fileType = 'exe'
file = "$toolsPath\python-3.10.0a7.exe"
file = "$toolsPath\python-3.8.10.exe"
silentArgs = '/quiet InstallAllUsers=1 PrependPath={0} TargetDir="{1}"' -f $prependPath, $installDir
validExitCodes = @(0)
softwareName = 'Python 3*'
}

if (!$only32Bit) {
$packageArgs['file64'] = "$toolsPath\python-3.10.0a7-amd64.exe"
$packageArgs['file64'] = "$toolsPath\python-3.8.10-amd64.exe"
}
else {
$packageArgs['packageName'] = '32-bit python3'
Expand Down

0 comments on commit 30c874c

Please sign in to comment.