From 85f0f3f4af76fe241d9d1e85dde6780881974745 Mon Sep 17 00:00:00 2001 From: stonebig Date: Sun, 24 Aug 2025 13:56:15 +0200 Subject: [PATCH] resolve the free problem --- .../github_workflows_build-all_3.14.yml | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/.github/workflows/github_workflows_build-all_3.14.yml b/.github/workflows/github_workflows_build-all_3.14.yml index 13cab7dc..936a6fa0 100644 --- a/.github/workflows/github_workflows_build-all_3.14.yml +++ b/.github/workflows/github_workflows_build-all_3.14.yml @@ -2,6 +2,7 @@ name: Build WinPython Distribution for 3.14 # matrix allows to avoid duplicated code in github_workflows_build-dot, github_workflows_build-whl, github_workflows_build-slim # 2025-08-23a: merged code proposed per Gemini 2.5 flash, it corrected also PYTHONIOENCODING="utf-8" error # 2025-08-23b: moved manually to Python-3.14.0rc2 +# 2025-08-25a: will use manual uploaded free-threading, as astral doesn't provide on: workflow_dispatch: @@ -22,6 +23,19 @@ jobs: SEVEN_Z: "0" EXE: "1" ARTIFACT_NAME: "publish_dotc" + PYTHON_SOURCEF: "https://github.com/astral-sh/python-build-standalone/releases/download/20250818/cpython-3.14.0rc2+20250818-x86_64-pc-windows-msvc-install_only_stripped.tar.gz" >> $GITHUB_ENV + PYTHON_SHA256F: "361a49531a5d4bdc72bbccc81f7b5881b5eb751e3b47683b233cacae5aeeaeed" + + - FLAVOR: "freec" + REQUIREMENTS: "winpython\\portable\\cycle_2025_04\\requir.64-3_14_0_1dotrc2.txt" + REQUIREMENTS_WHL: "" + ZIP: "1" + SEVEN_Z: "0" + EXE: "1" + ARTIFACT_NAME: "publish_dotc" + PYTHON_SOURCEF: "https://github.com/winpython/winpy.github.io/releases/download/20250825/cpython-3.14.0rc2+20250825-x86_64-pc-windows-msvc-freethreaded-install_only_stripped.tar.gz" + PYTHON_SHA256F: "dda491993214ae78948297848aa9d75d1d10762c33ff16487793ca5205516e4a" + steps: @@ -55,8 +69,8 @@ jobs: run: | Write-Output "WINPYVERSION is $env:WINPYVERSION" Write-Output "WINPYFLAVOR is $env:WINPYFLAVOR" - Write-Output "python_source is $env:python_source" - Write-Output "python_sha256 is $env:python_sha256" + Write-Output "python_sourcef is $env:python_sourcef" + Write-Output "python_sha256f is $env:python_sha256f" Write-Output "WINPYrequirements is $env:WINPYrequirements" Write-Output "WINPYrequirementswhl is $env:WINPYrequirementswhl" Write-Output "WINPYZIP is $env:WINPYZIP" @@ -69,10 +83,10 @@ jobs: - name: Download python-3 standalone shell: pwsh run: | - curl.exe -L -o "python-3-embed.tar.gz" $env:python_source + curl.exe -L -o "python-3-embed.tar.gz" $env:python_sourcef # Calculate SHA256 hash $filePath = "python-3-embed.tar.gz" - $expectedHash = $env:python_sha256 + $expectedHash = $env:python_sha256f $hashObject = Get-FileHash -Path $filePath -Algorithm SHA256 $actualHash = $hashObject.Hash.ToLower()