From 1f5e35e0af348d41ba4500784954b273bab452b3 Mon Sep 17 00:00:00 2001 From: jwaisner Date: Sun, 12 Apr 2026 23:39:33 -0500 Subject: [PATCH 1/2] Add Python 3.13.13 and 3.14.4 with configuration and wheel installation scripts --- bin/python3.13.13/bearsampp.conf | 6 ++++++ bin/python3.13.13/bin/python.bat | 6 ++++++ bin/python3.13.13/wheel/install.bat | 4 ++++ bin/python3.13.13/wheel/wheel.properties | 1 + bin/python3.14.4/bearsampp.conf | 6 ++++++ bin/python3.14.4/bin/python.bat | 6 ++++++ bin/python3.14.4/wheel/install.bat | 4 ++++ bin/python3.14.4/wheel/wheel.properties | 1 + build.properties | 2 +- releases.properties | 3 ++- 10 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 bin/python3.13.13/bearsampp.conf create mode 100644 bin/python3.13.13/bin/python.bat create mode 100644 bin/python3.13.13/wheel/install.bat create mode 100644 bin/python3.13.13/wheel/wheel.properties create mode 100644 bin/python3.14.4/bearsampp.conf create mode 100644 bin/python3.14.4/bin/python.bat create mode 100644 bin/python3.14.4/wheel/install.bat create mode 100644 bin/python3.14.4/wheel/wheel.properties diff --git a/bin/python3.13.13/bearsampp.conf b/bin/python3.13.13/bearsampp.conf new file mode 100644 index 00000000..5363452f --- /dev/null +++ b/bin/python3.13.13/bearsampp.conf @@ -0,0 +1,6 @@ +pythonVersion = "3.13.13" +pythonExe = "bin\python.bat" +pythonCpExe = "WinPython Control Panel.exe" +pythonIdleExe = "IDLE (Python GUI).exe" + +bundleRelease = "@RELEASE_VERSION@" diff --git a/bin/python3.13.13/bin/python.bat b/bin/python3.13.13/bin/python.bat new file mode 100644 index 00000000..484b53bb --- /dev/null +++ b/bin/python3.13.13/bin/python.bat @@ -0,0 +1,6 @@ +@echo off +set WINPYSCRIPTSDIR=%~dp0..\scripts +call "%WINPYSCRIPTSDIR%\env_for_icons.bat" +cd/D "%WINPYWORKDIR%" +rem backward compatibility for python command-line users +"%WINPYDIR%\python.exe" %* diff --git a/bin/python3.13.13/wheel/install.bat b/bin/python3.13.13/wheel/install.bat new file mode 100644 index 00000000..daa8ee28 --- /dev/null +++ b/bin/python3.13.13/wheel/install.bat @@ -0,0 +1,4 @@ +@echo off +set WINPYSCRIPTSDIR=%~dp0..\scripts +call "%WINPYSCRIPTSDIR%\env.bat" +"%WINPYDIR%\Scripts\pip.exe" install pywin32-311-cp313-cp313-win_amd64.whl diff --git a/bin/python3.13.13/wheel/wheel.properties b/bin/python3.13.13/wheel/wheel.properties new file mode 100644 index 00000000..14e7f374 --- /dev/null +++ b/bin/python3.13.13/wheel/wheel.properties @@ -0,0 +1 @@ +wheel = https://github.com/Bearsampp/modules-untouched/releases/download/python-2026.4.12/pywin32-311-cp313-cp313-win_amd64.whl diff --git a/bin/python3.14.4/bearsampp.conf b/bin/python3.14.4/bearsampp.conf new file mode 100644 index 00000000..3cbea698 --- /dev/null +++ b/bin/python3.14.4/bearsampp.conf @@ -0,0 +1,6 @@ +pythonVersion = "3.14.4" +pythonExe = "bin\python.bat" +pythonCpExe = "WinPython Control Panel.exe" +pythonIdleExe = "IDLE (Python GUI).exe" + +bundleRelease = "@RELEASE_VERSION@" diff --git a/bin/python3.14.4/bin/python.bat b/bin/python3.14.4/bin/python.bat new file mode 100644 index 00000000..484b53bb --- /dev/null +++ b/bin/python3.14.4/bin/python.bat @@ -0,0 +1,6 @@ +@echo off +set WINPYSCRIPTSDIR=%~dp0..\scripts +call "%WINPYSCRIPTSDIR%\env_for_icons.bat" +cd/D "%WINPYWORKDIR%" +rem backward compatibility for python command-line users +"%WINPYDIR%\python.exe" %* diff --git a/bin/python3.14.4/wheel/install.bat b/bin/python3.14.4/wheel/install.bat new file mode 100644 index 00000000..6fb51936 --- /dev/null +++ b/bin/python3.14.4/wheel/install.bat @@ -0,0 +1,4 @@ +@echo off +set WINPYSCRIPTSDIR=%~dp0..\scripts +call "%WINPYSCRIPTSDIR%\env.bat" +"%WINPYDIR%\Scripts\pip.exe" install pywin32-311-cp314-cp314-win_amd64.whl diff --git a/bin/python3.14.4/wheel/wheel.properties b/bin/python3.14.4/wheel/wheel.properties new file mode 100644 index 00000000..be2af9c9 --- /dev/null +++ b/bin/python3.14.4/wheel/wheel.properties @@ -0,0 +1 @@ +wheel = https://github.com/Bearsampp/modules-untouched/releases/download/python-2026.4.12/pywin32-311-cp314-cp314-win_amd64.whl diff --git a/build.properties b/build.properties index fe1cd028..25e60351 100644 --- a/build.properties +++ b/build.properties @@ -1,5 +1,5 @@ bundle.name = python -bundle.release = 2025.8.21 +bundle.release = 2026.4.12 bundle.type = tools bundle.format = 7z diff --git a/releases.properties b/releases.properties index 54027c47..4da20a99 100644 --- a/releases.properties +++ b/releases.properties @@ -1,4 +1,5 @@ -3.14.2 = https://github.com/Bearsampp/module-python/releases/download/2026.1.16/bearsampp-python-3.14.2-2026.1.16.7z +3.14.4 = https://github.com/Bearsampp/module-python/releases/download/2026.4.12/bearsampp-python-3.14.4-2026.4.12.7z +3.13.13 = https://github.com/Bearsampp/module-python/releases/download/2026.4.12/bearsampp-python-3.13.13-2026.4.12.7z 3.13.5 = https://github.com/Bearsampp/module-python/releases/download/2025.8.21/bearsampp-python-3.13.5-2025.8.21.7z 3.13.3 = https://github.com/Bearsampp/module-python/releases/download/2025.6.6/bearsampp-python-3.13.3-2025.6.6.7z 3.13.2 = https://github.com/Bearsampp/module-python/releases/download/2025.4.19/bearsampp-python-3.13.2-2025.4.19.7z From beed19abe8db6c20337eaf5231cea26a6e549584 Mon Sep 17 00:00:00 2001 From: Bear Date: Tue, 14 Apr 2026 21:47:39 -0500 Subject: [PATCH 2/2] Fix Python version detection regex to match exact property format in CI workflow 200000 --- .github/workflows/python-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 1e5344c8..7e6a0cfd 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -93,7 +93,7 @@ jobs: # Remove duplicates and verify versions exist in releases.properties VALID_VERSIONS="" for version in $(echo "$DETECTED_VERSIONS" | tr ' ' '\n' | sort -u); do - if [ -n "$version" ] && grep -q "^${version}" releases.properties; then + if [ -n "$version" ] && grep -q "^${version}[[:space:]]*=" releases.properties; then echo " ✅ Version $version confirmed in releases.properties" VALID_VERSIONS="$VALID_VERSIONS $version" HAS_CHANGES="true" @@ -127,7 +127,7 @@ jobs: # Verify these versions exist in releases.properties VALID_VERSIONS="" for version in $TITLE_VERSIONS; do - if grep -q "^${version}" releases.properties; then + if grep -q "^${version}[[:space:]]*=" releases.properties; then echo " ✅ Version $version confirmed in releases.properties" VALID_VERSIONS="$VALID_VERSIONS $version" HAS_CHANGES="true"