Update PyPy to 7.3.4 on Windows (change platform format) (#3189)

* Update PyPy to 7.3.4 on Windows (change platform format)

* Update SoftwareReport.CachedTools.psm1

* Update Install-PyPy.ps1

* Update SoftwareReport.CachedTools.psm1
This commit is contained in:
Maxim Lobanov
2021-04-19 10:15:26 +03:00
committed by GitHub
parent 4a2e5bca16
commit 5657dde4a0
4 changed files with 5 additions and 4 deletions

View File

@@ -89,7 +89,9 @@ foreach($pypyTool in $pypyTools)
foreach($pypyVersion in $pypyTool.versions)
{
# Query latest PyPy version
$filter = '{0}{1}-v\d+\.\d+\.\d+-{2}.zip' -f $pypyTool.name, $pypyVersion, $pypyTool.platform
# PyPy 3.6 is not updated anymore and win32 should be used
$platform = if ($pypyVersion -like "3.6*") { "win32" } else { $pypyTool.platform }
$filter = '{0}{1}-v\d+\.\d+\.\d+-{2}.zip' -f $pypyTool.name, $pypyVersion, $platform
$latestMajorPyPyVersion = $pypyVersions | Where-Object {$_.name -match $filter} | Select-Object -First 1
if ($latestMajorPyPyVersion)

View File

@@ -61,7 +61,6 @@ function Get-PyPyMarkdown
$Content = $ToolInstances | New-MDTable -Columns ([ordered]@{
"Python Version" = "left";
Architecture = "left";
"PyPy Version" = "left"
})

View File

@@ -45,7 +45,7 @@
{
"name": "PyPy",
"arch": "x86",
"platform" : "win32",
"platform" : "win64",
"versions": [
"2.7",
"3.6",

View File

@@ -45,7 +45,7 @@
{
"name": "PyPy",
"arch": "x86",
"platform" : "win32",
"platform" : "win64",
"versions": [
"2.7",
"3.6",