Page MenuHomePhabricator

All github action tests with Python 3.13.0b2 fails
Closed, ResolvedPublic

Description

See https://github.com/wikimedia/pywikibot/actions/runs/9448161718/job/26021589005

All github action tests with Python 3.13.0b2 fails whereas 3.13.0.b1 works.

Windows

Version 3.13.0-alpha - 3.13.0 was not found in the local cache
Version 3.13.0-alpha - 3.13.0 is available for downloading
Download from "https://github.com/actions/python-versions/releases/download/3.13.0-beta.2-9442465578/python-3.13.0-beta.2-win32-x64.zip"
Extract downloaded archive
"C:\Program Files\PowerShell\7\pwsh.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command "$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ; try { [System.IO.Compression.ZipFile]::ExtractToDirectory('D:\a\_temp\24b831b0-f404-40cf-9652-6b96f16064d2', 'D:\a\_temp\2986c8ca-9694-4cfc-8c47-c97d32124b31', $true) } catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath 'D:\a\_temp\24b831b0-f404-40cf-9652-6b96f16064d2' -DestinationPath 'D:\a\_temp\2986c8ca-9694-4cfc-8c47-c97d32124b31' -Force } else { throw $_ } } ;"
Exception: Exception calling "ExtractToDirectory" with "3" argument(s): "Offset to Central Directory cannot be held in an Int64."
Error: The process 'C:\Program Files\PowerShell\7\pwsh.exe' failed with exit code 1

Mac OS

Version 3.13.0-alpha - 3.13.0 was not found in the local cache
Version 3.13.0-alpha - 3.13.0 is available for downloading
Download from "https://github.com/actions/python-versions/releases/download/3.13.0-beta.2-9442465578/python-3.13.0-beta.2-darwin-arm64.tar.gz"
Extract downloaded archive
/usr/bin/tar xz -C /Users/runner/work/_temp/e9a42f97-1d09-47cf-a48c-578a5e1e67cf -f /Users/runner/work/_temp/6dd90b83-c2ae-4de0-8702-cc7dd10f9450
tar: Error opening archive: Unrecognized archive format
Error: The process '/usr/bin/tar' failed with exit code 1

Ubuntu

Version 3.13.0-alpha - 3.13.0 was not found in the local cache
Version 3.13.0-alpha - 3.13.0 is available for downloading
Download from "https://github.com/actions/python-versions/releases/download/3.13.0-beta.2-9442465578/python-3.13.0-beta.2-linux-22.04-x64.tar.gz"
Extract downloaded archive
/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/4744bd35-1565-4da8-9bee-cef78cf254aa -f /home/runner/work/_temp/0d4ac175-5527-4cbb-a5a8-d28df2f10db0

gzip: stdin: not in gzip format
/usr/bin/tar: Child returned status 1
/usr/bin/tar: Error is not recoverable: exiting now
Error: The process '/usr/bin/tar' failed with exit code 2

Event Timeline

Xqt triaged this task as High priority.Mon, Jun 10, 1:01 PM
Xqt updated the task description. (Show Details)

Change #1041102 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] [tests] Test with "3.13.0-beta.1" instead of newest beta 2

https://gerrit.wikimedia.org/r/1041102

Change #1041102 merged by Xqt:

[pywikibot/core@master] [tests] Test with "3.13.0-beta.1" instead of newest beta 2

https://gerrit.wikimedia.org/r/1041102

Xqt changed the task status from Open to Stalled.Mon, Jun 10, 1:17 PM
Xqt moved this task from Backlog to Upstream issues on the Pywikibot-tests board.

Stalled until this issue is solved upstream

Change #1041897 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] Revert "[tests] Test with "3.13.0-beta.1" instead of newest beta 2"

https://gerrit.wikimedia.org/r/1041897

Change #1041897 merged by Xqt:

[pywikibot/core@master] Revert "[tests] Test with "3.13.0-beta.1" instead of newest beta 2"

https://gerrit.wikimedia.org/r/1041897