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:
@@ -89,7 +89,9 @@ foreach($pypyTool in $pypyTools)
|
|||||||
foreach($pypyVersion in $pypyTool.versions)
|
foreach($pypyVersion in $pypyTool.versions)
|
||||||
{
|
{
|
||||||
# Query latest PyPy version
|
# 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
|
$latestMajorPyPyVersion = $pypyVersions | Where-Object {$_.name -match $filter} | Select-Object -First 1
|
||||||
|
|
||||||
if ($latestMajorPyPyVersion)
|
if ($latestMajorPyPyVersion)
|
||||||
|
|||||||
@@ -61,7 +61,6 @@ function Get-PyPyMarkdown
|
|||||||
|
|
||||||
$Content = $ToolInstances | New-MDTable -Columns ([ordered]@{
|
$Content = $ToolInstances | New-MDTable -Columns ([ordered]@{
|
||||||
"Python Version" = "left";
|
"Python Version" = "left";
|
||||||
Architecture = "left";
|
|
||||||
"PyPy Version" = "left"
|
"PyPy Version" = "left"
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
{
|
{
|
||||||
"name": "PyPy",
|
"name": "PyPy",
|
||||||
"arch": "x86",
|
"arch": "x86",
|
||||||
"platform" : "win32",
|
"platform" : "win64",
|
||||||
"versions": [
|
"versions": [
|
||||||
"2.7",
|
"2.7",
|
||||||
"3.6",
|
"3.6",
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
{
|
{
|
||||||
"name": "PyPy",
|
"name": "PyPy",
|
||||||
"arch": "x86",
|
"arch": "x86",
|
||||||
"platform" : "win32",
|
"platform" : "win64",
|
||||||
"versions": [
|
"versions": [
|
||||||
"2.7",
|
"2.7",
|
||||||
"3.6",
|
"3.6",
|
||||||
|
|||||||
Reference in New Issue
Block a user