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 Jan 17, 2022
1 parent 25a2330 commit fa00aa8
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions automatic/python/python.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"3.6": "3.6.8.20200110",
"3.7": "3.7.9",
"3.8": "3.8.10",
"3.9": "3.9.9",
"3.10": "3.10.1",
"3.11": "3.11.0-a3"
"3.9": "3.9.10",
"3.10": "3.10.2",
"3.11": "3.11.0-a4"
}
4 changes: 2 additions & 2 deletions automatic/python/python.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>python</id>
<version>3.11.0-a3</version>
<version>3.9.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-packages/tree/master/automatic/python</packageSourceUrl>
<projectSourceUrl>https://www.python.org/downloads/source</projectSourceUrl>
<dependencies>
<dependency id="python3" version="[3.11.0-a3]" />
<dependency id="python3" version="[3.9.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
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ Package can be verified like this:

1. Go to

x32: https://www.python.org/ftp/python/3.11.0/python-3.11.0a3.exe
x64: https://www.python.org/ftp/python/3.11.0/python-3.11.0a3-amd64.exe
x32: https://www.python.org/ftp/python/3.9.10/python-3.9.10.exe
x64: https://www.python.org/ftp/python/3.9.10/python-3.9.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: 212995B2C7AD0AB2C7BB7FDDAED2A8AB4E64933AC79A21615565328F8998BAA6
checksum64: 0D9B002EC2CDBB7AF61EB947E754029546F71F105E78896E3E8A5DF1A06357C2
checksum32: 203DD271F6D14CFC9211D5D1926CDCFD69FB55141C709827758DA9F54BEF4756
checksum64: 7391537C87161625F1B82E2A8C543533C75152445F22A58C9B26961911477E76

File 'license.txt' is obtained from:
https://www.python.org/download/releases/3.4.0/license/
6 changes: 3 additions & 3 deletions automatic/python3/python3.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"3.6": "3.6.8.20200110",
"3.7": "3.7.9",
"3.8": "3.8.10",
"3.9": "3.9.9",
"3.10": "3.10.1",
"3.11": "3.11.0-a3"
"3.9": "3.9.10",
"3.10": "3.10.2",
"3.11": "3.11.0-a4"
}
2 changes: 1 addition & 1 deletion automatic/python3/python3.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>python3</id>
<version>3.11.0-a3</version>
<version>3.9.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
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ function Install-Python {
$packageArgs = @{
packageName = 'python3'
fileType = 'exe'
file = "$toolsPath\python-3.11.0a3.exe"
file = "$toolsPath\python-3.9.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.11.0a3-amd64.exe"
$packageArgs['file64'] = "$toolsPath\python-3.9.10-amd64.exe"
}
else {
$packageArgs['packageName'] = '32-bit python3'
Expand Down

0 comments on commit fa00aa8

Please sign in to comment.