8000 align 3.14.0.1 to b3 as we normalize cloud vs classic build · winpython/winpython@c9088b1 · GitHub
[go: up one dir, main page]

Skip to content

Commit c9088b1

Browse files
committed
align 3.14.0.1 to b3 as we normalize cloud vs classic build
1 parent 82f914a commit c9088b1

File tree

5 files changed

+24
-15
lines changed

5 files changed

+24
-15
lines changed

.github/workflows/github_workflows_build-all_3.14.yml

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Build WinPython Distribution for 3.14
33
# 2025-08-23a: merged code proposed per Gemini 2.5 flash, it corrected also PYTHONIOENCODING="utf-8" error
44
# 2025-08-23b: moved manually to Python-3.14.0rc2
55
# 2025-08-25a: will use manual uploaded free-threading, as astral doesn't provide
6+
# 2025-08-25b: move up all parameters
67
on:
78
workflow_dispatch:
89

@@ -17,25 +18,32 @@ jobs:
1718
flavor_config:
1819
# WinPython Dot configuration
1920
- FLAVOR: "dotc"
20-
REQUIREMENTS: "winpython\\portable\\cycle_2025_04\\requir.64-3_14_0_1dotrc2.txt"
21+
REQUIREMENTS: "winpython\\portable\\cycle_2025_04\\requir.64-3_14_0_1dotb3.txt"
2122
REQUIREMENTS_WHL: ""
2223
ZIP: "1"
2324
SEVEN_Z: "0"
2425
EXE: "1"
25-
ARTIFACT_NAME: "publish_dotc"
26+
ARTIFACT_NAME: "publish_314dotc"
2627
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"
2728
python_sha256f: "361a49531a5d4bdc72bbccc81f7b5881b5eb751e3b47683b233cacae5aeeaeed"
29+
WINPYARCH: "64"
30+
WINPYVERSION: "314"
31+
WINPYVER2: "3.14.0.1"
32+
my_release_level: "b3"
33+
build_location: "WPy64-31401b3"
2834

2935
- FLAVOR: "freec"
30-
REQUIREMENTS: "winpython\\portable\\cycle_2025_04\\requir.64-3_14_0_1dotrc2.txt"
36+
REQUIREMENTS: "winpython\\portable\\cycle_2025_04\\requir.64-3_14_0_1dotb3.txt"
3137
REQUIREMENTS_WHL: ""
3238
ZIP: "1"
3339
SEVEN_Z: "0"
3440
EXE: "1"
35-
ARTIFACT_NAME: "publish_freec"
41+
ARTIFACT_NAME: "publish_314freec"
3642
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"
3743
python_sha256f: "dda491993214ae78948297848aa9d75d1d10762c33ff16487793ca5205516e4a"
38-
44+
WINPYVER2: "3.14.0.1"
45+
my_release_level: "b3"
46+
build_location: "WPy64-31401b3"
3947

4048
steps:
4149
- name: Checkout repository
@@ -44,16 +52,15 @@ jobs:
4452
- name: Set static variables and Python version
4553
shell: bash
4654
run: |
47-
echo "WINPYARCH=64" >> $GITHUB_ENV
48-
echo "WINPYVERSION=314" >> $GITHUB_ENV
49-
50-
#3.14.0 as the base for now
51-
# Gemini says: can update this section to dynamically select Python versions based on matrix if needed.
52-
echo "python_source=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
53-
echo "python_sha256=361a49531a5d4bdc72bbccc81f7b5881b5eb751e3b47683b233cacae5aeeaeed" >> $GITHUB_ENV
54-
echo "build_location=WPy64-31401rc2" >> $GITHUB_ENV
55-
echo "WINPYVER=3.14.0.1${{ matrix.flavor_config.FLAVOR }}b3" >> $GITHUB_ENV
56-
echo "WINPYVER2=3.14.0.1" >> $GITHUB_ENV
55+
# Set matrix-specific variables
56+
echo "WINPYARCH=${{ matrix.flavor_config.WINPYARCH }}" >> $GITHUB_ENV
57+
echo "WINPYVERSION=${{ matrix.flavor_config.WINPYVERSION }}" >> $GITHUB_ENV
58+
59+
echo "build_location=${{ matrix.flavor_config.build_location }}" >> $GITHUB_ENV
60+
61+
echo "WINPYVER2=${{ matrix.flavor_config.WINPYVER2 }}" >> $GITHUB_ENV
62+
echo "my_release_level=${{ matrix.flavor_config.my_release_level }}" >> $GITHUB_ENV
63+
echo "WINPYVER=${{ matrix.flavor_config.WINPYVER2 }}${{ matrix.flavor_config.FLAVOR }}${{ matrix.flavor_config.my_release_level }}" >> $GITHUB_ENV
5764
5865
# Set matrix-specific variables
5966
echo "WINPYFLAVOR=${{ matrix.flavor_config.FLAVOR }}" >> $GITHUB_ENV
@@ -179,6 +186,8 @@ jobs:
179186
$destfile_md = "publish_output\WinPython$env:WINPYFLAVOR-$($env:WINPYARCH)bit-$env:WINPYVER2.md"
180187
& "$env:build_location\python\python.exe" -m wppm -md | Out-File -FilePath $destfile_md -Encoding utf8
181188
189+
gc $destfile_md
190+
182191
& "$env:build_location\python\python.exe" -m pip freeze | Out-File -FilePath dotpython\freeze.txt
183192
$destfile_pylock = "publish_output\pylock.$env:WINPYARCH-$($env:WINPYVER -replace '\.', '_').toml"
184193
& "$env:build_location\python\python.exe" -m pip lock --no-deps --find-links=dotpython\wheelhouse -r dotpython\freeze.txt -o $destfile_pylock

winpython/portable/cycle_2025_04/pylock.64-3_14_0_1dotrc2.toml renamed to winpython/portable/cycle_2025_04/pylock.64-3_14_0_1dotb3.toml

File renamed without changes.

winpython/portable/cycle_2025_04/pylock.64-3_14_0_1freerc2.toml renamed to winpython/portable/cycle_2025_04/pylock.64-3_14_0_1freeb3.toml

File renamed without changes.

winpython/portable/cycle_2025_04/requir.64-3_14_0_1dotrc2.txt renamed to winpython/portable/cycle_2025_04/requir.64-3_14_0_1dotb3.txt

File renamed without changes.

winpython/portable/cycle_2025_04/requir.64-3_14_0_1freerc2.txt renamed to winpython/portable/cycle_2025_04/requir.64-3_14_0_1freeb3.txt

File renamed without changes.

0 commit comments

Comments
 (0)
0