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 Apr 2, 2021
1 parent 42f2a7f commit 2109233
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion automatic/python/python.json
Original file line number Diff line number Diff line change
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.8",
"3.8": "3.8.9",
"3.9": "3.9.2",
"3.10": "3.10.0-a6"
}
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.10.0-a6</version>
<version>3.8.9</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-a6]" />
<dependency id="python3" version="[3.8.9]" />
</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.10.0/python-3.10.0a6.exe
x64: https://www.python.org/ftp/python/3.10.0/python-3.10.0a6-amd64.exe
x32: https://www.python.org/ftp/python/3.8.9/python-3.8.9.exe
x64: https://www.python.org/ftp/python/3.8.9/python-3.8.9-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: 1DD0DAD9D9D6C8FB7228DD64C482CA197914D1246F0CE7B9839B4F470F84EC46
checksum64: 64A263C92159EDE7A3E26DA891C705232A68C689D1F4A28212FD5EDC693B2628
checksum32: 58B8520748B3EF6C3E57F9AFF3AA71759652B4DC578E087649E02EB944AE311F
checksum64: C877C9B0CA25E910EE41780C90690D1E7045128783A26E8173ECEB298B165144

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
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"3.5": "3.5.4.20200110",
"3.6": "3.6.8-rc1",
"3.7": "3.7.9",
"3.8": "3.8.8",
"3.8": "3.8.9",
"3.9": "3.9.2",
"3.10": "3.10.0-a6"
}
3 changes: 2 additions & 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.10.0-a6</version>
<version>3.8.9</version>
<title>Python 3.x</title>
<owners>chocolatey-community</owners>
<authors>Python Software Foundation</authors>
Expand All @@ -23,6 +23,7 @@ Example: `choco install python3 --params "/InstallDir:C:\your\install\path"`
- Python package manager `pip` is installed by default, but you can also invoke it using command `py -m pip` which will use `pip3` and adequate version of python if you also have python2 installed and/or pip2 on the `PATH`. For more details see [Python on Windows FAQ](https://docs.python.org/3/faq/windows.html).
- For complete list of silent install options see the [Installing Without UI](https://docs.python.org/3/using/windows.html#installing-without-ui) page.
- Some packages require working C++ SDK to build C-based Python modules. One way to do so is to install [visualstudio2019-workload-vctools](https://chocolatey.org/packages/visualstudio2019-workload-vctools). See [GitHub issue #1518](https://github.com/chocolatey-community/chocolatey-coreteampackages/issues/1518) for more details.
]]></description>
<summary>Python 3.x is a programming language that lets you work more quickly and integrate your systems more effectively. You can learn to use Python 3.x and see almost immediate gains in productivity and lower maintenance costs.</summary>
<tags>python programming development foss cross-platform admin</tags>
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.10.0a6.exe"
file = "$toolsPath\python-3.8.9.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.0a6-amd64.exe"
$packageArgs['file64'] = "$toolsPath\python-3.8.9-amd64.exe"
}
else {
$packageArgs['packageName'] = '32-bit python3'
Expand Down

0 comments on commit 2109233

Please sign in to comment.