Skip to content

Commit

Permalink
[Ubuntu] Add Python to the Ubuntu 24.04 toolcache
Browse files Browse the repository at this point in the history
  • Loading branch information
erik-bershel committed May 9, 2024
1 parent 7772fec commit cfca188
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 1 addition & 3 deletions images/ubuntu/scripts/docs-gen/Generate-SoftwareReport.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,7 @@ if (-not $(Test-IsUbuntu24)) {
$cachedTools = $installedSoftware.AddHeader("Cached Tools")
$cachedTools.AddToolVersionsList("Go", $(Get-ToolcacheGoVersions), "^\d+\.\d+")
$cachedTools.AddToolVersionsList("Node.js", $(Get-ToolcacheNodeVersions), "^\d+")
if (-not $(Test-IsUbuntu24)) {
$cachedTools.AddToolVersionsList("Python", $(Get-ToolcachePythonVersions), "^\d+\.\d+")
}
$cachedTools.AddToolVersionsList("Python", $(Get-ToolcachePythonVersions), "^\d+\.\d+")
$cachedTools.AddToolVersionsList("PyPy", $(Get-ToolcachePyPyVersions), "^\d+\.\d+")
if (-not $(Test-IsUbuntu24)) {
$cachedTools.AddToolVersionsList("Ruby", $(Get-ToolcacheRubyVersions), "^\d+\.\d+")
Expand Down
7 changes: 6 additions & 1 deletion images/ubuntu/toolsets/toolset-2404.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
"platform" : "linux",
"platform_version": "24.04",
"arch": "x64",
"versions": []
"versions": [
"3.9.*",
"3.10.*",
"3.11.*",
"3.12.*"
]
},
{
"name": "PyPy",
Expand Down

0 comments on commit cfca188

Please sign in to comment.