From 7eefc57f57bc651627547e5f189f65ef1a9b19fd Mon Sep 17 00:00:00 2001 From: Mark Harfouche Date: Thu, 22 Jan 2026 17:56:11 -0500 Subject: [PATCH 01/41] Fix clash between folders in lib and usable libraries xref: https://github.com/conda-forge/rdma-core-feedstock/issues/36 Backports: - [ ] 3.13 - [ ] 3.12 ---------------------- I really loose motivation below this line - [ ] 3.11 - [ ] 3.10 --- recipe/meta.yaml | 2 +- ...x-find_library-so-that-it-looks-in-sys.prefix-lib-.patch | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 1b26b7a0..17b8d6e7 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -4,7 +4,7 @@ {% set ver2 = '.'.join(version.split('.')[0:2]) %} {% set ver2nd = ''.join(version.split('.')[0:2]) %} {% set ver3nd = ''.join(version.split('.')[0:3]) %} -{% set build_number = 0 %} +{% set build_number = 1 %} # this makes the linter happy {% set channel_targets = channel_targets or 'conda-forge main' %} diff --git a/recipe/patches/0003-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch b/recipe/patches/0003-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch index 626e4df2..12c71f9c 100644 --- a/recipe/patches/0003-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch +++ b/recipe/patches/0003-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch @@ -1,4 +1,4 @@ -From 2e9e95c2e3aa8d212a302de52f19d129c5068d57 Mon Sep 17 00:00:00 2001 +From 72e412d8563cb7e0844e814b16d6fd9aa83d476b Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Tue, 5 Dec 2017 22:47:59 +0000 Subject: [PATCH 03/26] Fix find_library so that it looks in sys.prefix/lib @@ -25,7 +25,7 @@ index 583c47daff3..ab9b01c87e2 100644 yield os.path.join(executable_path, name[len('@executable_path/'):]) diff --git a/Lib/ctypes/util.py b/Lib/ctypes/util.py -index 378f12167c6..bf45580ab9f 100644 +index 378f12167c6..a0e4060721a 100644 --- a/Lib/ctypes/util.py +++ b/Lib/ctypes/util.py @@ -129,7 +129,8 @@ def dllist(): @@ -47,7 +47,7 @@ index 378f12167c6..bf45580ab9f 100644 + return None + for fullname in (name, "lib%s.so" % (name)): + path = os.path.join(sys.prefix, 'lib', fullname) -+ if os.path.exists(path): ++ if os.path.exists(path) and not os.path.isdir(path): + return path + return None + From bb209e6a46d180c0f9f200c1858e444edc8d0df3 Mon Sep 17 00:00:00 2001 From: regro-cf-autotick-bot <36490558+regro-cf-autotick-bot@users.noreply.github.com> Date: Tue, 3 Feb 2026 20:53:56 +0000 Subject: [PATCH 02/41] updated v3.14.3 --- recipe/meta.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 17b8d6e7..b12fa10f 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,10 +1,10 @@ -{% set version = "3.14.2" %} +{% set version = "3.14.3" %} {% set dev = "" %} {% set dev_ = "" %} {% set ver2 = '.'.join(version.split('.')[0:2]) %} {% set ver2nd = ''.join(version.split('.')[0:2]) %} {% set ver3nd = ''.join(version.split('.')[0:3]) %} -{% set build_number = 1 %} +{% set build_number = 0 %} # this makes the linter happy {% set channel_targets = channel_targets or 'conda-forge main' %} @@ -46,7 +46,7 @@ package: source: - url: https://www.python.org/ftp/python/{{ version }}/Python-{{ version }}{{ dev }}.tar.xz # md5 from: https://www.python.org/downloads/release/python-{{ ver3nd }}{{ dev }}/ - md5: 19a31b2838db3b53f9f2db8782bf8773 + md5: ef513dcb836d219ae0e2b16ac9c87d0f patches: - patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch - patches/0002-Win32-Do-not-download-externals.patch From 644f47da6b828e016950e607ee13732d216c6e60 Mon Sep 17 00:00:00 2001 From: regro-cf-autotick-bot <36490558+regro-cf-autotick-bot@users.noreply.github.com> Date: Tue, 3 Feb 2026 20:54:57 +0000 Subject: [PATCH 03/41] MNT: Re-rendered with conda-smithy 3.54.2 and conda-forge-pinning 2026.02.02.11.22.0 --- .scripts/run_osx_build.sh | 19 +++++++++++++++++++ azure-pipelines.yml | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/.scripts/run_osx_build.sh b/.scripts/run_osx_build.sh index 361edeb2..bac7141a 100755 --- a/.scripts/run_osx_build.sh +++ b/.scripts/run_osx_build.sh @@ -63,6 +63,25 @@ if [[ "${sha:-}" == "" ]]; then sha=$(git rev-parse HEAD) fi +if [[ "${OSX_SDK_DIR:-}" == "" ]]; then + if [[ "${CI:-}" == "" ]]; then + echo "Please set OSX_SDK_DIR to a directory where SDKs can be downloaded to. Aborting" + exit 1 + else + export OSX_SDK_DIR=/opt/conda-sdks + /usr/bin/sudo mkdir -p "${OSX_SDK_DIR}" + /usr/bin/sudo chown "${USER}" "${OSX_SDK_DIR}" + fi +else + if tmpf=$(mktemp -p "$OSX_SDK_DIR" tmp.XXXXXXXX 2>/dev/null); then + rm -f "$tmpf" + echo "OSX_SDK_DIR is writeable without sudo, continuing" + else + echo "User-provided OSX_SDK_DIR is not writeable for current user! Aborting" + exit 1 + fi +fi + echo -e "\n\nRunning the build setup script." source run_conda_forge_build_setup diff --git a/azure-pipelines.yml b/azure-pipelines.yml index eff4ad66..438c19be 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,7 +7,7 @@ stages: jobs: - job: Skip pool: - vmImage: 'ubuntu-22.04' + vmImage: 'ubuntu-latest' variables: DECODE_PERCENTS: 'false' RET: 'true' From 3fcc1771bd6ee368e250037f644bd890587c88f5 Mon Sep 17 00:00:00 2001 From: Jonathan Helmus Date: Tue, 3 Feb 2026 17:55:36 -0600 Subject: [PATCH 04/41] enable PGO on Windows --- recipe/build_base.bat | 3 --- 1 file changed, 3 deletions(-) diff --git a/recipe/build_base.bat b/recipe/build_base.bat index 59471bca..708fe390 100644 --- a/recipe/build_base.bat +++ b/recipe/build_base.bat @@ -54,9 +54,6 @@ if "%PY_FREETHREADING%" == "yes" ( set "EXE_T=" ) -:: AP doesn't support PGO atm? -set PGO= - cd PCbuild :: Twice because: From 34650f748556c717f666f9d8776a23c2fee0eca1 Mon Sep 17 00:00:00 2001 From: Jonathan Helmus Date: Tue, 3 Feb 2026 17:55:47 -0600 Subject: [PATCH 05/41] bump build number --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 17b8d6e7..40d3c848 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -4,7 +4,7 @@ {% set ver2 = '.'.join(version.split('.')[0:2]) %} {% set ver2nd = ''.join(version.split('.')[0:2]) %} {% set ver3nd = ''.join(version.split('.')[0:3]) %} -{% set build_number = 1 %} +{% set build_number = 2 %} # this makes the linter happy {% set channel_targets = channel_targets or 'conda-forge main' %} From d4f2a013ad06c8bf5bc6f990f49c139f4fdc0012 Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Date: Wed, 4 Feb 2026 00:02:16 +0000 Subject: [PATCH 06/41] MNT: Re-rendered with conda-smithy 3.54.2 and conda-forge-pinning 2026.02.02.11.22.0 --- .scripts/run_osx_build.sh | 19 +++++++++++++++++++ azure-pipelines.yml | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/.scripts/run_osx_build.sh b/.scripts/run_osx_build.sh index 361edeb2..bac7141a 100755 --- a/.scripts/run_osx_build.sh +++ b/.scripts/run_osx_build.sh @@ -63,6 +63,25 @@ if [[ "${sha:-}" == "" ]]; then sha=$(git rev-parse HEAD) fi +if [[ "${OSX_SDK_DIR:-}" == "" ]]; then + if [[ "${CI:-}" == "" ]]; then + echo "Please set OSX_SDK_DIR to a directory where SDKs can be downloaded to. Aborting" + exit 1 + else + export OSX_SDK_DIR=/opt/conda-sdks + /usr/bin/sudo mkdir -p "${OSX_SDK_DIR}" + /usr/bin/sudo chown "${USER}" "${OSX_SDK_DIR}" + fi +else + if tmpf=$(mktemp -p "$OSX_SDK_DIR" tmp.XXXXXXXX 2>/dev/null); then + rm -f "$tmpf" + echo "OSX_SDK_DIR is writeable without sudo, continuing" + else + echo "User-provided OSX_SDK_DIR is not writeable for current user! Aborting" + exit 1 + fi +fi + echo -e "\n\nRunning the build setup script." source run_conda_forge_build_setup diff --git a/azure-pipelines.yml b/azure-pipelines.yml index eff4ad66..438c19be 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -7,7 +7,7 @@ stages: jobs: - job: Skip pool: - vmImage: 'ubuntu-22.04' + vmImage: 'ubuntu-latest' variables: DECODE_PERCENTS: 'false' RET: 'true' From 999eb817e0d8200d1863676d5e113fd007a84998 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Wed, 4 Feb 2026 16:34:47 +1100 Subject: [PATCH 07/41] switch to sha256, following upstream release pages --- recipe/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index b12fa10f..0f5a8dd6 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -45,8 +45,8 @@ package: source: - url: https://www.python.org/ftp/python/{{ version }}/Python-{{ version }}{{ dev }}.tar.xz - # md5 from: https://www.python.org/downloads/release/python-{{ ver3nd }}{{ dev }}/ - md5: ef513dcb836d219ae0e2b16ac9c87d0f + # sha256 from: https://www.python.org/downloads/release/python-{{ ver3nd }}{{ dev }}/ + sha256: a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b patches: - patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch - patches/0002-Win32-Do-not-download-externals.patch From 2a160f8da69aceac4222e6ca303749ecb91cc3da Mon Sep 17 00:00:00 2001 From: regro-cf-autotick-bot <36490558+regro-cf-autotick-bot@users.noreply.github.com> Date: Tue, 27 Jan 2026 00:57:43 +0000 Subject: [PATCH 08/41] migration: supportwindowsarm64platform --- conda-forge.yml | 1 + recipe/meta.yaml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/conda-forge.yml b/conda-forge.yml index a16962d8..ab94597a 100644 --- a/conda-forge.yml +++ b/conda-forge.yml @@ -9,6 +9,7 @@ build_platform: linux_aarch64: linux_64 linux_ppc64le: linux_64 osx_arm64: osx_64 + win_arm64: win_64 conda_build: pkg_format: '2' conda_forge_output_validation: true diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 0f5a8dd6..2a0e07a6 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -86,6 +86,8 @@ build: requirements: build: + - python # [build_platform != target_platform] + - cross-python_{{ target_platform }} # [build_platform != target_platform] - patch # [not win] - m2-patch # [win] - m2-gcc-libs # [win] From 07003d1b24c43508bb9153bbca08fbb5b3d9fa98 Mon Sep 17 00:00:00 2001 From: regro-cf-autotick-bot <36490558+regro-cf-autotick-bot@users.noreply.github.com> Date: Tue, 27 Jan 2026 00:59:37 +0000 Subject: [PATCH 09/41] MNT: Re-rendered with conda-smithy 3.54.1 and conda-forge-pinning 2026.01.26.23.17.1 --- .azure-pipelines/azure-pipelines-win.yml | 6 +++ .ci_support/win_arm64_freethreadingno.yaml | 43 +++++++++++++++++++++ .ci_support/win_arm64_freethreadingyes.yaml | 43 +++++++++++++++++++++ README.md | 14 +++++++ 4 files changed, 106 insertions(+) create mode 100644 .ci_support/win_arm64_freethreadingno.yaml create mode 100644 .ci_support/win_arm64_freethreadingyes.yaml diff --git a/.azure-pipelines/azure-pipelines-win.yml b/.azure-pipelines/azure-pipelines-win.yml index d5d5b998..90c44503 100755 --- a/.azure-pipelines/azure-pipelines-win.yml +++ b/.azure-pipelines/azure-pipelines-win.yml @@ -14,6 +14,12 @@ jobs: win_64_freethreadingyes: CONFIG: win_64_freethreadingyes UPLOAD_PACKAGES: 'True' + win_arm64_freethreadingno: + CONFIG: win_arm64_freethreadingno + UPLOAD_PACKAGES: 'True' + win_arm64_freethreadingyes: + CONFIG: win_arm64_freethreadingyes + UPLOAD_PACKAGES: 'True' timeoutInMinutes: 360 variables: CONDA_BLD_PATH: D:\\bld\\ diff --git a/.ci_support/win_arm64_freethreadingno.yaml b/.ci_support/win_arm64_freethreadingno.yaml new file mode 100644 index 00000000..0ce25317 --- /dev/null +++ b/.ci_support/win_arm64_freethreadingno.yaml @@ -0,0 +1,43 @@ +build_type: +- release +bzip2: +- '1' +c_compiler: +- vs2022 +c_stdlib: +- vs +channel_sources: +- conda-forge/label/python_rc,conda-forge +channel_targets: +- conda-forge main +cxx_compiler: +- vs2022 +expat: +- '2' +freethreading: +- 'no' +libffi: +- '3.5' +liblzma_devel: +- '5' +libsqlite: +- '3' +openssl: +- '3.5' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- '3.14' +target_platform: +- win-arm64 +tk: +- '8.6' +zip_keys: +- - build_type + - channel_targets +zlib: +- '1' +zstd: +- '1.5' diff --git a/.ci_support/win_arm64_freethreadingyes.yaml b/.ci_support/win_arm64_freethreadingyes.yaml new file mode 100644 index 00000000..e82aad0a --- /dev/null +++ b/.ci_support/win_arm64_freethreadingyes.yaml @@ -0,0 +1,43 @@ +build_type: +- release +bzip2: +- '1' +c_compiler: +- vs2022 +c_stdlib: +- vs +channel_sources: +- conda-forge/label/python_rc,conda-forge +channel_targets: +- conda-forge main +cxx_compiler: +- vs2022 +expat: +- '2' +freethreading: +- 'yes' +libffi: +- '3.5' +liblzma_devel: +- '5' +libsqlite: +- '3' +openssl: +- '3.5' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- '3.14' +target_platform: +- win-arm64 +tk: +- '8.6' +zip_keys: +- - build_type + - channel_targets +zlib: +- '1' +zstd: +- '1.5' diff --git a/README.md b/README.md index 78eed68b..84b4babd 100644 --- a/README.md +++ b/README.md @@ -212,6 +212,20 @@ Current build status variant + + win_arm64_freethreadingno + + + variant + + + + win_arm64_freethreadingyes + + + variant + + From b37715d006a9db26d5a79d384c3d1a08fc3108bb Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Mon, 26 Jan 2026 17:09:02 -0800 Subject: [PATCH 10/41] Remove Python requirements for cross-platform builds Removed unnecessary Python requirements for cross-platform builds. --- recipe/meta.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 2a0e07a6..0f5a8dd6 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -86,8 +86,6 @@ build: requirements: build: - - python # [build_platform != target_platform] - - cross-python_{{ target_platform }} # [build_platform != target_platform] - patch # [not win] - m2-patch # [win] - m2-gcc-libs # [win] From 4e80f1f37bf0f377dadd735f940477b57d18817a Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Mon, 26 Jan 2026 17:32:16 -0800 Subject: [PATCH 11/41] Fix platform and build_path --- recipe/build_base.bat | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/recipe/build_base.bat b/recipe/build_base.bat index 708fe390..b977a266 100644 --- a/recipe/build_base.bat +++ b/recipe/build_base.bat @@ -2,15 +2,18 @@ setlocal EnableDelayedExpansion echo on :: Compile python, extensions and external libraries -if "%ARCH%"=="64" ( +if "%target_platform%"=="win-64" ( set PLATFORM=x64 - set VC_PATH=x64 set BUILD_PATH=amd64 -) else ( +) +if "%target_platform%"=="win-32" ( set PLATFORM=Win32 - set VC_PATH=x86 set BUILD_PATH=win32 ) +if "%target_platform%"=="win-arm64" ( + set PLATFORM=ARM64 + set BUILD_PATH=arm64 +) for /F "tokens=1,2 delims=." %%i in ("%PKG_VERSION%") do ( set "VERNODOTS=%%i%%j" From 9898dd42bd1277185070bf78535c3115a24dc3d5 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Tue, 27 Jan 2026 19:44:39 -0800 Subject: [PATCH 12/41] refactor variables --- recipe/build_base.bat | 67 ++++++++++++++++++++++++++----------------- 1 file changed, 40 insertions(+), 27 deletions(-) diff --git a/recipe/build_base.bat b/recipe/build_base.bat index b977a266..949ac993 100644 --- a/recipe/build_base.bat +++ b/recipe/build_base.bat @@ -3,16 +3,29 @@ echo on :: Compile python, extensions and external libraries if "%target_platform%"=="win-64" ( - set PLATFORM=x64 - set BUILD_PATH=amd64 + set HOST_PLATFORM=x64 + set HOST_DIR=amd64 ) if "%target_platform%"=="win-32" ( - set PLATFORM=Win32 - set BUILD_PATH=win32 + set HOST_PLATFORM=Win32 + set HOST_DIR=win32 ) if "%target_platform%"=="win-arm64" ( - set PLATFORM=ARM64 - set BUILD_PATH=arm64 + set HOST_PLATFORM=ARM64 + set HOST_DIR=arm64 +) + +if "%build_platform%"=="win-64" ( + set BUILD_PLATFORM=x64 + set BUILD_DIR=amd64 +) +if "%build_platform%"=="win-32" ( + set BUILD_PLATFORM=Win32 + set BUILD_DIR=win32 +) +if "%build_platform%"=="win-arm64" ( + set BUILD_PLATFORM=ARM64 + set BUILD_DIR=arm64 ) for /F "tokens=1,2 delims=." %%i in ("%PKG_VERSION%") do ( @@ -61,25 +74,25 @@ cd PCbuild :: Twice because: :: error : importlib_zipimport.h updated. You will need to rebuild pythoncore to see the changes. -call build.bat %PGO% %CONFIG% %FREETHREADING% -m -e -v -p %PLATFORM% -call build.bat %PGO% %CONFIG% %FREETHREADING% -m -e -v -p %PLATFORM% +call build.bat %PGO% %CONFIG% %FREETHREADING% -m -e -v -p %HOST_PLATFORM% +call build.bat %PGO% %CONFIG% %FREETHREADING% -m -e -v -p %HOST_PLATFORM% if errorlevel 1 exit 1 cd .. :: Populate the root package directory for %%x in (python%VERNODOTS%%THREAD%%_D%.dll python3%THREAD%%_D%.dll python%EXE_T%%_D%.exe pythonw%EXE_T%%_D%.exe) do ( - if exist %SRC_DIR%\PCbuild\%BUILD_PATH%\%%x ( - copy /Y %SRC_DIR%\PCbuild\%BUILD_PATH%\%%x %PREFIX% + if exist %SRC_DIR%\PCbuild\%HOST_DIR%\%%x ( + copy /Y %SRC_DIR%\PCbuild\%HOST_DIR%\%%x %PREFIX% ) else ( - echo "WARNING :: %SRC_DIR%\PCbuild\%BUILD_PATH%\%%x does not exist" + echo "WARNING :: %SRC_DIR%\PCbuild\%HOST_DIR%\%%x does not exist" ) ) for %%x in (python%THREAD%%_D%.pdb python%VERNODOTS%%THREAD%%_D%.pdb pythonw%THREAD%%_D%.pdb) do ( - if exist %SRC_DIR%\PCbuild\%BUILD_PATH%\%%x ( - copy /Y %SRC_DIR%\PCbuild\%BUILD_PATH%\%%x %PREFIX% + if exist %SRC_DIR%\PCbuild\%HOST_DIR%\%%x ( + copy /Y %SRC_DIR%\PCbuild\%HOST_DIR%\%%x %PREFIX% ) else ( - echo "WARNING :: %SRC_DIR%\PCbuild\%BUILD_PATH%\%%x does not exist" + echo "WARNING :: %SRC_DIR%\PCbuild\%HOST_DIR%\%%x does not exist" ) ) @@ -90,7 +103,7 @@ if errorlevel 1 exit 1 :: Populate the DLLs directory mkdir %PREFIX%\DLLs -xcopy /s /y %SRC_DIR%\PCBuild\%BUILD_PATH%\*.pyd %PREFIX%\DLLs\ +xcopy /s /y %SRC_DIR%\PCBuild\%HOST_DIR%\*.pyd %PREFIX%\DLLs\ if errorlevel 1 exit 1 copy /Y %SRC_DIR%\PC\icons\py.ico %PREFIX%\DLLs\ @@ -132,12 +145,12 @@ for %%x in (idle pydoc) do ( :: Populate the libs directory if not exist %PREFIX%\libs mkdir %PREFIX%\libs -dir %SRC_DIR%\PCbuild\%BUILD_PATH%\ -if exist %SRC_DIR%\PCbuild\%BUILD_PATH%\python%VERNODOTS%%THREAD%%_D%.lib copy /Y %SRC_DIR%\PCbuild\%BUILD_PATH%\python%VERNODOTS%%THREAD%%_D%.lib %PREFIX%\libs\ +dir %SRC_DIR%\PCbuild\%HOST_DIR%\ +if exist %SRC_DIR%\PCbuild\%HOST_DIR%\python%VERNODOTS%%THREAD%%_D%.lib copy /Y %SRC_DIR%\PCbuild\%HOST_DIR%\python%VERNODOTS%%THREAD%%_D%.lib %PREFIX%\libs\ if errorlevel 1 exit 1 -if exist %SRC_DIR%\PCbuild\%BUILD_PATH%\python3%THREAD%%_D%.lib copy /Y %SRC_DIR%\PCbuild\%BUILD_PATH%\python3%THREAD%%_D%.lib %PREFIX%\libs\ +if exist %SRC_DIR%\PCbuild\%HOST_DIR%\python3%THREAD%%_D%.lib copy /Y %SRC_DIR%\PCbuild\%HOST_DIR%\python3%THREAD%%_D%.lib %PREFIX%\libs\ if errorlevel 1 exit 1 -if exist %SRC_DIR%\PCbuild\%BUILD_PATH%\_tkinter%THREAD%%_D%.lib copy /Y %SRC_DIR%\PCbuild\%BUILD_PATH%\_tkinter%THREAD%%_D%.lib %PREFIX%\libs\ +if exist %SRC_DIR%\PCbuild\%HOST_DIR%\_tkinter%THREAD%%_D%.lib copy /Y %SRC_DIR%\PCbuild\%HOST_DIR%\_tkinter%THREAD%%_D%.lib %PREFIX%\libs\ if errorlevel 1 exit 1 @@ -148,20 +161,20 @@ if errorlevel 1 exit 1 :: Copy venv[w]launcher scripts to venv\srcipts\nt :: See https://github.com/python/cpython/blob/b4a316087c32d83e375087fd35fc511bc430ee8b/Lib/venv/__init__.py#L334-L376 -if exist %SRC_DIR%\PCbuild\%BUILD_PATH%\venvlauncher%THREAD%%_D%.exe ( +if exist %SRC_DIR%\PCbuild\%HOST_DIR%\venvlauncher%THREAD%%_D%.exe ( @rem We did copy pythonw.exe until 3.12 but starting with 3.13 we seem to need the latter. Should we omit the first? - copy /Y %SRC_DIR%\PCbuild\%BUILD_PATH%\venvlauncher%THREAD%%_D%.exe %PREFIX%\Lib\venv\scripts\nt\python.exe - copy /Y %SRC_DIR%\PCbuild\%BUILD_PATH%\venvlauncher%THREAD%%_D%.exe %PREFIX%\Lib\venv\scripts\nt\venvlauncher%THREAD%%_D%.exe + copy /Y %SRC_DIR%\PCbuild\%HOST_DIR%\venvlauncher%THREAD%%_D%.exe %PREFIX%\Lib\venv\scripts\nt\python.exe + copy /Y %SRC_DIR%\PCbuild\%HOST_DIR%\venvlauncher%THREAD%%_D%.exe %PREFIX%\Lib\venv\scripts\nt\venvlauncher%THREAD%%_D%.exe ) else ( - echo "WARNING :: %SRC_DIR%\PCbuild\%BUILD_PATH%\venvlauncher%THREAD%%_D%.exe does not exist" + echo "WARNING :: %SRC_DIR%\PCbuild\%HOST_DIR%\venvlauncher%THREAD%%_D%.exe does not exist" ) -if exist %SRC_DIR%\PCbuild\%BUILD_PATH%\venvwlauncher%THREAD%%_D%.exe ( +if exist %SRC_DIR%\PCbuild\%HOST_DIR%\venvwlauncher%THREAD%%_D%.exe ( @rem We did copy pythonw.exe until 3.12 but starting with 3.13 we seem to need the latter. Should we omit the first? - copy /Y %SRC_DIR%\PCbuild\%BUILD_PATH%\venvwlauncher%THREAD%%_D%.exe %PREFIX%\Lib\venv\scripts\nt\pythonw.exe - copy /Y %SRC_DIR%\PCbuild\%BUILD_PATH%\venvwlauncher%THREAD%%_D%.exe %PREFIX%\Lib\venv\scripts\nt\venvwlauncher%THREAD%%_D%.exe + copy /Y %SRC_DIR%\PCbuild\%HOST_DIR%\venvwlauncher%THREAD%%_D%.exe %PREFIX%\Lib\venv\scripts\nt\pythonw.exe + copy /Y %SRC_DIR%\PCbuild\%HOST_DIR%\venvwlauncher%THREAD%%_D%.exe %PREFIX%\Lib\venv\scripts\nt\venvwlauncher%THREAD%%_D%.exe ) else ( - echo "WARNING :: %SRC_DIR%\PCbuild\%BUILD_PATH%\venvwlauncher%THREAD%%_D%.exe does not exist" + echo "WARNING :: %SRC_DIR%\PCbuild\%HOST_DIR%\venvwlauncher%THREAD%%_D%.exe does not exist" ) :: Remove test data to save space. From eaf09000abf250f0c05addab70c5aa6bdb3180e1 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Thu, 5 Feb 2026 08:11:55 -0800 Subject: [PATCH 13/41] build interpreter for build platform --- recipe/build_base.bat | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/recipe/build_base.bat b/recipe/build_base.bat index 949ac993..565fa6c2 100644 --- a/recipe/build_base.bat +++ b/recipe/build_base.bat @@ -72,6 +72,13 @@ if "%PY_FREETHREADING%" == "yes" ( cd PCbuild +setlocal EnableDelayedExpansion +if "%CONDA_BUILD_CROSS_COMPILATION%" == "1" ( + REM build for the build platform. LIBRARY_PREFIX is used by the patches + set LIBRARY_PREFIX=%BUILD_PREFIX%\\Library + call build.bat %PGO% %CONFIG% %FREETHREADING% -m -e -v -p %BUILD_PLATFORM% +) +endlocal :: Twice because: :: error : importlib_zipimport.h updated. You will need to rebuild pythoncore to see the changes. call build.bat %PGO% %CONFIG% %FREETHREADING% -m -e -v -p %HOST_PLATFORM% From b3e8319db8931ae4744fb9d6bbd1670a6b7cfa6b Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Thu, 5 Feb 2026 08:24:26 -0800 Subject: [PATCH 14/41] remove quick tests --- recipe/build_base.bat | 41 ++++++++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 17 deletions(-) diff --git a/recipe/build_base.bat b/recipe/build_base.bat index 565fa6c2..067047a8 100644 --- a/recipe/build_base.bat +++ b/recipe/build_base.bat @@ -201,30 +201,37 @@ if errorlevel 1 exit 1 if "%_D%" neq "" copy %PREFIX%\python%_D%.exe %PREFIX%\python.exe if "%EXE_T%" neq "" copy %PREFIX%\python%EXE_T%.exe %PREFIX%\python.exe +if "%CONDA_BUILD_CROSS_COMPILATION%" == "1" ( + set "PYTHON=%SRC_DIR%\PCbuild\%BUILD_DIR%\\python%EXE_T%%_D%.exe" +) else ( + set "PYTHON=%PREFIX%\python.exe" +) :: bytecode compile the standard library -%PREFIX%\python.exe -Wi %PREFIX%\Lib\compileall.py -f -q -x "bad_coding|badsyntax|py2_" %PREFIX%\Lib +%PYTHON% -Wi %PREFIX%\Lib\compileall.py -f -q -x "bad_coding|badsyntax|py2_" %PREFIX%\Lib if errorlevel 1 exit 1 :: Ensure that scripts are generated :: https://github.com/conda-forge/python-feedstock/issues/384 -%PREFIX%\python.exe %RECIPE_DIR%\fix_staged_scripts.py +%PYTHON% %RECIPE_DIR%\fix_staged_scripts.py if errorlevel 1 exit 1 -:: Some quick tests for common failures -echo "Testing print() does not print: Hello" -%PREFIX%\python.exe -c "print()" 2>&1 | findstr /r /c:"Hello" -if %errorlevel% neq 1 exit /b 1 +if NOT "%CONDA_BUILD_CROSS_COMPILATION%" == "1" ( + REM Some quick tests for common failures + echo "Testing print() does not print: Hello" + %PREFIX%\python.exe -c "print()" 2>&1 | findstr /r /c:"Hello" + if %errorlevel% neq 1 exit /b 1 -echo "Testing print('Hello') prints: Hello" -%PREFIX%\python.exe -c "print('Hello')" 2>&1 | findstr /r /c:"Hello" -if %errorlevel% neq 0 exit /b 1 + echo "Testing print('Hello') prints: Hello" + %PREFIX%\python.exe -c "print('Hello')" 2>&1 | findstr /r /c:"Hello" + if %errorlevel% neq 0 exit /b 1 -echo "Testing import of os (no DLL needed) does not print: The specified module could not be found" -%PREFIX%\python.exe -v -c "import os" 2>&1 -%PREFIX%\python.exe -v -c "import os" 2>&1 | findstr /r /c:"The specified module could not be found" -if %errorlevel% neq 1 exit /b 1 + echo "Testing import of os (no DLL needed) does not print: The specified module could not be found" + %PREFIX%\python.exe -v -c "import os" 2>&1 + %PREFIX%\python.exe -v -c "import os" 2>&1 | findstr /r /c:"The specified module could not be found" + if %errorlevel% neq 1 exit /b 1 -echo "Testing import of _sqlite3 (DLL located via PATH needed) does not print: The specified module could not be found" -%PREFIX%\python.exe -v -c "import _sqlite3" 2>&1 -%PREFIX%\python.exe -v -c "import _sqlite3" 2>&1 | findstr /r /c:"The specified module could not be found" -if %errorlevel% neq 1 exit /b 1 + echo "Testing import of _sqlite3 (DLL located via PATH needed) does not print: The specified module could not be found" + %PREFIX%\python.exe -v -c "import _sqlite3" 2>&1 + %PREFIX%\python.exe -v -c "import _sqlite3" 2>&1 | findstr /r /c:"The specified module could not be found" + if %errorlevel% neq 1 exit /b 1 +) From b8f49d1628b42758447e16420d76e228d666e4f1 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Thu, 5 Feb 2026 08:33:04 -0800 Subject: [PATCH 15/41] no pgo, externals --- recipe/build_base.bat | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipe/build_base.bat b/recipe/build_base.bat index 067047a8..1c2cc700 100644 --- a/recipe/build_base.bat +++ b/recipe/build_base.bat @@ -75,8 +75,10 @@ cd PCbuild setlocal EnableDelayedExpansion if "%CONDA_BUILD_CROSS_COMPILATION%" == "1" ( REM build for the build platform. LIBRARY_PREFIX is used by the patches + REM No PGO. No externals, i.e. remove building extension modules + REM we don't need. set LIBRARY_PREFIX=%BUILD_PREFIX%\\Library - call build.bat %PGO% %CONFIG% %FREETHREADING% -m -e -v -p %BUILD_PLATFORM% + call build.bat %CONFIG% %FREETHREADING% -m -E -v -p %BUILD_PLATFORM% ) endlocal :: Twice because: From 218ea2648dcf5fbb4e25668b735e530d226ddaad Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Thu, 5 Feb 2026 08:50:08 -0800 Subject: [PATCH 16/41] no PGO for cross --- recipe/build_base.bat | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/recipe/build_base.bat b/recipe/build_base.bat index 1c2cc700..4eec7831 100644 --- a/recipe/build_base.bat +++ b/recipe/build_base.bat @@ -53,11 +53,12 @@ if "%PY_INTERP_DEBUG%"=="yes" ( set _D= ) - +set PGO=--pgo if "%DEBUG_C%"=="yes" ( set PGO= -) else ( - set PGO=--pgo +) +if "%CONDA_BUILD_CROSS_COMPILATION%" == "1" ( + set PGO= ) if "%PY_FREETHREADING%" == "yes" ( From 9e2290ca6394a41a7022fb2ac18309fbcdb9d286 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Thu, 5 Feb 2026 09:12:17 -0800 Subject: [PATCH 17/41] Fix zlib patch and externals patch --- ...2-Change-FD_SETSIZE-from-512-to-2048.patch | 2 +- ...0002-Win32-Do-not-download-externals.patch | 20 +++++++++---------- ...-so-that-it-looks-in-sys.prefix-lib-.patch | 2 +- ...-lookup-unless-CONDA_PY_ALLOW_REG_PA.patch | 2 +- recipe/patches/0005-Unvendor-openssl.patch | 8 ++++---- recipe/patches/0006-Unvendor-sqlite3.patch | 2 +- ...dd-CondaEcosystemModifyDllSearchPath.patch | 4 ++-- recipe/patches/0008-Doing-d1trimfile.patch | 2 +- .../patches/0009-cross-compile-darwin.patch | 12 +++++------ .../patches/0010-Fix-TZPATH-on-windows.patch | 2 +- ...ch-work-with-SYSTEM_VERSION_COMPAT-1.patch | 2 +- recipe/patches/0012-Unvendor-bzip2.patch | 2 +- recipe/patches/0013-Unvendor-libffi.patch | 2 +- recipe/patches/0014-Unvendor-tcltk.patch | 2 +- recipe/patches/0015-unvendor-xz.patch | 2 +- recipe/patches/0016-unvendor-zlib.patch | 6 +++--- ...-not-pass-g-to-GCC-when-not-Py_DEBUG.patch | 12 +++++------ recipe/patches/0018-Unvendor-expat.patch | 2 +- .../patches/0019-Remove-unused-readelf.patch | 4 ++-- ...t-checksharedmods-if-cross-compiling.patch | 6 +++--- .../0021-Override-configure-LIBFFI.patch | 6 +++--- recipe/patches/0022-Unvendor-libmpdec.patch | 2 +- recipe/patches/0023-Brand-conda-forge.patch | 4 ++-- ...d_t-as-it-might-conflict-with-the-ac.patch | 8 ++++---- recipe/patches/0025-Unvendor-zstd.patch | 2 +- ...IL_DISABLED-in-windows-to-match-unix.patch | 2 +- 26 files changed, 60 insertions(+), 60 deletions(-) diff --git a/recipe/patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch b/recipe/patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch index 348ac3d5..6841a7a8 100644 --- a/recipe/patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch +++ b/recipe/patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch @@ -1,4 +1,4 @@ -From 3dff368f2f15764584cd9d90234ae7e8248e4e4d Mon Sep 17 00:00:00 2001 +From f08d8a962782a81d96f1b4eae2349e99761f625c Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Wed, 16 Aug 2017 11:53:55 +0100 Subject: [PATCH 01/26] Win32: Change FD_SETSIZE from 512 to 2048 diff --git a/recipe/patches/0002-Win32-Do-not-download-externals.patch b/recipe/patches/0002-Win32-Do-not-download-externals.patch index 2fc7dfd0..882aaed3 100644 --- a/recipe/patches/0002-Win32-Do-not-download-externals.patch +++ b/recipe/patches/0002-Win32-Do-not-download-externals.patch @@ -1,4 +1,4 @@ -From 15bfc5e613ae654bd685f65d975d79ce88d3853d Mon Sep 17 00:00:00 2001 +From 6c69b44235d9bc5728ec1861823fb93c42af01b6 Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Thu, 7 Sep 2017 11:35:47 +0100 Subject: [PATCH 02/26] Win32: Do not download externals @@ -8,15 +8,15 @@ Subject: [PATCH 02/26] Win32: Do not download externals 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PCbuild/build.bat b/PCbuild/build.bat -index 60235704886..edb61912b74 100644 +index 60235704886..717a35c9d7e 100644 --- a/PCbuild/build.bat +++ b/PCbuild/build.bat -@@ -107,7 +107,7 @@ if "%~1"=="--no-ctypes" (set IncludeCTypes=false) & shift & goto CheckOpts - if "%~1"=="--no-ssl" (set IncludeSSL=false) & shift & goto CheckOpts - if "%~1"=="--no-tkinter" (set IncludeTkinter=false) & shift & goto CheckOpts - --if "%IncludeExternals%"=="" set IncludeExternals=true -+@rem if "%IncludeExternals%"=="" set IncludeExternals=true - if "%IncludeCTypes%"=="" set IncludeCTypes=true - if "%IncludeSSL%"=="" set IncludeSSL=true +@@ -113,7 +113,7 @@ if "%IncludeSSL%"=="" set IncludeSSL=true if "%IncludeTkinter%"=="" set IncludeTkinter=true + if "%UseJIT%" NEQ "true" set IncludeLLVM=false + +-if "%IncludeExternals%"=="true" call "%dir%get_externals.bat" ++@rem if "%IncludeExternals%"=="true" call "%dir%get_externals.bat" + + if "%do_pgo%" EQU "true" if "%platf%" EQU "x64" ( + if "%PROCESSOR_ARCHITEW6432%" NEQ "AMD64" if "%PROCESSOR_ARCHITECTURE%" NEQ "AMD64" ( diff --git a/recipe/patches/0003-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch b/recipe/patches/0003-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch index 12c71f9c..e521d321 100644 --- a/recipe/patches/0003-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch +++ b/recipe/patches/0003-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch @@ -1,4 +1,4 @@ -From 72e412d8563cb7e0844e814b16d6fd9aa83d476b Mon Sep 17 00:00:00 2001 +From f69fee4163758eee14ad4e73e1041bd838014297 Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Tue, 5 Dec 2017 22:47:59 +0000 Subject: [PATCH 03/26] Fix find_library so that it looks in sys.prefix/lib diff --git a/recipe/patches/0004-Disable-registry-lookup-unless-CONDA_PY_ALLOW_REG_PA.patch b/recipe/patches/0004-Disable-registry-lookup-unless-CONDA_PY_ALLOW_REG_PA.patch index cd2f67fa..99ed98ad 100644 --- a/recipe/patches/0004-Disable-registry-lookup-unless-CONDA_PY_ALLOW_REG_PA.patch +++ b/recipe/patches/0004-Disable-registry-lookup-unless-CONDA_PY_ALLOW_REG_PA.patch @@ -1,4 +1,4 @@ -From 12999f1ec012f5c3859aa23070a5d293b852afda Mon Sep 17 00:00:00 2001 +From 3a1dffd72017c2d159df2c9ab17e9a94fd96919e Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Sat, 27 Oct 2018 18:48:30 +0100 Subject: [PATCH 04/26] Disable registry lookup unless CONDA_PY_ALLOW_REG_PATHS diff --git a/recipe/patches/0005-Unvendor-openssl.patch b/recipe/patches/0005-Unvendor-openssl.patch index 3be8ce46..5225a24e 100644 --- a/recipe/patches/0005-Unvendor-openssl.patch +++ b/recipe/patches/0005-Unvendor-openssl.patch @@ -1,4 +1,4 @@ -From f3da6c061da6528ac2aa9069418e2abec3e81bec Mon Sep 17 00:00:00 2001 +From 282408229840efda93052f9b6e86775a378a527b Mon Sep 17 00:00:00 2001 From: Nehal J Wani Date: Sat, 24 Nov 2018 20:38:02 -0600 Subject: [PATCH 05/26] Unvendor openssl @@ -90,10 +90,10 @@ index 7ca750dda8f..17eee400ebb 100644 diff --git a/PCbuild/python.props b/PCbuild/python.props -index d4d9a54248d..94fb385c1fb 100644 +index cc157252655..253aa66f477 100644 --- a/PCbuild/python.props +++ b/PCbuild/python.props -@@ -67,6 +67,7 @@ +@@ -68,6 +68,7 @@ $(EXTERNALS_DIR) @@ -101,7 +101,7 @@ index d4d9a54248d..94fb385c1fb 100644 $([System.IO.Path]::GetFullPath(`$(PySourcePath)externals`)) $(ExternalsDir)\ -@@ -74,20 +75,8 @@ +@@ -75,20 +76,8 @@ diff --git a/recipe/patches/0006-Unvendor-sqlite3.patch b/recipe/patches/0006-Unvendor-sqlite3.patch index d97f464e..db52ebe4 100644 --- a/recipe/patches/0006-Unvendor-sqlite3.patch +++ b/recipe/patches/0006-Unvendor-sqlite3.patch @@ -1,4 +1,4 @@ -From 73585456429c8ce96c088d3403afd7e430bdeb85 Mon Sep 17 00:00:00 2001 +From f4c9cf54276abcd8ac61f8a7c47253eda5f8746f Mon Sep 17 00:00:00 2001 From: Nehal J Wani Date: Tue, 5 Oct 2021 12:42:06 -0700 Subject: [PATCH 06/26] Unvendor sqlite3 diff --git a/recipe/patches/0007-Add-CondaEcosystemModifyDllSearchPath.patch b/recipe/patches/0007-Add-CondaEcosystemModifyDllSearchPath.patch index fa194652..cabc7a00 100644 --- a/recipe/patches/0007-Add-CondaEcosystemModifyDllSearchPath.patch +++ b/recipe/patches/0007-Add-CondaEcosystemModifyDllSearchPath.patch @@ -1,4 +1,4 @@ -From 966dfbe7e1972661885959ec72d34d52af373698 Mon Sep 17 00:00:00 2001 +From d2a622755b5640370ddbf758ffe364fbc1c5d476 Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Tue, 24 Dec 2019 18:37:17 +0100 Subject: [PATCH 07/26] Add CondaEcosystemModifyDllSearchPath() @@ -33,7 +33,7 @@ Co-authored-by: Isuru Fernando 1 file changed, 95 insertions(+) diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c -index 352787c6495..4fd4fcb0f6e 100644 +index 6963635213a..1790d5aad25 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -80,6 +80,10 @@ diff --git a/recipe/patches/0008-Doing-d1trimfile.patch b/recipe/patches/0008-Doing-d1trimfile.patch index a80d79b6..f0d10dfd 100644 --- a/recipe/patches/0008-Doing-d1trimfile.patch +++ b/recipe/patches/0008-Doing-d1trimfile.patch @@ -1,4 +1,4 @@ -From 17412eb7031d69a13c749f5d6a5f9cdef01c1188 Mon Sep 17 00:00:00 2001 +From b549b5d26e827079b0f11fffa2add7587c12a63b Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Tue, 31 Dec 2019 21:47:47 +0100 Subject: [PATCH 08/26] Doing d1trimfile diff --git a/recipe/patches/0009-cross-compile-darwin.patch b/recipe/patches/0009-cross-compile-darwin.patch index ae8f1be6..24e7e4e6 100644 --- a/recipe/patches/0009-cross-compile-darwin.patch +++ b/recipe/patches/0009-cross-compile-darwin.patch @@ -1,4 +1,4 @@ -From 4a750134d0e82bf5e843bcde03a28c4ef7e6c036 Mon Sep 17 00:00:00 2001 +From d0869e666f17978355eb8d5fc7e2fdc6319a2a96 Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Fri, 2 Oct 2020 00:03:12 +0200 Subject: [PATCH 09/26] cross compile darwin @@ -11,7 +11,7 @@ By Isuru Fernando. 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/Lib/platform.py b/Lib/platform.py -index 784b6b749b7..9918b4106e8 100644 +index b017b841311..f7821ae7f28 100644 --- a/Lib/platform.py +++ b/Lib/platform.py @@ -477,7 +477,12 @@ def win32_ver(release='', version='', csd='', ptype=''): @@ -29,10 +29,10 @@ index 784b6b749b7..9918b4106e8 100644 try: import plistlib diff --git a/configure b/configure -index d31c24dffa2..1e4cf61234b 100755 +index 645628fecf2..0d43c08ce03 100755 --- a/configure +++ b/configure -@@ -4110,6 +4110,9 @@ then +@@ -4111,6 +4111,9 @@ then *-*-linux*) ac_sys_system=Linux ;; @@ -42,7 +42,7 @@ index d31c24dffa2..1e4cf61234b 100755 *-*-cygwin*) ac_sys_system=Cygwin ;; -@@ -4589,6 +4592,9 @@ if test "$cross_compiling" = yes; then +@@ -4590,6 +4593,9 @@ if test "$cross_compiling" = yes; then _host_ident=$host_cpu esac ;; @@ -53,7 +53,7 @@ index d31c24dffa2..1e4cf61234b 100755 _host_ident= ;; diff --git a/configure.ac b/configure.ac -index af7a9623d7b..e7a4bb5b998 100644 +index d81c76fc122..90366bb6257 100644 --- a/configure.ac +++ b/configure.ac @@ -324,6 +324,9 @@ then diff --git a/recipe/patches/0010-Fix-TZPATH-on-windows.patch b/recipe/patches/0010-Fix-TZPATH-on-windows.patch index b380b806..2b55d655 100644 --- a/recipe/patches/0010-Fix-TZPATH-on-windows.patch +++ b/recipe/patches/0010-Fix-TZPATH-on-windows.patch @@ -1,4 +1,4 @@ -From 53c0cb3b5f5c206ead42a55dcbc39ce1453dfd38 Mon Sep 17 00:00:00 2001 +From c4032e3b5fed532e99d33e6b4c44b34f5517749d Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 7 Oct 2020 10:08:30 -0500 Subject: [PATCH 10/26] Fix TZPATH on windows diff --git a/recipe/patches/0011-Make-dyld-search-work-with-SYSTEM_VERSION_COMPAT-1.patch b/recipe/patches/0011-Make-dyld-search-work-with-SYSTEM_VERSION_COMPAT-1.patch index 719ceb57..237379e8 100644 --- a/recipe/patches/0011-Make-dyld-search-work-with-SYSTEM_VERSION_COMPAT-1.patch +++ b/recipe/patches/0011-Make-dyld-search-work-with-SYSTEM_VERSION_COMPAT-1.patch @@ -1,4 +1,4 @@ -From fb9d535290c32d9ff02820949cab3d2c212d6397 Mon Sep 17 00:00:00 2001 +From 951db4322fd19139a4622b90d7dbffeb15362208 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Mon, 25 Jan 2021 03:28:08 -0600 Subject: [PATCH 11/26] Make dyld search work with SYSTEM_VERSION_COMPAT=1 diff --git a/recipe/patches/0012-Unvendor-bzip2.patch b/recipe/patches/0012-Unvendor-bzip2.patch index 94bb7eb8..beb86485 100644 --- a/recipe/patches/0012-Unvendor-bzip2.patch +++ b/recipe/patches/0012-Unvendor-bzip2.patch @@ -1,4 +1,4 @@ -From 7c194e8eecd10c4f16b25110e53647a87bb71ec6 Mon Sep 17 00:00:00 2001 +From 855f9e366d1d8ee00107a5d1ebf22da249e2dec5 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Mon, 16 Aug 2021 02:56:27 -0700 Subject: [PATCH 12/26] Unvendor bzip2 diff --git a/recipe/patches/0013-Unvendor-libffi.patch b/recipe/patches/0013-Unvendor-libffi.patch index 7da3aa1d..a48e680d 100644 --- a/recipe/patches/0013-Unvendor-libffi.patch +++ b/recipe/patches/0013-Unvendor-libffi.patch @@ -1,4 +1,4 @@ -From fafc2c3880a6c1e872142b8ed040a562edb45738 Mon Sep 17 00:00:00 2001 +From 5b3fdc0eaf7915c3ea1072d38451b2be4e6d7fef Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Mon, 16 Aug 2021 03:07:40 -0700 Subject: [PATCH 13/26] Unvendor libffi diff --git a/recipe/patches/0014-Unvendor-tcltk.patch b/recipe/patches/0014-Unvendor-tcltk.patch index 0aafc2b3..e2fa26f4 100644 --- a/recipe/patches/0014-Unvendor-tcltk.patch +++ b/recipe/patches/0014-Unvendor-tcltk.patch @@ -1,4 +1,4 @@ -From bac07ba9b9bdbcc560af20d9eadc38bd30a7fc9b Mon Sep 17 00:00:00 2001 +From 5dfbe7d99923687ee9a3c4e91490e051b6d96462 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Fri, 20 Aug 2021 10:23:51 -0700 Subject: [PATCH 14/26] Unvendor tcltk diff --git a/recipe/patches/0015-unvendor-xz.patch b/recipe/patches/0015-unvendor-xz.patch index 56e71871..5b1a13be 100644 --- a/recipe/patches/0015-unvendor-xz.patch +++ b/recipe/patches/0015-unvendor-xz.patch @@ -1,4 +1,4 @@ -From 4492573c31d9b6989cf878c1b133870ccc93886f Mon Sep 17 00:00:00 2001 +From 576269222bc04f75ff339dad05c7314cfa6d1f3a Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Sat, 25 Sep 2021 10:07:05 -0700 Subject: [PATCH 15/26] unvendor xz diff --git a/recipe/patches/0016-unvendor-zlib.patch b/recipe/patches/0016-unvendor-zlib.patch index d59a7901..093dc3d6 100644 --- a/recipe/patches/0016-unvendor-zlib.patch +++ b/recipe/patches/0016-unvendor-zlib.patch @@ -1,4 +1,4 @@ -From aca0e2c3d51aaa449f7e849b7fbc26233d611298 Mon Sep 17 00:00:00 2001 +From 3c453d205961e3ea6b7f76226f680f3247348ab0 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 29 Sep 2021 15:21:55 -0700 Subject: [PATCH 16/26] unvendor zlib @@ -9,7 +9,7 @@ Subject: [PATCH 16/26] unvendor zlib 2 files changed, 4 insertions(+), 76 deletions(-) diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj -index 8e45967a83c..fc1a6077b34 100644 +index 8e45967a83c..3674ca1b267 100644 --- a/PCbuild/pythoncore.vcxproj +++ b/PCbuild/pythoncore.vcxproj @@ -82,7 +82,7 @@ @@ -26,7 +26,7 @@ index 8e45967a83c..fc1a6077b34 100644 /d1trimfile:%SRC_DIR% $(PySourcePath)Modules\_hacl;$(PySourcePath)Modules\_hacl\include;$(PySourcePath)Python;%(AdditionalIncludeDirectories) - $(zlibNgDir);$(GeneratedZlibNgDir);%(AdditionalIncludeDirectories) -+ $(condaDir)\include;%(AdditionalIncludeDirectories) ++ $(condaDir)\include;%(AdditionalIncludeDirectories) $(GeneratedJitStencilsDir);%(AdditionalIncludeDirectories) _USRDLL;Py_BUILD_CORE;Py_BUILD_CORE_BUILTIN;Py_ENABLE_SHARED;MS_DLL_ID="$(SysWinVer)";ZLIB_COMPAT;%(PreprocessorDefinitions) _Py_HAVE_ZLIB;%(PreprocessorDefinitions) diff --git a/recipe/patches/0017-Do-not-pass-g-to-GCC-when-not-Py_DEBUG.patch b/recipe/patches/0017-Do-not-pass-g-to-GCC-when-not-Py_DEBUG.patch index d6cb6953..960de5e7 100644 --- a/recipe/patches/0017-Do-not-pass-g-to-GCC-when-not-Py_DEBUG.patch +++ b/recipe/patches/0017-Do-not-pass-g-to-GCC-when-not-Py_DEBUG.patch @@ -1,4 +1,4 @@ -From 34a225d86b9b9d43fe12b130101e35779c4322bc Mon Sep 17 00:00:00 2001 +From e5418ff5c87e82a875616cac50f14e4b416c4010 Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Wed, 16 Aug 2017 11:45:28 +0100 Subject: [PATCH 17/26] Do not pass -g to GCC when not Py_DEBUG @@ -10,10 +10,10 @@ This bloats our exe and our modules a lot. 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure -index 1e4cf61234b..61c94c69308 100755 +index 0d43c08ce03..9071abda187 100755 --- a/configure +++ b/configure -@@ -5794,9 +5794,9 @@ if test $ac_test_CFLAGS; then +@@ -5795,9 +5795,9 @@ if test $ac_test_CFLAGS; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then @@ -25,7 +25,7 @@ index 1e4cf61234b..61c94c69308 100755 fi else if test "$GCC" = yes; then -@@ -9572,7 +9572,7 @@ then +@@ -9585,7 +9585,7 @@ then if test "$Py_DEBUG" = 'true' ; then OPT="-g $PYDEBUG_CFLAGS -Wall" else @@ -35,10 +35,10 @@ index 1e4cf61234b..61c94c69308 100755 ;; *) diff --git a/configure.ac b/configure.ac -index e7a4bb5b998..480e59d6c3e 100644 +index 90366bb6257..2c474ddebd4 100644 --- a/configure.ac +++ b/configure.ac -@@ -2306,7 +2306,7 @@ then +@@ -2314,7 +2314,7 @@ then if test "$Py_DEBUG" = 'true' ; then OPT="-g $PYDEBUG_CFLAGS -Wall" else diff --git a/recipe/patches/0018-Unvendor-expat.patch b/recipe/patches/0018-Unvendor-expat.patch index d49ff7eb..301ceb82 100644 --- a/recipe/patches/0018-Unvendor-expat.patch +++ b/recipe/patches/0018-Unvendor-expat.patch @@ -1,4 +1,4 @@ -From 97ae235561329f2310cd2f03b0e6321b448601ca Mon Sep 17 00:00:00 2001 +From 75ac84943fc049794c11001bccd9ec271264df2f Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 29 Mar 2023 23:07:10 -0500 Subject: [PATCH 18/26] Unvendor expat diff --git a/recipe/patches/0019-Remove-unused-readelf.patch b/recipe/patches/0019-Remove-unused-readelf.patch index 91d5eb48..763ff2d5 100644 --- a/recipe/patches/0019-Remove-unused-readelf.patch +++ b/recipe/patches/0019-Remove-unused-readelf.patch @@ -1,4 +1,4 @@ -From 2e87abf11bbb270eb6971923b3854f599a5da6c9 Mon Sep 17 00:00:00 2001 +From 20358512ac8c49345e48205db7ed3154fc3f73eb Mon Sep 17 00:00:00 2001 From: Charles Bousseau Date: Thu, 25 May 2023 17:56:53 -0400 Subject: [PATCH 19/26] Remove unused readelf @@ -15,7 +15,7 @@ Drop unused build dependency on ``readelf``. 1 file changed, 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in -index ba039794c88..7b0d6dced64 100644 +index 38a355a23f2..b7157b1eb21 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -38,7 +38,6 @@ CC= @CC@ diff --git a/recipe/patches/0020-Don-t-checksharedmods-if-cross-compiling.patch b/recipe/patches/0020-Don-t-checksharedmods-if-cross-compiling.patch index 9e126e31..1ec478a7 100644 --- a/recipe/patches/0020-Don-t-checksharedmods-if-cross-compiling.patch +++ b/recipe/patches/0020-Don-t-checksharedmods-if-cross-compiling.patch @@ -1,4 +1,4 @@ -From 00a945ee9d283d6d189f782092d06348d2ccef00 Mon Sep 17 00:00:00 2001 +From e6f058d7968b8e14c78357b4b6fee271109f12a7 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Fri, 1 Sep 2023 23:32:14 +0200 Subject: [PATCH 20/26] Don't checksharedmods if cross-compiling @@ -10,10 +10,10 @@ Subject: [PATCH 20/26] Don't checksharedmods if cross-compiling create mode 100755 if_runnable.sh diff --git a/Makefile.pre.in b/Makefile.pre.in -index 7b0d6dced64..e1cc236b150 100644 +index b7157b1eb21..a16b15bc3ef 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -1593,7 +1593,7 @@ sharedmods: $(SHAREDMODS) pybuilddir.txt +@@ -1597,7 +1597,7 @@ sharedmods: $(SHAREDMODS) pybuilddir.txt # dependency on BUILDPYTHON ensures that the target is run last .PHONY: checksharedmods checksharedmods: sharedmods $(PYTHON_FOR_BUILD_DEPS) $(BUILDPYTHON) diff --git a/recipe/patches/0021-Override-configure-LIBFFI.patch b/recipe/patches/0021-Override-configure-LIBFFI.patch index bc441208..884c6e28 100644 --- a/recipe/patches/0021-Override-configure-LIBFFI.patch +++ b/recipe/patches/0021-Override-configure-LIBFFI.patch @@ -1,4 +1,4 @@ -From fdef0a3f1a886320e3acd5f01fdbc0907a32d9d8 Mon Sep 17 00:00:00 2001 +From 2d0c899745990b743c1818249f0c6f469670c341 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Tue, 5 Sep 2023 21:51:31 +0200 Subject: [PATCH 21/26] Override configure LIBFFI @@ -8,10 +8,10 @@ Subject: [PATCH 21/26] Override configure LIBFFI 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure -index 61c94c69308..8af6bd41981 100755 +index 9071abda187..66405ea0aca 100755 --- a/configure +++ b/configure -@@ -15251,7 +15251,7 @@ if test "x$ac_cv_lib_ffi_ffi_call" = xyes +@@ -15264,7 +15264,7 @@ if test "x$ac_cv_lib_ffi_ffi_call" = xyes then : have_libffi=yes diff --git a/recipe/patches/0022-Unvendor-libmpdec.patch b/recipe/patches/0022-Unvendor-libmpdec.patch index 2bfccdb4..36238550 100644 --- a/recipe/patches/0022-Unvendor-libmpdec.patch +++ b/recipe/patches/0022-Unvendor-libmpdec.patch @@ -1,4 +1,4 @@ -From 76f71b983fbe97118ff7e9c187e689226fbdd296 Mon Sep 17 00:00:00 2001 +From 6bc36d5fbb42300b8c0276fca832d0883d34bc38 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Fri, 16 Aug 2024 21:34:43 -0500 Subject: [PATCH 22/26] Unvendor libmpdec diff --git a/recipe/patches/0023-Brand-conda-forge.patch b/recipe/patches/0023-Brand-conda-forge.patch index d7fd4522..7bd5aa38 100644 --- a/recipe/patches/0023-Brand-conda-forge.patch +++ b/recipe/patches/0023-Brand-conda-forge.patch @@ -1,4 +1,4 @@ -From 3ae72a4b59fec1f5a8f2431f33b37888ebe2f646 Mon Sep 17 00:00:00 2001 +From c5f04b22e082434d903f6a5632d08b623e7e3dc9 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 28 Aug 2024 11:12:22 -0500 Subject: [PATCH 23/26] Brand conda-forge @@ -9,7 +9,7 @@ Subject: [PATCH 23/26] Brand conda-forge 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Lib/platform.py b/Lib/platform.py -index 9918b4106e8..1bedf861aad 100644 +index f7821ae7f28..628af468297 100644 --- a/Lib/platform.py +++ b/Lib/platform.py @@ -1215,6 +1215,7 @@ def _sys_version(sys_version=None): diff --git a/recipe/patches/0024-Do-not-define-pid_t-as-it-might-conflict-with-the-ac.patch b/recipe/patches/0024-Do-not-define-pid_t-as-it-might-conflict-with-the-ac.patch index 56b92c84..6d6993cd 100644 --- a/recipe/patches/0024-Do-not-define-pid_t-as-it-might-conflict-with-the-ac.patch +++ b/recipe/patches/0024-Do-not-define-pid_t-as-it-might-conflict-with-the-ac.patch @@ -1,4 +1,4 @@ -From dfd3c9a8237180a5456a13ecc3c1e19cb52ccd1a Mon Sep 17 00:00:00 2001 +From 5cfc14457be90d160d31b2b7b67f04b944f843c5 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Sun, 12 Jan 2025 10:37:29 +0530 Subject: [PATCH 24/26] Do not define pid_t as it might conflict with the @@ -30,7 +30,7 @@ index 6313abf5485..bc8169e2f68 100644 module _testcapi [clinic start generated code]*/ diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c -index 2572df9719a..792c0df35af 100644 +index 228fe4eff58..1db7b51160e 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -23,6 +23,10 @@ @@ -75,7 +75,7 @@ index 87a17935507..a88a9151cb6 100644 "stat($module, /, path, *, dir_fd=None, follow_symlinks=True)\n" "--\n" diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c -index e1576f809fa..1ea521478e7 100644 +index cb3a62d211a..428ef667745 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -219,6 +219,7 @@ @@ -100,7 +100,7 @@ index 710a737ebcc..92d327b1e35 100644 #if _MSC_VER >= 1200 /* This file only exists in VC 6.0 or higher */ diff --git a/Python/remote_debug.h b/Python/remote_debug.h -index 8f9b6cd4c49..20cd65dd818 100644 +index ed213859a8a..bd66dded8cd 100644 --- a/Python/remote_debug.h +++ b/Python/remote_debug.h @@ -28,6 +28,9 @@ extern "C" { diff --git a/recipe/patches/0025-Unvendor-zstd.patch b/recipe/patches/0025-Unvendor-zstd.patch index b7b49624..5550b5fe 100644 --- a/recipe/patches/0025-Unvendor-zstd.patch +++ b/recipe/patches/0025-Unvendor-zstd.patch @@ -1,4 +1,4 @@ -From 0c0f398f475a9d61fbec7e004647299cd7e9e049 Mon Sep 17 00:00:00 2001 +From 75773c30d72ec021f2b0250d90cf7e36524d4880 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Tue, 22 Jul 2025 18:07:54 +0200 Subject: [PATCH 25/26] Unvendor zstd diff --git a/recipe/patches/0026-Set-Py_GIL_DISABLED-in-windows-to-match-unix.patch b/recipe/patches/0026-Set-Py_GIL_DISABLED-in-windows-to-match-unix.patch index 32c34f56..d85922a8 100644 --- a/recipe/patches/0026-Set-Py_GIL_DISABLED-in-windows-to-match-unix.patch +++ b/recipe/patches/0026-Set-Py_GIL_DISABLED-in-windows-to-match-unix.patch @@ -1,4 +1,4 @@ -From bdffefd91e576916a70808069885b1c33d6b4f62 Mon Sep 17 00:00:00 2001 +From 69850a4863945e98a7ed61c8adde6692dc2c0424 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Tue, 2 Dec 2025 09:46:56 -0800 Subject: [PATCH 26/26] Set Py_GIL_DISABLED in windows to match unix From 8cd8cfbc3bcd6db056b02917c4b9bb414d56a0fe Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Thu, 5 Feb 2026 09:12:52 -0800 Subject: [PATCH 18/41] exit on error --- recipe/build_base.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/recipe/build_base.bat b/recipe/build_base.bat index 4eec7831..a405f937 100644 --- a/recipe/build_base.bat +++ b/recipe/build_base.bat @@ -80,6 +80,7 @@ if "%CONDA_BUILD_CROSS_COMPILATION%" == "1" ( REM we don't need. set LIBRARY_PREFIX=%BUILD_PREFIX%\\Library call build.bat %CONFIG% %FREETHREADING% -m -E -v -p %BUILD_PLATFORM% + if errorlevel 1 exit 1 ) endlocal :: Twice because: From 923b423aaaea2d2f03bcda17eed5219d0bfc8928 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Thu, 5 Feb 2026 09:40:09 -0800 Subject: [PATCH 19/41] mpdecimal --- recipe/meta.yaml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 0f5a8dd6..b8d25c78 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -163,19 +163,19 @@ outputs: - llvm-tools-19 # [not win] - clang 19.* # [win] - llvm-tools 19.* # [win] - - bzip2 # [build_platform != target_platform] - - libsqlite # [build_platform != target_platform] - - liblzma-devel # [build_platform != target_platform] - - zlib # [build_platform != target_platform] - - zstd # [build_platform != target_platform] - - openssl # [build_platform != target_platform] - - readline # [not win and build_platform != target_platform] - - tk # [build_platform != target_platform] - - ncurses # [unix and build_platform != target_platform] - - libffi # [build_platform != target_platform] - - libuuid # [linux and build_platform != target_platform] - - libxcrypt # [linux and build_platform != target_platform] - - expat # [build_platform != target_platform] + - bzip2 # [build_platform != target_platform] + - libsqlite # [build_platform != target_platform] + - liblzma-devel # [build_platform != target_platform] + - zlib # [build_platform != target_platform] + - zstd # [build_platform != target_platform] + - openssl # [build_platform != target_platform] + - readline # [not win and build_platform != target_platform] + - tk # [build_platform != target_platform] + - ncurses # [unix and build_platform != target_platform] + - libffi # [build_platform != target_platform] + - libuuid # [linux and build_platform != target_platform] + - libmpdec-devel # [build_platform != target_platform] + - expat # [build_platform != target_platform] host: - bzip2 - libsqlite From 8480b42aae4c389f3c1c91afcf022d144b8e1ce1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 9 Feb 2026 19:41:25 +0100 Subject: [PATCH 20/41] Install `build-details.json` from shared library build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Install `build-details.json` from shared library build rather than the static build, as the latter does not include the data needed to build extensions, and therefore it is not useful for cross-compilation. This is backported from #842, but unlike that PR it should not break anything. Signed-off-by: Michał Górny --- recipe/build_base.sh | 2 ++ recipe/meta.yaml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/recipe/build_base.sh b/recipe/build_base.sh index a376602c..dd5c1555 100644 --- a/recipe/build_base.sh +++ b/recipe/build_base.sh @@ -399,6 +399,8 @@ SYSCONFIG=$(find ${_buildd_static}/$(cat ${_buildd_static}/pybuilddir.txt) -name cat ${SYSCONFIG} | ${SYS_PYTHON} "${RECIPE_DIR}"/replace-word-pairs.py \ "${_FLAGS_REPLACE[@]}" \ > ${PREFIX}/lib/python${VERABI_NO_DBG}/$(basename ${SYSCONFIG}) +BUILD_DETAILS=${_buildd_shared}/$(cat ${_buildd_shared}/pybuilddir.txt)/build-details.json +cp ${BUILD_DETAILS} ${PREFIX}/lib/python${VERABI_NO_DBG}/ MAKEFILE=$(find ${PREFIX}/lib/python${VERABI_NO_DBG}/ -path "*config-*/Makefile" -print0) cp ${MAKEFILE} /tmp/Makefile-$$ cat /tmp/Makefile-$$ | ${SYS_PYTHON} "${RECIPE_DIR}"/replace-word-pairs.py \ diff --git a/recipe/meta.yaml b/recipe/meta.yaml index b8d25c78..523e0138 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -4,7 +4,7 @@ {% set ver2 = '.'.join(version.split('.')[0:2]) %} {% set ver2nd = ''.join(version.split('.')[0:2]) %} {% set ver3nd = ''.join(version.split('.')[0:3]) %} -{% set build_number = 0 %} +{% set build_number = 1 %} # this makes the linter happy {% set channel_targets = channel_targets or 'conda-forge main' %} From b3d75b278f388c394b0b70d12763b0cd57519ce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 9 Feb 2026 19:43:34 +0100 Subject: [PATCH 21/41] Add missing `ripgrep` dependency for the test case MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add the `ripgrep` dependency that is used in the `prefix-replacement` test. Since it is missing, the test never really greps and therefore does not actually test. Signed-off-by: Michał Górny --- recipe/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 523e0138..01ac0fa8 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -307,6 +307,7 @@ outputs: requires: - {{ stdlib('c') }} - {{ compiler('c') }} + - ripgrep commands: - VER=${PKG_VERSION%.*} # [not win] - VERABI=${VER} # [not win] From 5fc70a05ae178509987cd5120d04140af088f05e Mon Sep 17 00:00:00 2001 From: conda-forge-admin Date: Mon, 16 Mar 2026 23:14:39 +0000 Subject: [PATCH 22/41] [ci skip] [skip ci] [cf admin skip] ***NO_CI*** admin migration EnableGHAWorkflows --- .github/workflows/conda-build.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/conda-build.yml diff --git a/.github/workflows/conda-build.yml b/.github/workflows/conda-build.yml new file mode 100644 index 00000000..a948c6c1 --- /dev/null +++ b/.github/workflows/conda-build.yml @@ -0,0 +1,15 @@ +# This file was added automatically by admin-migrations. Do not modify. +# It ensures that Github Actions can run once rerendered for the first time. +# -*- mode: yaml -*- + +name: Build conda package +on: + workflow_dispatch: + +jobs: + build: + name: Disabled build + runs-on: ubuntu-slim + if: false + steps: + - run: exit 0 From 231cc6b30bb2b3dbfc63268d6e0a3b4b69aaf4fd Mon Sep 17 00:00:00 2001 From: regro-cf-autotick-bot <36490558+regro-cf-autotick-bot@users.noreply.github.com> Date: Tue, 7 Apr 2026 18:00:44 +0000 Subject: [PATCH 23/41] updated v3.14.4 --- recipe/meta.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 01ac0fa8..41f14fc5 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,10 +1,10 @@ -{% set version = "3.14.3" %} +{% set version = "3.14.4" %} {% set dev = "" %} {% set dev_ = "" %} {% set ver2 = '.'.join(version.split('.')[0:2]) %} {% set ver2nd = ''.join(version.split('.')[0:2]) %} {% set ver3nd = ''.join(version.split('.')[0:3]) %} -{% set build_number = 1 %} +{% set build_number = 0 %} # this makes the linter happy {% set channel_targets = channel_targets or 'conda-forge main' %} @@ -46,7 +46,7 @@ package: source: - url: https://www.python.org/ftp/python/{{ version }}/Python-{{ version }}{{ dev }}.tar.xz # sha256 from: https://www.python.org/downloads/release/python-{{ ver3nd }}{{ dev }}/ - sha256: a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b + sha256: d923c51303e38e249136fc1bdf3568d56ecb03214efdef48516176d3d7faaef8 patches: - patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch - patches/0002-Win32-Do-not-download-externals.patch From 83cd42943a332cbacfeff295f2e8c009ca320486 Mon Sep 17 00:00:00 2001 From: regro-cf-autotick-bot <36490558+regro-cf-autotick-bot@users.noreply.github.com> Date: Tue, 7 Apr 2026 18:02:00 +0000 Subject: [PATCH 24/41] MNT: Re-rendered with conda-smithy 3.58.1 and conda-forge-pinning 2026.04.07.10.45.5 --- .azure-pipelines/azure-pipelines-linux.yml | 88 ---------- .azure-pipelines/azure-pipelines-osx.yml | 10 +- ...nda-forge_python_debugfreethreadingno.yaml | 4 +- ...da-forge_python_debugfreethreadingyes.yaml | 4 +- ...argetsconda-forge_mainfreethreadingno.yaml | 4 +- ...rgetsconda-forge_mainfreethreadingyes.yaml | 4 +- .github/workflows/conda-build.yml | 164 +++++++++++++++++- .scripts/build_steps.sh | 1 + .scripts/run_docker_build.sh | 33 +++- LICENSE.txt | 3 +- azure-pipelines.yml | 1 - build-locally.py | 8 +- 12 files changed, 204 insertions(+), 120 deletions(-) delete mode 100755 .azure-pipelines/azure-pipelines-linux.yml diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml deleted file mode 100755 index 378d045f..00000000 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ /dev/null @@ -1,88 +0,0 @@ -# This file was generated automatically from conda-smithy. To update this configuration, -# update the conda-forge.yml and/or the recipe/meta.yaml. -# -*- mode: yaml -*- - -jobs: -- job: linux - pool: - vmImage: ubuntu-latest - strategy: - matrix: - linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno: - CONFIG: linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes: - CONFIG: linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno: - CONFIG: linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes: - CONFIG: linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno: - CONFIG: linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes: - CONFIG: linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno: - CONFIG: linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes: - CONFIG: linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno: - CONFIG: linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes: - CONFIG: linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingno: - CONFIG: linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingno - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes: - CONFIG: linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - timeoutInMinutes: 360 - variables: {} - - steps: - # configure qemu binfmt-misc running. This allows us to run docker containers - # embedded qemu-static - - script: | - docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes - ls /proc/sys/fs/binfmt_misc/ - condition: not(startsWith(variables['CONFIG'], 'linux_64')) - displayName: Configure binfmt_misc - - - script: | - export CI=azure - export flow_run_id=azure_$(Build.BuildNumber).$(System.JobAttempt) - export remote_url=$(Build.Repository.Uri) - export sha=$(Build.SourceVersion) - export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME - export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME}) - if [[ "${BUILD_REASON:-}" == "PullRequest" ]]; then - export IS_PR_BUILD="True" - else - export IS_PR_BUILD="False" - fi - .scripts/run_docker_build.sh - displayName: Run docker build - env: - BINSTAR_TOKEN: $(BINSTAR_TOKEN) - FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) - STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) diff --git a/.azure-pipelines/azure-pipelines-osx.yml b/.azure-pipelines/azure-pipelines-osx.yml index af6c938c..5849a399 100755 --- a/.azure-pipelines/azure-pipelines-osx.yml +++ b/.azure-pipelines/azure-pipelines-osx.yml @@ -5,33 +5,41 @@ jobs: - job: osx pool: - vmImage: macOS-15 + vmImage: $(VMIMAGE) strategy: matrix: osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno: CONFIG: osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno UPLOAD_PACKAGES: 'True' + VMIMAGE: macOS-15 osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes: CONFIG: osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes UPLOAD_PACKAGES: 'True' + VMIMAGE: macOS-15 osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno: CONFIG: osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno UPLOAD_PACKAGES: 'True' + VMIMAGE: macOS-15 osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes: CONFIG: osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes UPLOAD_PACKAGES: 'True' + VMIMAGE: macOS-15 osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno: CONFIG: osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno UPLOAD_PACKAGES: 'True' + VMIMAGE: macOS-15 osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes: CONFIG: osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes UPLOAD_PACKAGES: 'True' + VMIMAGE: macOS-15 osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno: CONFIG: osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno UPLOAD_PACKAGES: 'True' + VMIMAGE: macOS-15 osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes: CONFIG: osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes UPLOAD_PACKAGES: 'True' + VMIMAGE: macOS-15 timeoutInMinutes: 360 variables: {} diff --git a/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml b/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml index 05ac199c..36438c57 100644 --- a/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml +++ b/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml @@ -1,5 +1,5 @@ MACOSX_DEPLOYMENT_TARGET: -- '10.13' +- '11.0' MACOSX_SDK_VERSION: - '11.0' build_type: @@ -13,7 +13,7 @@ c_compiler_version: c_stdlib: - macosx_deployment_target c_stdlib_version: -- '10.13' +- '11.0' channel_sources: - conda-forge/label/python_rc,conda-forge channel_targets: diff --git a/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml b/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml index 2f973fde..c6f574a2 100644 --- a/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml +++ b/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml @@ -1,5 +1,5 @@ MACOSX_DEPLOYMENT_TARGET: -- '10.13' +- '11.0' MACOSX_SDK_VERSION: - '11.0' build_type: @@ -13,7 +13,7 @@ c_compiler_version: c_stdlib: - macosx_deployment_target c_stdlib_version: -- '10.13' +- '11.0' channel_sources: - conda-forge/label/python_rc,conda-forge channel_targets: diff --git a/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml b/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml index 745a1635..fec13a14 100644 --- a/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml +++ b/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml @@ -1,5 +1,5 @@ MACOSX_DEPLOYMENT_TARGET: -- '10.13' +- '11.0' MACOSX_SDK_VERSION: - '11.0' build_type: @@ -13,7 +13,7 @@ c_compiler_version: c_stdlib: - macosx_deployment_target c_stdlib_version: -- '10.13' +- '11.0' channel_sources: - conda-forge/label/python_rc,conda-forge channel_targets: diff --git a/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml b/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml index e4b54199..1affad6a 100644 --- a/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml +++ b/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml @@ -1,5 +1,5 @@ MACOSX_DEPLOYMENT_TARGET: -- '10.13' +- '11.0' MACOSX_SDK_VERSION: - '11.0' build_type: @@ -13,7 +13,7 @@ c_compiler_version: c_stdlib: - macosx_deployment_target c_stdlib_version: -- '10.13' +- '11.0' channel_sources: - conda-forge/label/python_rc,conda-forge channel_targets: diff --git a/.github/workflows/conda-build.yml b/.github/workflows/conda-build.yml index a948c6c1..f4645c5b 100644 --- a/.github/workflows/conda-build.yml +++ b/.github/workflows/conda-build.yml @@ -1,15 +1,165 @@ -# This file was added automatically by admin-migrations. Do not modify. -# It ensures that Github Actions can run once rerendered for the first time. +# This file was generated automatically from conda-smithy. To update this configuration, +# update the conda-forge.yml and/or the recipe/meta.yaml. # -*- mode: yaml -*- name: Build conda package on: - workflow_dispatch: + push: + + pull_request: + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} + cancel-in-progress: true jobs: build: - name: Disabled build - runs-on: ubuntu-slim - if: false + name: ${{ matrix.CONFIG }} + runs-on: ${{ matrix.runs_on }} + timeout-minutes: 360 + strategy: + fail-fast: false + max-parallel: 50 + matrix: + include: + - CONFIG: linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno + UPLOAD_PACKAGES: True + os: ubuntu + runs_on: ['ubuntu-latest'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + - CONFIG: linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes + UPLOAD_PACKAGES: True + os: ubuntu + runs_on: ['ubuntu-latest'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + - CONFIG: linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno + UPLOAD_PACKAGES: True + os: ubuntu + runs_on: ['ubuntu-latest'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + - CONFIG: linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes + UPLOAD_PACKAGES: True + os: ubuntu + runs_on: ['ubuntu-latest'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + - CONFIG: linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno + UPLOAD_PACKAGES: True + os: ubuntu + runs_on: ['ubuntu-latest'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + - CONFIG: linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes + UPLOAD_PACKAGES: True + os: ubuntu + runs_on: ['ubuntu-latest'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + - CONFIG: linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno + UPLOAD_PACKAGES: True + os: ubuntu + runs_on: ['ubuntu-latest'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + - CONFIG: linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes + UPLOAD_PACKAGES: True + os: ubuntu + runs_on: ['ubuntu-latest'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + - CONFIG: linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno + UPLOAD_PACKAGES: True + os: ubuntu + runs_on: ['ubuntu-latest'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + - CONFIG: linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes + UPLOAD_PACKAGES: True + os: ubuntu + runs_on: ['ubuntu-latest'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + - CONFIG: linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingno + UPLOAD_PACKAGES: True + os: ubuntu + runs_on: ['ubuntu-latest'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + - CONFIG: linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes + UPLOAD_PACKAGES: True + os: ubuntu + runs_on: ['ubuntu-latest'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 steps: - - run: exit 0 + + - name: Checkout code + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + + - name: Build on Linux + id: build-linux + if: matrix.os == 'ubuntu' + env: + CONFIG: ${{ matrix.CONFIG }} + UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }} + DOCKER_IMAGE: ${{ matrix.DOCKER_IMAGE }} + CI: github_actions + CONDA_FORGE_DOCKER_RUN_ARGS: "${{ matrix.CONDA_FORGE_DOCKER_RUN_ARGS }}" + BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }} + FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }} + STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }} + shell: bash + run: | + if [[ "$(uname -m)" == "x86_64" ]]; then + echo "::group::Configure binfmt_misc" + docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes + fi + export flow_run_id="github_$GITHUB_RUN_ID" + export remote_url="https://github.com/$GITHUB_REPOSITORY" + export sha="$GITHUB_SHA" + export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)" + export GIT_BRANCH="$(basename $GITHUB_REF)" + if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then + export IS_PR_BUILD="True" + else + export IS_PR_BUILD="False" + fi + echo "::endgroup::" + ./.scripts/run_docker_build.sh + + - name: Build on macOS + id: build-macos + if: matrix.os == 'macos' + env: + CONFIG: ${{ matrix.CONFIG }} + UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }} + CI: github_actions + BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }} + FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }} + STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }} + shell: bash + run: | + export flow_run_id="github_$GITHUB_RUN_ID" + export remote_url="https://github.com/$GITHUB_REPOSITORY" + export sha="$GITHUB_SHA" + export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)" + export GIT_BRANCH="$(basename $GITHUB_REF)" + if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then + export IS_PR_BUILD="True" + else + export IS_PR_BUILD="False" + fi + ./.scripts/run_osx_build.sh + + - name: Build on windows + id: build-windows + if: matrix.os == 'windows' + shell: cmd + run: | + set "flow_run_id=github_%GITHUB_RUN_ID%" + set "remote_url=https://github.com/%GITHUB_REPOSITORY%" + set "sha=%GITHUB_SHA%" + call ".scripts\run_win_build.bat" + env: + # default value; make it explicit, as it needs to match with artefact + # generation below. Not configurable for now, can be revisited later + CONDA_BLD_DIR: C:\bld + MINIFORGE_HOME: ${{ contains(runner.arch, 'ARM') && 'C' || 'D' }}:\Miniforge + PYTHONUNBUFFERED: 1 + CONFIG: ${{ matrix.CONFIG }} + CI: github_actions + UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }} + BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }} + FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }} + STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }} \ No newline at end of file diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index 780a358f..be060cb0 100755 --- a/.scripts/build_steps.sh +++ b/.scripts/build_steps.sh @@ -20,6 +20,7 @@ export PYTHONUNBUFFERED=1 export RECIPE_ROOT="${RECIPE_ROOT:-/home/conda/recipe_root}" export CI_SUPPORT="${FEEDSTOCK_ROOT}/.ci_support" export CONFIG_FILE="${CI_SUPPORT}/${CONFIG}.yaml" +export RATTLER_CACHE_DIR="${FEEDSTOCK_ROOT}/build_artifacts/pkg_cache" cat >~/.condarc </dev/null && pwd )" PROVIDER_DIR="$(basename "$THISDIR")" @@ -27,7 +29,7 @@ if [[ "${sha:-}" == "" ]]; then popd fi -docker info +${DOCKER_EXECUTABLE} info # In order for the conda-build process in the container to write to the mounted # volumes, we need to run with the same id as the host machine, which is @@ -35,6 +37,7 @@ docker info export HOST_USER_ID=$(id -u) # Check if docker-machine is being used (normally on OSX) and get the uid from # the VM + if hash docker-machine 2> /dev/null && docker-machine active > /dev/null; then export HOST_USER_ID=$(docker-machine ssh $(docker-machine active) id -u) fi @@ -76,16 +79,34 @@ if [ -z "${CI}" ]; then DOCKER_RUN_ARGS="-it ${DOCKER_RUN_ARGS}" fi -( endgroup "Configure Docker" ) 2> /dev/null +# Default volume suffix for Docker (preserve original behavior) +VOLUME_SUFFIX=",z" +# Podman-specific handling +if [ "${DOCKER_EXECUTABLE}" = "podman" ]; then + # Fix file permissions for rootless podman builds + podman unshare chown -R ${HOST_USER_ID}:${HOST_USER_ID} "${ARTIFACTS}" + podman unshare chown -R ${HOST_USER_ID}:${HOST_USER_ID} "${RECIPE_ROOT}" + + # Add SELinux label only if enforcing + if command -v getenforce &>/dev/null && [ "$(getenforce)" = "Enforcing" ]; then + VOLUME_SUFFIX=",z" + else + VOLUME_SUFFIX="" + fi +fi + +( endgroup "Configure Docker" ) 2> /dev/null ( startgroup "Start Docker" ) 2> /dev/null export UPLOAD_PACKAGES="${UPLOAD_PACKAGES:-True}" export IS_PR_BUILD="${IS_PR_BUILD:-False}" -docker pull "${DOCKER_IMAGE}" -docker run ${DOCKER_RUN_ARGS} \ - -v "${RECIPE_ROOT}":/home/conda/recipe_root:rw,z,delegated \ - -v "${FEEDSTOCK_ROOT}":/home/conda/feedstock_root:rw,z,delegated \ + +${DOCKER_EXECUTABLE} pull "${DOCKER_IMAGE}" + +${DOCKER_EXECUTABLE} run ${DOCKER_RUN_ARGS} \ + -v "${RECIPE_ROOT}":/home/conda/recipe_root:rw${VOLUME_SUFFIX},delegated \ + -v "${FEEDSTOCK_ROOT}":/home/conda/feedstock_root:rw${VOLUME_SUFFIX},delegated \ -e CONFIG \ -e HOST_USER_ID \ -e UPLOAD_PACKAGES \ diff --git a/LICENSE.txt b/LICENSE.txt index 2ec51d75..c5aa738f 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,6 +1,5 @@ BSD-3-Clause license -Copyright (c) 2015-2022, conda-forge contributors -All rights reserved. +Copyright (c) 2015-2026, conda-forge contributors Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 438c19be..03594e44 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -28,6 +28,5 @@ stages: condition: and(succeeded(), eq(dependencies.Check.outputs['Skip.result.start_main'], 'true')) dependsOn: Check jobs: - - template: ./.azure-pipelines/azure-pipelines-linux.yml - template: ./.azure-pipelines/azure-pipelines-osx.yml - template: ./.azure-pipelines/azure-pipelines-win.yml \ No newline at end of file diff --git a/build-locally.py b/build-locally.py index 9dfe4403..05493e4d 100755 --- a/build-locally.py +++ b/build-locally.py @@ -1,5 +1,6 @@ #!/bin/sh """exec" "python3" "$0" "$@" #""" # fmt: off # fmt: on + # # This file has been generated by conda-smithy in order to build the recipe # locally. @@ -27,13 +28,6 @@ def setup_environment(ns): os.path.dirname(__file__), "miniforge3" ) - # The default cache location might not be writable using docker on macOS. - if ns.config.startswith("linux") and platform.system() == "Darwin": - os.environ["CONDA_FORGE_DOCKER_RUN_ARGS"] = ( - os.environ.get("CONDA_FORGE_DOCKER_RUN_ARGS", "") - + " -e RATTLER_CACHE_DIR=/tmp/rattler_cache" - ) - def run_docker_build(ns): script = ".scripts/run_docker_build.sh" From 6fe770e03974c33c42034e638af95bb9e52f9d7e Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Wed, 8 Apr 2026 09:06:29 +1100 Subject: [PATCH 25/41] rebase patches --- ...01-Win32-Change-FD_SETSIZE-from-512-to-2048.patch | 2 +- .../0002-Win32-Do-not-download-externals.patch | 2 +- ...library-so-that-it-looks-in-sys.prefix-lib-.patch | 8 ++++---- ...egistry-lookup-unless-CONDA_PY_ALLOW_REG_PA.patch | 2 +- recipe/patches/0005-Unvendor-openssl.patch | 8 ++++---- recipe/patches/0006-Unvendor-sqlite3.patch | 2 +- .../0007-Add-CondaEcosystemModifyDllSearchPath.patch | 2 +- recipe/patches/0008-Doing-d1trimfile.patch | 2 +- recipe/patches/0009-cross-compile-darwin.patch | 6 +++--- recipe/patches/0010-Fix-TZPATH-on-windows.patch | 4 ++-- ...ld-search-work-with-SYSTEM_VERSION_COMPAT-1.patch | 2 +- recipe/patches/0012-Unvendor-bzip2.patch | 2 +- recipe/patches/0013-Unvendor-libffi.patch | 2 +- recipe/patches/0014-Unvendor-tcltk.patch | 2 +- recipe/patches/0015-unvendor-xz.patch | 2 +- recipe/patches/0016-unvendor-zlib.patch | 2 +- ...0017-Do-not-pass-g-to-GCC-when-not-Py_DEBUG.patch | 10 +++++----- recipe/patches/0018-Unvendor-expat.patch | 2 +- recipe/patches/0019-Remove-unused-readelf.patch | 4 ++-- ...20-Don-t-checksharedmods-if-cross-compiling.patch | 4 ++-- recipe/patches/0021-Override-configure-LIBFFI.patch | 6 +++--- recipe/patches/0022-Unvendor-libmpdec.patch | 2 +- recipe/patches/0023-Brand-conda-forge.patch | 2 +- ...fine-pid_t-as-it-might-conflict-with-the-ac.patch | 10 +++++----- recipe/patches/0025-Unvendor-zstd.patch | 12 ++++++------ ...et-Py_GIL_DISABLED-in-windows-to-match-unix.patch | 2 +- 26 files changed, 52 insertions(+), 52 deletions(-) diff --git a/recipe/patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch b/recipe/patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch index 6841a7a8..371daf0e 100644 --- a/recipe/patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch +++ b/recipe/patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch @@ -1,4 +1,4 @@ -From f08d8a962782a81d96f1b4eae2349e99761f625c Mon Sep 17 00:00:00 2001 +From bc87f7d41e5dbda75de04d93b6e60075f579d5f2 Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Wed, 16 Aug 2017 11:53:55 +0100 Subject: [PATCH 01/26] Win32: Change FD_SETSIZE from 512 to 2048 diff --git a/recipe/patches/0002-Win32-Do-not-download-externals.patch b/recipe/patches/0002-Win32-Do-not-download-externals.patch index 882aaed3..48fab71f 100644 --- a/recipe/patches/0002-Win32-Do-not-download-externals.patch +++ b/recipe/patches/0002-Win32-Do-not-download-externals.patch @@ -1,4 +1,4 @@ -From 6c69b44235d9bc5728ec1861823fb93c42af01b6 Mon Sep 17 00:00:00 2001 +From ac7720a49412776a03313fecf281be7aa6d9d6d3 Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Thu, 7 Sep 2017 11:35:47 +0100 Subject: [PATCH 02/26] Win32: Do not download externals diff --git a/recipe/patches/0003-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch b/recipe/patches/0003-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch index e521d321..34b6f163 100644 --- a/recipe/patches/0003-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch +++ b/recipe/patches/0003-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch @@ -1,4 +1,4 @@ -From f69fee4163758eee14ad4e73e1041bd838014297 Mon Sep 17 00:00:00 2001 +From f55dbad460ad50580aac291f5f68f77b4eb5e443 Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Tue, 5 Dec 2017 22:47:59 +0000 Subject: [PATCH 03/26] Fix find_library so that it looks in sys.prefix/lib @@ -25,10 +25,10 @@ index 583c47daff3..ab9b01c87e2 100644 yield os.path.join(executable_path, name[len('@executable_path/'):]) diff --git a/Lib/ctypes/util.py b/Lib/ctypes/util.py -index 378f12167c6..a0e4060721a 100644 +index 3b21658433b..2c900c1e2cf 100644 --- a/Lib/ctypes/util.py +++ b/Lib/ctypes/util.py -@@ -129,7 +129,8 @@ def dllist(): +@@ -135,7 +135,8 @@ def dllist(): elif os.name == "posix" and sys.platform in {"darwin", "ios", "tvos", "watchos"}: from ctypes.macholib.dyld import dyld_find as _dyld_find def find_library(name): @@ -38,7 +38,7 @@ index 378f12167c6..a0e4060721a 100644 '%s.dylib' % name, '%s.framework/%s' % (name, name)] for name in possible: -@@ -430,10 +431,30 @@ def _findLib_ld(name): +@@ -436,10 +437,30 @@ def _findLib_ld(name): pass # result will be None return result diff --git a/recipe/patches/0004-Disable-registry-lookup-unless-CONDA_PY_ALLOW_REG_PA.patch b/recipe/patches/0004-Disable-registry-lookup-unless-CONDA_PY_ALLOW_REG_PA.patch index 99ed98ad..ceeb7db6 100644 --- a/recipe/patches/0004-Disable-registry-lookup-unless-CONDA_PY_ALLOW_REG_PA.patch +++ b/recipe/patches/0004-Disable-registry-lookup-unless-CONDA_PY_ALLOW_REG_PA.patch @@ -1,4 +1,4 @@ -From 3a1dffd72017c2d159df2c9ab17e9a94fd96919e Mon Sep 17 00:00:00 2001 +From 29f68dcae94d2ad54f7e36df12175fb2bd3ef467 Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Sat, 27 Oct 2018 18:48:30 +0100 Subject: [PATCH 04/26] Disable registry lookup unless CONDA_PY_ALLOW_REG_PATHS diff --git a/recipe/patches/0005-Unvendor-openssl.patch b/recipe/patches/0005-Unvendor-openssl.patch index 5225a24e..a70a24c6 100644 --- a/recipe/patches/0005-Unvendor-openssl.patch +++ b/recipe/patches/0005-Unvendor-openssl.patch @@ -1,4 +1,4 @@ -From 282408229840efda93052f9b6e86775a378a527b Mon Sep 17 00:00:00 2001 +From 17fc2b4af07c3e2732f8f9c62f34d0e1b57597bf Mon Sep 17 00:00:00 2001 From: Nehal J Wani Date: Sat, 24 Nov 2018 20:38:02 -0600 Subject: [PATCH 05/26] Unvendor openssl @@ -90,7 +90,7 @@ index 7ca750dda8f..17eee400ebb 100644 diff --git a/PCbuild/python.props b/PCbuild/python.props -index cc157252655..253aa66f477 100644 +index da503ca0348..253aa66f477 100644 --- a/PCbuild/python.props +++ b/PCbuild/python.props @@ -68,6 +68,7 @@ @@ -112,8 +112,8 @@ index cc157252655..253aa66f477 100644 - $(libffiDir)$(ArchName)\ - $(libffiOutDir)include $(ExternalsDir)\mpdecimal-4.0.0\ -- $(ExternalsDir)openssl-3.0.18\ -- $(ExternalsDir)openssl-bin-3.0.18\$(ArchName)\ +- $(ExternalsDir)openssl-3.0.19\ +- $(ExternalsDir)openssl-bin-3.0.19\$(ArchName)\ - $(opensslOutDir)include $(ExternalsDir)\nasm-2.11.06\ - $(ExternalsDir)\zlib-1.3.1\ diff --git a/recipe/patches/0006-Unvendor-sqlite3.patch b/recipe/patches/0006-Unvendor-sqlite3.patch index db52ebe4..b5e6350f 100644 --- a/recipe/patches/0006-Unvendor-sqlite3.patch +++ b/recipe/patches/0006-Unvendor-sqlite3.patch @@ -1,4 +1,4 @@ -From f4c9cf54276abcd8ac61f8a7c47253eda5f8746f Mon Sep 17 00:00:00 2001 +From f89df782ea930b7c8c8fa3a5cedf6984c68bbe26 Mon Sep 17 00:00:00 2001 From: Nehal J Wani Date: Tue, 5 Oct 2021 12:42:06 -0700 Subject: [PATCH 06/26] Unvendor sqlite3 diff --git a/recipe/patches/0007-Add-CondaEcosystemModifyDllSearchPath.patch b/recipe/patches/0007-Add-CondaEcosystemModifyDllSearchPath.patch index cabc7a00..c4cd6b6b 100644 --- a/recipe/patches/0007-Add-CondaEcosystemModifyDllSearchPath.patch +++ b/recipe/patches/0007-Add-CondaEcosystemModifyDllSearchPath.patch @@ -1,4 +1,4 @@ -From d2a622755b5640370ddbf758ffe364fbc1c5d476 Mon Sep 17 00:00:00 2001 +From 853657f2bd5774cf51d88c95cf9f7cd27ceea315 Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Tue, 24 Dec 2019 18:37:17 +0100 Subject: [PATCH 07/26] Add CondaEcosystemModifyDllSearchPath() diff --git a/recipe/patches/0008-Doing-d1trimfile.patch b/recipe/patches/0008-Doing-d1trimfile.patch index f0d10dfd..ddc6d25b 100644 --- a/recipe/patches/0008-Doing-d1trimfile.patch +++ b/recipe/patches/0008-Doing-d1trimfile.patch @@ -1,4 +1,4 @@ -From b549b5d26e827079b0f11fffa2add7587c12a63b Mon Sep 17 00:00:00 2001 +From a638bbff1f76630d0b85554018670b6745b6a64e Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Tue, 31 Dec 2019 21:47:47 +0100 Subject: [PATCH 08/26] Doing d1trimfile diff --git a/recipe/patches/0009-cross-compile-darwin.patch b/recipe/patches/0009-cross-compile-darwin.patch index 24e7e4e6..f7341d9a 100644 --- a/recipe/patches/0009-cross-compile-darwin.patch +++ b/recipe/patches/0009-cross-compile-darwin.patch @@ -1,4 +1,4 @@ -From d0869e666f17978355eb8d5fc7e2fdc6319a2a96 Mon Sep 17 00:00:00 2001 +From 8b28429cdaf8b18f8a5f41b640c4c72c8e45897a Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Fri, 2 Oct 2020 00:03:12 +0200 Subject: [PATCH 09/26] cross compile darwin @@ -29,7 +29,7 @@ index b017b841311..f7821ae7f28 100644 try: import plistlib diff --git a/configure b/configure -index 645628fecf2..0d43c08ce03 100755 +index 8cfdda5a29b..be7e9c6713d 100755 --- a/configure +++ b/configure @@ -4111,6 +4111,9 @@ then @@ -53,7 +53,7 @@ index 645628fecf2..0d43c08ce03 100755 _host_ident= ;; diff --git a/configure.ac b/configure.ac -index d81c76fc122..90366bb6257 100644 +index 1acb91fd27b..73fe005fa3d 100644 --- a/configure.ac +++ b/configure.ac @@ -324,6 +324,9 @@ then diff --git a/recipe/patches/0010-Fix-TZPATH-on-windows.patch b/recipe/patches/0010-Fix-TZPATH-on-windows.patch index 2b55d655..6aacbd36 100644 --- a/recipe/patches/0010-Fix-TZPATH-on-windows.patch +++ b/recipe/patches/0010-Fix-TZPATH-on-windows.patch @@ -1,4 +1,4 @@ -From c4032e3b5fed532e99d33e6b4c44b34f5517749d Mon Sep 17 00:00:00 2001 +From f82fdb4890d33fa85807a8d9d8285df2c7580520 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 7 Oct 2020 10:08:30 -0500 Subject: [PATCH 10/26] Fix TZPATH on windows @@ -8,7 +8,7 @@ Subject: [PATCH 10/26] Fix TZPATH on windows 1 file changed, 2 insertions(+) diff --git a/Lib/sysconfig/__init__.py b/Lib/sysconfig/__init__.py -index 2ecbff222fe..9a263dea8da 100644 +index faf8273bd0b..9e6d9257cf7 100644 --- a/Lib/sysconfig/__init__.py +++ b/Lib/sysconfig/__init__.py @@ -175,6 +175,7 @@ def joinuser(*args): diff --git a/recipe/patches/0011-Make-dyld-search-work-with-SYSTEM_VERSION_COMPAT-1.patch b/recipe/patches/0011-Make-dyld-search-work-with-SYSTEM_VERSION_COMPAT-1.patch index 237379e8..c9441599 100644 --- a/recipe/patches/0011-Make-dyld-search-work-with-SYSTEM_VERSION_COMPAT-1.patch +++ b/recipe/patches/0011-Make-dyld-search-work-with-SYSTEM_VERSION_COMPAT-1.patch @@ -1,4 +1,4 @@ -From 951db4322fd19139a4622b90d7dbffeb15362208 Mon Sep 17 00:00:00 2001 +From 4bedca8871c1bbe2f5a5a90db8559791f6e9247b Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Mon, 25 Jan 2021 03:28:08 -0600 Subject: [PATCH 11/26] Make dyld search work with SYSTEM_VERSION_COMPAT=1 diff --git a/recipe/patches/0012-Unvendor-bzip2.patch b/recipe/patches/0012-Unvendor-bzip2.patch index beb86485..cb3f8751 100644 --- a/recipe/patches/0012-Unvendor-bzip2.patch +++ b/recipe/patches/0012-Unvendor-bzip2.patch @@ -1,4 +1,4 @@ -From 855f9e366d1d8ee00107a5d1ebf22da249e2dec5 Mon Sep 17 00:00:00 2001 +From a29058e2c62aea787df5ae1bc3e7e7c3d9f4e153 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Mon, 16 Aug 2021 02:56:27 -0700 Subject: [PATCH 12/26] Unvendor bzip2 diff --git a/recipe/patches/0013-Unvendor-libffi.patch b/recipe/patches/0013-Unvendor-libffi.patch index a48e680d..adbecf61 100644 --- a/recipe/patches/0013-Unvendor-libffi.patch +++ b/recipe/patches/0013-Unvendor-libffi.patch @@ -1,4 +1,4 @@ -From 5b3fdc0eaf7915c3ea1072d38451b2be4e6d7fef Mon Sep 17 00:00:00 2001 +From 0d896e048d3b7994ebce253e3210fddc3a6a004b Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Mon, 16 Aug 2021 03:07:40 -0700 Subject: [PATCH 13/26] Unvendor libffi diff --git a/recipe/patches/0014-Unvendor-tcltk.patch b/recipe/patches/0014-Unvendor-tcltk.patch index e2fa26f4..09088717 100644 --- a/recipe/patches/0014-Unvendor-tcltk.patch +++ b/recipe/patches/0014-Unvendor-tcltk.patch @@ -1,4 +1,4 @@ -From 5dfbe7d99923687ee9a3c4e91490e051b6d96462 Mon Sep 17 00:00:00 2001 +From c5d8868e9c9862196d1f58eca51af9e6bf276a02 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Fri, 20 Aug 2021 10:23:51 -0700 Subject: [PATCH 14/26] Unvendor tcltk diff --git a/recipe/patches/0015-unvendor-xz.patch b/recipe/patches/0015-unvendor-xz.patch index 5b1a13be..af29c9c2 100644 --- a/recipe/patches/0015-unvendor-xz.patch +++ b/recipe/patches/0015-unvendor-xz.patch @@ -1,4 +1,4 @@ -From 576269222bc04f75ff339dad05c7314cfa6d1f3a Mon Sep 17 00:00:00 2001 +From a6696e3a1910a1f70febf1dc65c7ae0ebb4e9da9 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Sat, 25 Sep 2021 10:07:05 -0700 Subject: [PATCH 15/26] unvendor xz diff --git a/recipe/patches/0016-unvendor-zlib.patch b/recipe/patches/0016-unvendor-zlib.patch index 093dc3d6..30757e80 100644 --- a/recipe/patches/0016-unvendor-zlib.patch +++ b/recipe/patches/0016-unvendor-zlib.patch @@ -1,4 +1,4 @@ -From 3c453d205961e3ea6b7f76226f680f3247348ab0 Mon Sep 17 00:00:00 2001 +From 5a3effe6f9518217a3343ff7f7aa17ec4a950f24 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 29 Sep 2021 15:21:55 -0700 Subject: [PATCH 16/26] unvendor zlib diff --git a/recipe/patches/0017-Do-not-pass-g-to-GCC-when-not-Py_DEBUG.patch b/recipe/patches/0017-Do-not-pass-g-to-GCC-when-not-Py_DEBUG.patch index 960de5e7..7180c8c8 100644 --- a/recipe/patches/0017-Do-not-pass-g-to-GCC-when-not-Py_DEBUG.patch +++ b/recipe/patches/0017-Do-not-pass-g-to-GCC-when-not-Py_DEBUG.patch @@ -1,4 +1,4 @@ -From e5418ff5c87e82a875616cac50f14e4b416c4010 Mon Sep 17 00:00:00 2001 +From b10930f94b1032084975cfe5e38c2678932e88de Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Wed, 16 Aug 2017 11:45:28 +0100 Subject: [PATCH 17/26] Do not pass -g to GCC when not Py_DEBUG @@ -10,7 +10,7 @@ This bloats our exe and our modules a lot. 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure -index 0d43c08ce03..9071abda187 100755 +index be7e9c6713d..62acbe693c6 100755 --- a/configure +++ b/configure @@ -5795,9 +5795,9 @@ if test $ac_test_CFLAGS; then @@ -25,7 +25,7 @@ index 0d43c08ce03..9071abda187 100755 fi else if test "$GCC" = yes; then -@@ -9585,7 +9585,7 @@ then +@@ -9625,7 +9625,7 @@ then if test "$Py_DEBUG" = 'true' ; then OPT="-g $PYDEBUG_CFLAGS -Wall" else @@ -35,10 +35,10 @@ index 0d43c08ce03..9071abda187 100755 ;; *) diff --git a/configure.ac b/configure.ac -index 90366bb6257..2c474ddebd4 100644 +index 73fe005fa3d..da7353cd686 100644 --- a/configure.ac +++ b/configure.ac -@@ -2314,7 +2314,7 @@ then +@@ -2317,7 +2317,7 @@ then if test "$Py_DEBUG" = 'true' ; then OPT="-g $PYDEBUG_CFLAGS -Wall" else diff --git a/recipe/patches/0018-Unvendor-expat.patch b/recipe/patches/0018-Unvendor-expat.patch index 301ceb82..c433b567 100644 --- a/recipe/patches/0018-Unvendor-expat.patch +++ b/recipe/patches/0018-Unvendor-expat.patch @@ -1,4 +1,4 @@ -From 75ac84943fc049794c11001bccd9ec271264df2f Mon Sep 17 00:00:00 2001 +From 71fa4441a757e1e9dad7ae3ffaeb252700a86106 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 29 Mar 2023 23:07:10 -0500 Subject: [PATCH 18/26] Unvendor expat diff --git a/recipe/patches/0019-Remove-unused-readelf.patch b/recipe/patches/0019-Remove-unused-readelf.patch index 763ff2d5..8267177a 100644 --- a/recipe/patches/0019-Remove-unused-readelf.patch +++ b/recipe/patches/0019-Remove-unused-readelf.patch @@ -1,4 +1,4 @@ -From 20358512ac8c49345e48205db7ed3154fc3f73eb Mon Sep 17 00:00:00 2001 +From d22b97f0708600e81541f2b7b6a1167ee5036c00 Mon Sep 17 00:00:00 2001 From: Charles Bousseau Date: Thu, 25 May 2023 17:56:53 -0400 Subject: [PATCH 19/26] Remove unused readelf @@ -15,7 +15,7 @@ Drop unused build dependency on ``readelf``. 1 file changed, 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in -index 38a355a23f2..b7157b1eb21 100644 +index 80a1b590c2f..0b3e988571d 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -38,7 +38,6 @@ CC= @CC@ diff --git a/recipe/patches/0020-Don-t-checksharedmods-if-cross-compiling.patch b/recipe/patches/0020-Don-t-checksharedmods-if-cross-compiling.patch index 1ec478a7..1dbd309d 100644 --- a/recipe/patches/0020-Don-t-checksharedmods-if-cross-compiling.patch +++ b/recipe/patches/0020-Don-t-checksharedmods-if-cross-compiling.patch @@ -1,4 +1,4 @@ -From e6f058d7968b8e14c78357b4b6fee271109f12a7 Mon Sep 17 00:00:00 2001 +From 3feeb1c1d8a5f839f917784a163b74392722cebe Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Fri, 1 Sep 2023 23:32:14 +0200 Subject: [PATCH 20/26] Don't checksharedmods if cross-compiling @@ -10,7 +10,7 @@ Subject: [PATCH 20/26] Don't checksharedmods if cross-compiling create mode 100755 if_runnable.sh diff --git a/Makefile.pre.in b/Makefile.pre.in -index b7157b1eb21..a16b15bc3ef 100644 +index 0b3e988571d..20f6c243f4c 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1597,7 +1597,7 @@ sharedmods: $(SHAREDMODS) pybuilddir.txt diff --git a/recipe/patches/0021-Override-configure-LIBFFI.patch b/recipe/patches/0021-Override-configure-LIBFFI.patch index 884c6e28..ed621420 100644 --- a/recipe/patches/0021-Override-configure-LIBFFI.patch +++ b/recipe/patches/0021-Override-configure-LIBFFI.patch @@ -1,4 +1,4 @@ -From 2d0c899745990b743c1818249f0c6f469670c341 Mon Sep 17 00:00:00 2001 +From fe59652c1d2b368168c8b0b2d99239b634774661 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Tue, 5 Sep 2023 21:51:31 +0200 Subject: [PATCH 21/26] Override configure LIBFFI @@ -8,10 +8,10 @@ Subject: [PATCH 21/26] Override configure LIBFFI 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure -index 9071abda187..66405ea0aca 100755 +index 62acbe693c6..966aaf6a29d 100755 --- a/configure +++ b/configure -@@ -15264,7 +15264,7 @@ if test "x$ac_cv_lib_ffi_ffi_call" = xyes +@@ -15304,7 +15304,7 @@ if test "x$ac_cv_lib_ffi_ffi_call" = xyes then : have_libffi=yes diff --git a/recipe/patches/0022-Unvendor-libmpdec.patch b/recipe/patches/0022-Unvendor-libmpdec.patch index 36238550..1e2d04b8 100644 --- a/recipe/patches/0022-Unvendor-libmpdec.patch +++ b/recipe/patches/0022-Unvendor-libmpdec.patch @@ -1,4 +1,4 @@ -From 6bc36d5fbb42300b8c0276fca832d0883d34bc38 Mon Sep 17 00:00:00 2001 +From 65928acddcde36a49500e3d002e69d2ee8f77c1a Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Fri, 16 Aug 2024 21:34:43 -0500 Subject: [PATCH 22/26] Unvendor libmpdec diff --git a/recipe/patches/0023-Brand-conda-forge.patch b/recipe/patches/0023-Brand-conda-forge.patch index 7bd5aa38..8b643c27 100644 --- a/recipe/patches/0023-Brand-conda-forge.patch +++ b/recipe/patches/0023-Brand-conda-forge.patch @@ -1,4 +1,4 @@ -From c5f04b22e082434d903f6a5632d08b623e7e3dc9 Mon Sep 17 00:00:00 2001 +From 42032895b96cd9ec5cba9e81544dd2684cf11f7c Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 28 Aug 2024 11:12:22 -0500 Subject: [PATCH 23/26] Brand conda-forge diff --git a/recipe/patches/0024-Do-not-define-pid_t-as-it-might-conflict-with-the-ac.patch b/recipe/patches/0024-Do-not-define-pid_t-as-it-might-conflict-with-the-ac.patch index 6d6993cd..5629123a 100644 --- a/recipe/patches/0024-Do-not-define-pid_t-as-it-might-conflict-with-the-ac.patch +++ b/recipe/patches/0024-Do-not-define-pid_t-as-it-might-conflict-with-the-ac.patch @@ -1,4 +1,4 @@ -From 5cfc14457be90d160d31b2b7b67f04b944f843c5 Mon Sep 17 00:00:00 2001 +From 8b136967da9cfa41060e54e64ad4ee0ebe9a048e Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Sun, 12 Jan 2025 10:37:29 +0530 Subject: [PATCH 24/26] Do not define pid_t as it might conflict with the @@ -30,7 +30,7 @@ index 6313abf5485..bc8169e2f68 100644 module _testcapi [clinic start generated code]*/ diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c -index 228fe4eff58..1db7b51160e 100644 +index 53f630832f8..8cc5b40a8d0 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -23,6 +23,10 @@ @@ -60,7 +60,7 @@ index 34bc7331da9..abae4b19bf0 100644 module _testlimitedcapi [clinic start generated code]*/ diff --git a/Modules/clinic/posixmodule.c.h b/Modules/clinic/posixmodule.c.h -index 87a17935507..a88a9151cb6 100644 +index 1c7a860e1ec..64bdbdf23db 100644 --- a/Modules/clinic/posixmodule.c.h +++ b/Modules/clinic/posixmodule.c.h @@ -10,6 +10,10 @@ preserve @@ -75,7 +75,7 @@ index 87a17935507..a88a9151cb6 100644 "stat($module, /, path, *, dir_fd=None, follow_symlinks=True)\n" "--\n" diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c -index cb3a62d211a..428ef667745 100644 +index 31b2d28200c..cc7e40c0283 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -219,6 +219,7 @@ @@ -100,7 +100,7 @@ index 710a737ebcc..92d327b1e35 100644 #if _MSC_VER >= 1200 /* This file only exists in VC 6.0 or higher */ diff --git a/Python/remote_debug.h b/Python/remote_debug.h -index ed213859a8a..bd66dded8cd 100644 +index df1225f2eda..93b11c59309 100644 --- a/Python/remote_debug.h +++ b/Python/remote_debug.h @@ -28,6 +28,9 @@ extern "C" { diff --git a/recipe/patches/0025-Unvendor-zstd.patch b/recipe/patches/0025-Unvendor-zstd.patch index 5550b5fe..5394f086 100644 --- a/recipe/patches/0025-Unvendor-zstd.patch +++ b/recipe/patches/0025-Unvendor-zstd.patch @@ -1,4 +1,4 @@ -From 75773c30d72ec021f2b0250d90cf7e36524d4880 Mon Sep 17 00:00:00 2001 +From 9fbb5ed9fcf079c56d8cb68c82bff97d7ca47735 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Tue, 22 Jul 2025 18:07:54 +0200 Subject: [PATCH 25/26] Unvendor zstd @@ -195,8 +195,9 @@ index eec666e5eaf..5028bb5592d 100644 Header Files - -- Header Files\zstd -- ++ + Header Files\zstd + - - Header Files\zstd - @@ -258,9 +259,8 @@ index eec666e5eaf..5028bb5592d 100644 - Header Files\zstd - - -+ - Header Files\zstd - +- Header Files\zstd +- - + Header Files\zstd diff --git a/recipe/patches/0026-Set-Py_GIL_DISABLED-in-windows-to-match-unix.patch b/recipe/patches/0026-Set-Py_GIL_DISABLED-in-windows-to-match-unix.patch index d85922a8..eb963908 100644 --- a/recipe/patches/0026-Set-Py_GIL_DISABLED-in-windows-to-match-unix.patch +++ b/recipe/patches/0026-Set-Py_GIL_DISABLED-in-windows-to-match-unix.patch @@ -1,4 +1,4 @@ -From 69850a4863945e98a7ed61c8adde6692dc2c0424 Mon Sep 17 00:00:00 2001 +From 9fc166d6187fd4dc1be91b3e42b84840acf05bfc Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Tue, 2 Dec 2025 09:46:56 -0800 Subject: [PATCH 26/26] Set Py_GIL_DISABLED in windows to match unix From 85d775a20419c8dcee96218a9e818d06b385644a Mon Sep 17 00:00:00 2001 From: conda-forge-admin Date: Wed, 22 Apr 2026 19:34:16 +0000 Subject: [PATCH 26/41] [ci skip] [skip ci] [cf admin skip] ***NO_CI*** admin migration Username2IDMapping --- .recipe_maintainers.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .recipe_maintainers.json diff --git a/.recipe_maintainers.json b/.recipe_maintainers.json new file mode 100644 index 00000000..32e6787d --- /dev/null +++ b/.recipe_maintainers.json @@ -0,0 +1,12 @@ +{ + "chrisburr": 5220533, + "isuruf": 5234427, + "jakirkham": 3019665, + "katietz": 47363620, + "mbargull": 10598343, + "msarahan": 38393, + "ocefpaf": 950575, + "pelson": 810663, + "scopatz": 320553, + "xhochy": 70274 +} \ No newline at end of file From 7a6b30c71d56f14b37b2ecb44d99eee2e3a57573 Mon Sep 17 00:00:00 2001 From: regro-cf-autotick-bot <36490558+regro-cf-autotick-bot@users.noreply.github.com> Date: Sun, 10 May 2026 13:04:16 +0000 Subject: [PATCH 27/41] updated v3.14.5 --- recipe/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 41f14fc5..ca2344cd 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,4 +1,4 @@ -{% set version = "3.14.4" %} +{% set version = "3.14.5" %} {% set dev = "" %} {% set dev_ = "" %} {% set ver2 = '.'.join(version.split('.')[0:2]) %} @@ -46,7 +46,7 @@ package: source: - url: https://www.python.org/ftp/python/{{ version }}/Python-{{ version }}{{ dev }}.tar.xz # sha256 from: https://www.python.org/downloads/release/python-{{ ver3nd }}{{ dev }}/ - sha256: d923c51303e38e249136fc1bdf3568d56ecb03214efdef48516176d3d7faaef8 + sha256: 7e32597b99e5d9a39abed35de4693fa169df3e5850d4c334337ffd6a19a36db6 patches: - patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch - patches/0002-Win32-Do-not-download-externals.patch From 7a902a74f2a61ef430ccc7ad320d983278d76000 Mon Sep 17 00:00:00 2001 From: regro-cf-autotick-bot <36490558+regro-cf-autotick-bot@users.noreply.github.com> Date: Sun, 10 May 2026 13:05:29 +0000 Subject: [PATCH 28/41] MNT: Re-rendered with conda-smithy 3.61.2 and conda-forge-pinning 2026.05.09.13.09.1 --- .azure-pipelines/azure-pipelines-osx.yml | 8 ++++++++ .azure-pipelines/azure-pipelines-win.yml | 4 ++++ .github/workflows/conda-build.yml | 14 +++++++++++++- .gitignore | 1 + README.md | 16 ++++++++-------- 5 files changed, 34 insertions(+), 9 deletions(-) diff --git a/.azure-pipelines/azure-pipelines-osx.yml b/.azure-pipelines/azure-pipelines-osx.yml index 5849a399..4da4351b 100755 --- a/.azure-pipelines/azure-pipelines-osx.yml +++ b/.azure-pipelines/azure-pipelines-osx.yml @@ -12,34 +12,42 @@ jobs: CONFIG: osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno UPLOAD_PACKAGES: 'True' VMIMAGE: macOS-15 + store_build_artifacts: false osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes: CONFIG: osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes UPLOAD_PACKAGES: 'True' VMIMAGE: macOS-15 + store_build_artifacts: false osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno: CONFIG: osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno UPLOAD_PACKAGES: 'True' VMIMAGE: macOS-15 + store_build_artifacts: false osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes: CONFIG: osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes UPLOAD_PACKAGES: 'True' VMIMAGE: macOS-15 + store_build_artifacts: false osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno: CONFIG: osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno UPLOAD_PACKAGES: 'True' VMIMAGE: macOS-15 + store_build_artifacts: false osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes: CONFIG: osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes UPLOAD_PACKAGES: 'True' VMIMAGE: macOS-15 + store_build_artifacts: false osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno: CONFIG: osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno UPLOAD_PACKAGES: 'True' VMIMAGE: macOS-15 + store_build_artifacts: false osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes: CONFIG: osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes UPLOAD_PACKAGES: 'True' VMIMAGE: macOS-15 + store_build_artifacts: false timeoutInMinutes: 360 variables: {} diff --git a/.azure-pipelines/azure-pipelines-win.yml b/.azure-pipelines/azure-pipelines-win.yml index 90c44503..8fbb50c4 100755 --- a/.azure-pipelines/azure-pipelines-win.yml +++ b/.azure-pipelines/azure-pipelines-win.yml @@ -11,15 +11,19 @@ jobs: win_64_freethreadingno: CONFIG: win_64_freethreadingno UPLOAD_PACKAGES: 'True' + store_build_artifacts: false win_64_freethreadingyes: CONFIG: win_64_freethreadingyes UPLOAD_PACKAGES: 'True' + store_build_artifacts: false win_arm64_freethreadingno: CONFIG: win_arm64_freethreadingno UPLOAD_PACKAGES: 'True' + store_build_artifacts: false win_arm64_freethreadingyes: CONFIG: win_arm64_freethreadingyes UPLOAD_PACKAGES: 'True' + store_build_artifacts: false timeoutInMinutes: 360 variables: CONDA_BLD_PATH: D:\\bld\\ diff --git a/.github/workflows/conda-build.yml b/.github/workflows/conda-build.yml index f4645c5b..555761c2 100644 --- a/.github/workflows/conda-build.yml +++ b/.github/workflows/conda-build.yml @@ -23,61 +23,73 @@ jobs: matrix: include: - CONFIG: linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingno + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - CONFIG: linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes + STORE_BUILD_ARTIFACTS: False UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] @@ -154,7 +166,7 @@ jobs: env: # default value; make it explicit, as it needs to match with artefact # generation below. Not configurable for now, can be revisited later - CONDA_BLD_DIR: C:\bld + CONDA_BLD_PATH: C:\bld MINIFORGE_HOME: ${{ contains(runner.arch, 'ARM') && 'C' || 'D' }}:\Miniforge PYTHONUNBUFFERED: 1 CONFIG: ${{ matrix.CONFIG }} diff --git a/.gitignore b/.gitignore index 47b5408a..86a9c55b 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ # Ignore all files and folders in root * !/conda-forge.yml +!.recipe_maintainers.json # Don't ignore any files/folders if the parent folder is 'un-ignored' # This also avoids warnings when adding an already-checked file with an ignored parent. diff --git a/README.md b/README.md index 84b4babd..d5dd60e1 100644 --- a/README.md +++ b/README.md @@ -249,14 +249,14 @@ Current release info Installing python ================= -Installing `python` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with: +Installing `python` from the `conda-forge/label/python_debug` channel can be achieved by adding `conda-forge/label/python_debug` to your channels with: ``` -conda config --add channels conda-forge +conda config --add channels conda-forge/label/python_debug conda config --set channel_priority strict ``` -Once the `conda-forge` channel has been enabled, `cpython, libpython-static, python, python-freethreading, python-gil, python-jit` can be installed with `conda`: +Once the `conda-forge/label/python_debug` channel has been enabled, `cpython, libpython-static, python, python-freethreading, python-gil, python-jit` can be installed with `conda`: ``` conda install cpython libpython-static python python-freethreading python-gil python-jit @@ -271,26 +271,26 @@ mamba install cpython libpython-static python python-freethreading python-gil py It is possible to list all of the versions of `cpython` available on your platform with `conda`: ``` -conda search cpython --channel conda-forge +conda search cpython --channel conda-forge/label/python_debug ``` or with `mamba`: ``` -mamba search cpython --channel conda-forge +mamba search cpython --channel conda-forge/label/python_debug ``` Alternatively, `mamba repoquery` may provide more information: ``` # Search all versions available on your platform: -mamba repoquery search cpython --channel conda-forge +mamba repoquery search cpython --channel conda-forge/label/python_debug # List packages depending on `cpython`: -mamba repoquery whoneeds cpython --channel conda-forge +mamba repoquery whoneeds cpython --channel conda-forge/label/python_debug # List dependencies of `cpython`: -mamba repoquery depends cpython --channel conda-forge +mamba repoquery depends cpython --channel conda-forge/label/python_debug ``` From 0e014f36a6b74c9049fc2f709592dbc7ca287a1b Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Mon, 11 May 2026 08:03:27 +1100 Subject: [PATCH 29/41] rebase patches --- ...01-Win32-Change-FD_SETSIZE-from-512-to-2048.patch | 2 +- .../0002-Win32-Do-not-download-externals.patch | 2 +- ...library-so-that-it-looks-in-sys.prefix-lib-.patch | 2 +- ...egistry-lookup-unless-CONDA_PY_ALLOW_REG_PA.patch | 2 +- recipe/patches/0005-Unvendor-openssl.patch | 8 ++++---- recipe/patches/0006-Unvendor-sqlite3.patch | 2 +- .../0007-Add-CondaEcosystemModifyDllSearchPath.patch | 2 +- recipe/patches/0008-Doing-d1trimfile.patch | 2 +- recipe/patches/0009-cross-compile-darwin.patch | 10 +++++----- recipe/patches/0010-Fix-TZPATH-on-windows.patch | 2 +- ...ld-search-work-with-SYSTEM_VERSION_COMPAT-1.patch | 2 +- recipe/patches/0012-Unvendor-bzip2.patch | 2 +- recipe/patches/0013-Unvendor-libffi.patch | 2 +- recipe/patches/0014-Unvendor-tcltk.patch | 2 +- recipe/patches/0015-unvendor-xz.patch | 2 +- recipe/patches/0016-unvendor-zlib.patch | 2 +- ...0017-Do-not-pass-g-to-GCC-when-not-Py_DEBUG.patch | 12 ++++++------ recipe/patches/0018-Unvendor-expat.patch | 2 +- recipe/patches/0019-Remove-unused-readelf.patch | 4 ++-- ...20-Don-t-checksharedmods-if-cross-compiling.patch | 6 +++--- recipe/patches/0021-Override-configure-LIBFFI.patch | 6 +++--- recipe/patches/0022-Unvendor-libmpdec.patch | 2 +- recipe/patches/0023-Brand-conda-forge.patch | 2 +- ...fine-pid_t-as-it-might-conflict-with-the-ac.patch | 6 +++--- recipe/patches/0025-Unvendor-zstd.patch | 2 +- ...et-Py_GIL_DISABLED-in-windows-to-match-unix.patch | 2 +- 26 files changed, 45 insertions(+), 45 deletions(-) diff --git a/recipe/patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch b/recipe/patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch index 371daf0e..896bca9a 100644 --- a/recipe/patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch +++ b/recipe/patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch @@ -1,4 +1,4 @@ -From bc87f7d41e5dbda75de04d93b6e60075f579d5f2 Mon Sep 17 00:00:00 2001 +From beeefd6b9b6587c443b9822f0a1799ba02b1bfdf Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Wed, 16 Aug 2017 11:53:55 +0100 Subject: [PATCH 01/26] Win32: Change FD_SETSIZE from 512 to 2048 diff --git a/recipe/patches/0002-Win32-Do-not-download-externals.patch b/recipe/patches/0002-Win32-Do-not-download-externals.patch index 48fab71f..734dbe6c 100644 --- a/recipe/patches/0002-Win32-Do-not-download-externals.patch +++ b/recipe/patches/0002-Win32-Do-not-download-externals.patch @@ -1,4 +1,4 @@ -From ac7720a49412776a03313fecf281be7aa6d9d6d3 Mon Sep 17 00:00:00 2001 +From f75489f65b55fab066087b2bcf76f203f93025bc Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Thu, 7 Sep 2017 11:35:47 +0100 Subject: [PATCH 02/26] Win32: Do not download externals diff --git a/recipe/patches/0003-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch b/recipe/patches/0003-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch index 34b6f163..8419dfcd 100644 --- a/recipe/patches/0003-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch +++ b/recipe/patches/0003-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch @@ -1,4 +1,4 @@ -From f55dbad460ad50580aac291f5f68f77b4eb5e443 Mon Sep 17 00:00:00 2001 +From 8a72c28a7dde7e859ea1f26b654d18f36eb95774 Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Tue, 5 Dec 2017 22:47:59 +0000 Subject: [PATCH 03/26] Fix find_library so that it looks in sys.prefix/lib diff --git a/recipe/patches/0004-Disable-registry-lookup-unless-CONDA_PY_ALLOW_REG_PA.patch b/recipe/patches/0004-Disable-registry-lookup-unless-CONDA_PY_ALLOW_REG_PA.patch index ceeb7db6..cde1f1ae 100644 --- a/recipe/patches/0004-Disable-registry-lookup-unless-CONDA_PY_ALLOW_REG_PA.patch +++ b/recipe/patches/0004-Disable-registry-lookup-unless-CONDA_PY_ALLOW_REG_PA.patch @@ -1,4 +1,4 @@ -From 29f68dcae94d2ad54f7e36df12175fb2bd3ef467 Mon Sep 17 00:00:00 2001 +From 8db56658e2d81686aeef6f256227fc1251c1def4 Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Sat, 27 Oct 2018 18:48:30 +0100 Subject: [PATCH 04/26] Disable registry lookup unless CONDA_PY_ALLOW_REG_PATHS diff --git a/recipe/patches/0005-Unvendor-openssl.patch b/recipe/patches/0005-Unvendor-openssl.patch index a70a24c6..1b67952d 100644 --- a/recipe/patches/0005-Unvendor-openssl.patch +++ b/recipe/patches/0005-Unvendor-openssl.patch @@ -1,4 +1,4 @@ -From 17fc2b4af07c3e2732f8f9c62f34d0e1b57597bf Mon Sep 17 00:00:00 2001 +From b87d9909684a5d1ff1071f45d2a4373d8039a40b Mon Sep 17 00:00:00 2001 From: Nehal J Wani Date: Sat, 24 Nov 2018 20:38:02 -0600 Subject: [PATCH 05/26] Unvendor openssl @@ -90,7 +90,7 @@ index 7ca750dda8f..17eee400ebb 100644 diff --git a/PCbuild/python.props b/PCbuild/python.props -index da503ca0348..253aa66f477 100644 +index cc4103e99a6..253aa66f477 100644 --- a/PCbuild/python.props +++ b/PCbuild/python.props @@ -68,6 +68,7 @@ @@ -112,8 +112,8 @@ index da503ca0348..253aa66f477 100644 - $(libffiDir)$(ArchName)\ - $(libffiOutDir)include $(ExternalsDir)\mpdecimal-4.0.0\ -- $(ExternalsDir)openssl-3.0.19\ -- $(ExternalsDir)openssl-bin-3.0.19\$(ArchName)\ +- $(ExternalsDir)openssl-3.0.20\ +- $(ExternalsDir)openssl-bin-3.0.20\$(ArchName)\ - $(opensslOutDir)include $(ExternalsDir)\nasm-2.11.06\ - $(ExternalsDir)\zlib-1.3.1\ diff --git a/recipe/patches/0006-Unvendor-sqlite3.patch b/recipe/patches/0006-Unvendor-sqlite3.patch index b5e6350f..f87cf2d3 100644 --- a/recipe/patches/0006-Unvendor-sqlite3.patch +++ b/recipe/patches/0006-Unvendor-sqlite3.patch @@ -1,4 +1,4 @@ -From f89df782ea930b7c8c8fa3a5cedf6984c68bbe26 Mon Sep 17 00:00:00 2001 +From b293787cba0f0f51b514657b40c59e00a0df449c Mon Sep 17 00:00:00 2001 From: Nehal J Wani Date: Tue, 5 Oct 2021 12:42:06 -0700 Subject: [PATCH 06/26] Unvendor sqlite3 diff --git a/recipe/patches/0007-Add-CondaEcosystemModifyDllSearchPath.patch b/recipe/patches/0007-Add-CondaEcosystemModifyDllSearchPath.patch index c4cd6b6b..581261ee 100644 --- a/recipe/patches/0007-Add-CondaEcosystemModifyDllSearchPath.patch +++ b/recipe/patches/0007-Add-CondaEcosystemModifyDllSearchPath.patch @@ -1,4 +1,4 @@ -From 853657f2bd5774cf51d88c95cf9f7cd27ceea315 Mon Sep 17 00:00:00 2001 +From 76eba309f2a62780d7b720085c47f9502073e83c Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Tue, 24 Dec 2019 18:37:17 +0100 Subject: [PATCH 07/26] Add CondaEcosystemModifyDllSearchPath() diff --git a/recipe/patches/0008-Doing-d1trimfile.patch b/recipe/patches/0008-Doing-d1trimfile.patch index ddc6d25b..715dbfd4 100644 --- a/recipe/patches/0008-Doing-d1trimfile.patch +++ b/recipe/patches/0008-Doing-d1trimfile.patch @@ -1,4 +1,4 @@ -From a638bbff1f76630d0b85554018670b6745b6a64e Mon Sep 17 00:00:00 2001 +From 1ad68baafb6b6173f43a688ee2396be5bb80d716 Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Tue, 31 Dec 2019 21:47:47 +0100 Subject: [PATCH 08/26] Doing d1trimfile diff --git a/recipe/patches/0009-cross-compile-darwin.patch b/recipe/patches/0009-cross-compile-darwin.patch index f7341d9a..62c85f72 100644 --- a/recipe/patches/0009-cross-compile-darwin.patch +++ b/recipe/patches/0009-cross-compile-darwin.patch @@ -1,4 +1,4 @@ -From 8b28429cdaf8b18f8a5f41b640c4c72c8e45897a Mon Sep 17 00:00:00 2001 +From 28791c270d11f9c7109732ddfff9ecc49473a9d2 Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Fri, 2 Oct 2020 00:03:12 +0200 Subject: [PATCH 09/26] cross compile darwin @@ -29,10 +29,10 @@ index b017b841311..f7821ae7f28 100644 try: import plistlib diff --git a/configure b/configure -index 8cfdda5a29b..be7e9c6713d 100755 +index 30590a397f8..62fae1195fb 100755 --- a/configure +++ b/configure -@@ -4111,6 +4111,9 @@ then +@@ -4112,6 +4112,9 @@ then *-*-linux*) ac_sys_system=Linux ;; @@ -42,7 +42,7 @@ index 8cfdda5a29b..be7e9c6713d 100755 *-*-cygwin*) ac_sys_system=Cygwin ;; -@@ -4590,6 +4593,9 @@ if test "$cross_compiling" = yes; then +@@ -4591,6 +4594,9 @@ if test "$cross_compiling" = yes; then _host_ident=$host_cpu esac ;; @@ -53,7 +53,7 @@ index 8cfdda5a29b..be7e9c6713d 100755 _host_ident= ;; diff --git a/configure.ac b/configure.ac -index 1acb91fd27b..73fe005fa3d 100644 +index 87c0ead45a6..5b0c8eea724 100644 --- a/configure.ac +++ b/configure.ac @@ -324,6 +324,9 @@ then diff --git a/recipe/patches/0010-Fix-TZPATH-on-windows.patch b/recipe/patches/0010-Fix-TZPATH-on-windows.patch index 6aacbd36..7057173e 100644 --- a/recipe/patches/0010-Fix-TZPATH-on-windows.patch +++ b/recipe/patches/0010-Fix-TZPATH-on-windows.patch @@ -1,4 +1,4 @@ -From f82fdb4890d33fa85807a8d9d8285df2c7580520 Mon Sep 17 00:00:00 2001 +From 47e52678a3fed79141b2a6e55764f9f4dbd57fb5 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 7 Oct 2020 10:08:30 -0500 Subject: [PATCH 10/26] Fix TZPATH on windows diff --git a/recipe/patches/0011-Make-dyld-search-work-with-SYSTEM_VERSION_COMPAT-1.patch b/recipe/patches/0011-Make-dyld-search-work-with-SYSTEM_VERSION_COMPAT-1.patch index c9441599..c5884906 100644 --- a/recipe/patches/0011-Make-dyld-search-work-with-SYSTEM_VERSION_COMPAT-1.patch +++ b/recipe/patches/0011-Make-dyld-search-work-with-SYSTEM_VERSION_COMPAT-1.patch @@ -1,4 +1,4 @@ -From 4bedca8871c1bbe2f5a5a90db8559791f6e9247b Mon Sep 17 00:00:00 2001 +From b8aa2c7193d4c6747703004a469a9c50ec1fa870 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Mon, 25 Jan 2021 03:28:08 -0600 Subject: [PATCH 11/26] Make dyld search work with SYSTEM_VERSION_COMPAT=1 diff --git a/recipe/patches/0012-Unvendor-bzip2.patch b/recipe/patches/0012-Unvendor-bzip2.patch index cb3f8751..7f76ab20 100644 --- a/recipe/patches/0012-Unvendor-bzip2.patch +++ b/recipe/patches/0012-Unvendor-bzip2.patch @@ -1,4 +1,4 @@ -From a29058e2c62aea787df5ae1bc3e7e7c3d9f4e153 Mon Sep 17 00:00:00 2001 +From 573f7e93e08ab0f6b589cd5e6e3164bf7bf11a62 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Mon, 16 Aug 2021 02:56:27 -0700 Subject: [PATCH 12/26] Unvendor bzip2 diff --git a/recipe/patches/0013-Unvendor-libffi.patch b/recipe/patches/0013-Unvendor-libffi.patch index adbecf61..8345c1cd 100644 --- a/recipe/patches/0013-Unvendor-libffi.patch +++ b/recipe/patches/0013-Unvendor-libffi.patch @@ -1,4 +1,4 @@ -From 0d896e048d3b7994ebce253e3210fddc3a6a004b Mon Sep 17 00:00:00 2001 +From d8174073451f311fe02fe3ab9b86b61516503682 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Mon, 16 Aug 2021 03:07:40 -0700 Subject: [PATCH 13/26] Unvendor libffi diff --git a/recipe/patches/0014-Unvendor-tcltk.patch b/recipe/patches/0014-Unvendor-tcltk.patch index 09088717..41026bfe 100644 --- a/recipe/patches/0014-Unvendor-tcltk.patch +++ b/recipe/patches/0014-Unvendor-tcltk.patch @@ -1,4 +1,4 @@ -From c5d8868e9c9862196d1f58eca51af9e6bf276a02 Mon Sep 17 00:00:00 2001 +From fccbe2a0fb0b4254450505b0b5f924a52d4e261b Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Fri, 20 Aug 2021 10:23:51 -0700 Subject: [PATCH 14/26] Unvendor tcltk diff --git a/recipe/patches/0015-unvendor-xz.patch b/recipe/patches/0015-unvendor-xz.patch index af29c9c2..8aa90981 100644 --- a/recipe/patches/0015-unvendor-xz.patch +++ b/recipe/patches/0015-unvendor-xz.patch @@ -1,4 +1,4 @@ -From a6696e3a1910a1f70febf1dc65c7ae0ebb4e9da9 Mon Sep 17 00:00:00 2001 +From a1403bff6fbd63835c52c1eb1306c4dc52ea786f Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Sat, 25 Sep 2021 10:07:05 -0700 Subject: [PATCH 15/26] unvendor xz diff --git a/recipe/patches/0016-unvendor-zlib.patch b/recipe/patches/0016-unvendor-zlib.patch index 30757e80..fb7372f7 100644 --- a/recipe/patches/0016-unvendor-zlib.patch +++ b/recipe/patches/0016-unvendor-zlib.patch @@ -1,4 +1,4 @@ -From 5a3effe6f9518217a3343ff7f7aa17ec4a950f24 Mon Sep 17 00:00:00 2001 +From c8298da150c2f58d697ccf8629bd6d8454207c15 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 29 Sep 2021 15:21:55 -0700 Subject: [PATCH 16/26] unvendor zlib diff --git a/recipe/patches/0017-Do-not-pass-g-to-GCC-when-not-Py_DEBUG.patch b/recipe/patches/0017-Do-not-pass-g-to-GCC-when-not-Py_DEBUG.patch index 7180c8c8..11cf2472 100644 --- a/recipe/patches/0017-Do-not-pass-g-to-GCC-when-not-Py_DEBUG.patch +++ b/recipe/patches/0017-Do-not-pass-g-to-GCC-when-not-Py_DEBUG.patch @@ -1,4 +1,4 @@ -From b10930f94b1032084975cfe5e38c2678932e88de Mon Sep 17 00:00:00 2001 +From 7b2a0d7a38d533553a82996d6707da289ed53525 Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Wed, 16 Aug 2017 11:45:28 +0100 Subject: [PATCH 17/26] Do not pass -g to GCC when not Py_DEBUG @@ -10,10 +10,10 @@ This bloats our exe and our modules a lot. 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure -index be7e9c6713d..62acbe693c6 100755 +index 62fae1195fb..58a6040f872 100755 --- a/configure +++ b/configure -@@ -5795,9 +5795,9 @@ if test $ac_test_CFLAGS; then +@@ -5796,9 +5796,9 @@ if test $ac_test_CFLAGS; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then @@ -25,7 +25,7 @@ index be7e9c6713d..62acbe693c6 100755 fi else if test "$GCC" = yes; then -@@ -9625,7 +9625,7 @@ then +@@ -9679,7 +9679,7 @@ then if test "$Py_DEBUG" = 'true' ; then OPT="-g $PYDEBUG_CFLAGS -Wall" else @@ -35,10 +35,10 @@ index be7e9c6713d..62acbe693c6 100755 ;; *) diff --git a/configure.ac b/configure.ac -index 73fe005fa3d..da7353cd686 100644 +index 5b0c8eea724..fc6412b2a83 100644 --- a/configure.ac +++ b/configure.ac -@@ -2317,7 +2317,7 @@ then +@@ -2339,7 +2339,7 @@ then if test "$Py_DEBUG" = 'true' ; then OPT="-g $PYDEBUG_CFLAGS -Wall" else diff --git a/recipe/patches/0018-Unvendor-expat.patch b/recipe/patches/0018-Unvendor-expat.patch index c433b567..47d8499c 100644 --- a/recipe/patches/0018-Unvendor-expat.patch +++ b/recipe/patches/0018-Unvendor-expat.patch @@ -1,4 +1,4 @@ -From 71fa4441a757e1e9dad7ae3ffaeb252700a86106 Mon Sep 17 00:00:00 2001 +From 7731dd6164968061dc062b7fb1c91453071d6f46 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 29 Mar 2023 23:07:10 -0500 Subject: [PATCH 18/26] Unvendor expat diff --git a/recipe/patches/0019-Remove-unused-readelf.patch b/recipe/patches/0019-Remove-unused-readelf.patch index 8267177a..d85d2c61 100644 --- a/recipe/patches/0019-Remove-unused-readelf.patch +++ b/recipe/patches/0019-Remove-unused-readelf.patch @@ -1,4 +1,4 @@ -From d22b97f0708600e81541f2b7b6a1167ee5036c00 Mon Sep 17 00:00:00 2001 +From 1b92eda27ab5c4041716ca7edd664e7722d003f3 Mon Sep 17 00:00:00 2001 From: Charles Bousseau Date: Thu, 25 May 2023 17:56:53 -0400 Subject: [PATCH 19/26] Remove unused readelf @@ -15,7 +15,7 @@ Drop unused build dependency on ``readelf``. 1 file changed, 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in -index 80a1b590c2f..0b3e988571d 100644 +index da6d7c33156..1eed651e2fe 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -38,7 +38,6 @@ CC= @CC@ diff --git a/recipe/patches/0020-Don-t-checksharedmods-if-cross-compiling.patch b/recipe/patches/0020-Don-t-checksharedmods-if-cross-compiling.patch index 1dbd309d..376541d3 100644 --- a/recipe/patches/0020-Don-t-checksharedmods-if-cross-compiling.patch +++ b/recipe/patches/0020-Don-t-checksharedmods-if-cross-compiling.patch @@ -1,4 +1,4 @@ -From 3feeb1c1d8a5f839f917784a163b74392722cebe Mon Sep 17 00:00:00 2001 +From e40f33bd5a53580742acae864fb95986171bb70a Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Fri, 1 Sep 2023 23:32:14 +0200 Subject: [PATCH 20/26] Don't checksharedmods if cross-compiling @@ -10,10 +10,10 @@ Subject: [PATCH 20/26] Don't checksharedmods if cross-compiling create mode 100755 if_runnable.sh diff --git a/Makefile.pre.in b/Makefile.pre.in -index 0b3e988571d..20f6c243f4c 100644 +index 1eed651e2fe..94382a7ebe1 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -1597,7 +1597,7 @@ sharedmods: $(SHAREDMODS) pybuilddir.txt +@@ -1599,7 +1599,7 @@ sharedmods: $(SHAREDMODS) pybuilddir.txt # dependency on BUILDPYTHON ensures that the target is run last .PHONY: checksharedmods checksharedmods: sharedmods $(PYTHON_FOR_BUILD_DEPS) $(BUILDPYTHON) diff --git a/recipe/patches/0021-Override-configure-LIBFFI.patch b/recipe/patches/0021-Override-configure-LIBFFI.patch index ed621420..da0aa914 100644 --- a/recipe/patches/0021-Override-configure-LIBFFI.patch +++ b/recipe/patches/0021-Override-configure-LIBFFI.patch @@ -1,4 +1,4 @@ -From fe59652c1d2b368168c8b0b2d99239b634774661 Mon Sep 17 00:00:00 2001 +From 98d88de3ac347d1498505bb3b0a93bf40eb58584 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Tue, 5 Sep 2023 21:51:31 +0200 Subject: [PATCH 21/26] Override configure LIBFFI @@ -8,10 +8,10 @@ Subject: [PATCH 21/26] Override configure LIBFFI 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure -index 62acbe693c6..966aaf6a29d 100755 +index 58a6040f872..d3af49f5e52 100755 --- a/configure +++ b/configure -@@ -15304,7 +15304,7 @@ if test "x$ac_cv_lib_ffi_ffi_call" = xyes +@@ -15358,7 +15358,7 @@ if test "x$ac_cv_lib_ffi_ffi_call" = xyes then : have_libffi=yes diff --git a/recipe/patches/0022-Unvendor-libmpdec.patch b/recipe/patches/0022-Unvendor-libmpdec.patch index 1e2d04b8..7d8df6c9 100644 --- a/recipe/patches/0022-Unvendor-libmpdec.patch +++ b/recipe/patches/0022-Unvendor-libmpdec.patch @@ -1,4 +1,4 @@ -From 65928acddcde36a49500e3d002e69d2ee8f77c1a Mon Sep 17 00:00:00 2001 +From 64f79fdc06f2a4bc0669d01bc15ec48828d8aa04 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Fri, 16 Aug 2024 21:34:43 -0500 Subject: [PATCH 22/26] Unvendor libmpdec diff --git a/recipe/patches/0023-Brand-conda-forge.patch b/recipe/patches/0023-Brand-conda-forge.patch index 8b643c27..aadb97fa9 100644 --- a/recipe/patches/0023-Brand-conda-forge.patch +++ b/recipe/patches/0023-Brand-conda-forge.patch @@ -1,4 +1,4 @@ -From 42032895b96cd9ec5cba9e81544dd2684cf11f7c Mon Sep 17 00:00:00 2001 +From 0decb9be8dd5fa946a32f2b4131cf5d20207e755 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 28 Aug 2024 11:12:22 -0500 Subject: [PATCH 23/26] Brand conda-forge diff --git a/recipe/patches/0024-Do-not-define-pid_t-as-it-might-conflict-with-the-ac.patch b/recipe/patches/0024-Do-not-define-pid_t-as-it-might-conflict-with-the-ac.patch index 5629123a..95f93d65 100644 --- a/recipe/patches/0024-Do-not-define-pid_t-as-it-might-conflict-with-the-ac.patch +++ b/recipe/patches/0024-Do-not-define-pid_t-as-it-might-conflict-with-the-ac.patch @@ -1,4 +1,4 @@ -From 8b136967da9cfa41060e54e64ad4ee0ebe9a048e Mon Sep 17 00:00:00 2001 +From ffbe5dd381d0e1c1da006572b6da4cb99f36c99e Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Sun, 12 Jan 2025 10:37:29 +0530 Subject: [PATCH 24/26] Do not define pid_t as it might conflict with the @@ -30,7 +30,7 @@ index 6313abf5485..bc8169e2f68 100644 module _testcapi [clinic start generated code]*/ diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c -index 53f630832f8..8cc5b40a8d0 100644 +index 567966ca558..d4526ed915a 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -23,6 +23,10 @@ @@ -100,7 +100,7 @@ index 710a737ebcc..92d327b1e35 100644 #if _MSC_VER >= 1200 /* This file only exists in VC 6.0 or higher */ diff --git a/Python/remote_debug.h b/Python/remote_debug.h -index df1225f2eda..93b11c59309 100644 +index 6a7706bb76e..efd3a4c4953 100644 --- a/Python/remote_debug.h +++ b/Python/remote_debug.h @@ -28,6 +28,9 @@ extern "C" { diff --git a/recipe/patches/0025-Unvendor-zstd.patch b/recipe/patches/0025-Unvendor-zstd.patch index 5394f086..84d2be63 100644 --- a/recipe/patches/0025-Unvendor-zstd.patch +++ b/recipe/patches/0025-Unvendor-zstd.patch @@ -1,4 +1,4 @@ -From 9fbb5ed9fcf079c56d8cb68c82bff97d7ca47735 Mon Sep 17 00:00:00 2001 +From 5a981c1f933f53e35e2e9cddb24af4b7f5162524 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Tue, 22 Jul 2025 18:07:54 +0200 Subject: [PATCH 25/26] Unvendor zstd diff --git a/recipe/patches/0026-Set-Py_GIL_DISABLED-in-windows-to-match-unix.patch b/recipe/patches/0026-Set-Py_GIL_DISABLED-in-windows-to-match-unix.patch index eb963908..bb61c74f 100644 --- a/recipe/patches/0026-Set-Py_GIL_DISABLED-in-windows-to-match-unix.patch +++ b/recipe/patches/0026-Set-Py_GIL_DISABLED-in-windows-to-match-unix.patch @@ -1,4 +1,4 @@ -From 9fc166d6187fd4dc1be91b3e42b84840acf05bfc Mon Sep 17 00:00:00 2001 +From a1edec6cc57778800d48eacd98bbb029b31c3b99 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Tue, 2 Dec 2025 09:46:56 -0800 Subject: [PATCH 26/26] Set Py_GIL_DISABLED in windows to match unix From 028711f0afdc32ebea6957641f459dbba7c815c8 Mon Sep 17 00:00:00 2001 From: regro-cf-autotick-bot <36490558+regro-cf-autotick-bot@users.noreply.github.com> Date: Wed, 10 Jun 2026 11:57:24 +0000 Subject: [PATCH 30/41] updated v3.14.6 --- recipe/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index ca2344cd..793e4219 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,4 +1,4 @@ -{% set version = "3.14.5" %} +{% set version = "3.14.6" %} {% set dev = "" %} {% set dev_ = "" %} {% set ver2 = '.'.join(version.split('.')[0:2]) %} @@ -46,7 +46,7 @@ package: source: - url: https://www.python.org/ftp/python/{{ version }}/Python-{{ version }}{{ dev }}.tar.xz # sha256 from: https://www.python.org/downloads/release/python-{{ ver3nd }}{{ dev }}/ - sha256: 7e32597b99e5d9a39abed35de4693fa169df3e5850d4c334337ffd6a19a36db6 + sha256: 143b1dddefaec3bd2e21e3b839b34a2b7fb9842272883c576420d605e9f30c63 patches: - patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch - patches/0002-Win32-Do-not-download-externals.patch From 2b7d1e4f2a0c6d4f59c711ae79548837f2c4fad4 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Thu, 11 Jun 2026 11:20:53 +1100 Subject: [PATCH 31/41] add test for certificate handling regression --- recipe/run_test.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/recipe/run_test.py b/recipe/run_test.py index d53c4a38..bbe13e46 100644 --- a/recipe/run_test.py +++ b/recipe/run_test.py @@ -107,3 +107,11 @@ # See https://github.com/conda-forge/python-feedstock/issues/718 for context: assert sys.hash_info.algorithm.startswith("siphash") + +# xref https://github.com/conda-forge/openssl-feedstock/issues/237 +import ssl +print("openssl:", ssl.OPENSSL_VERSION) +pem = ssl.get_server_certificate(("pypi.org", 443)) +der = ssl.PEM_cert_to_DER_cert(pem) +ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT) +ctx.load_verify_locations(cadata=der) From e129e9173ab55a8271004382175a630b6881e2f3 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Thu, 11 Jun 2026 11:21:53 +1100 Subject: [PATCH 32/41] migrate to workflow_settings --- conda-forge.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conda-forge.yml b/conda-forge.yml index ab94597a..1c7c3c0e 100644 --- a/conda-forge.yml +++ b/conda-forge.yml @@ -20,3 +20,6 @@ provider: linux_aarch64: default linux_ppc64le: native test: native_and_emulated +workflow_settings: + store_build_artifacts: + - value: true From babe1dd57b80d10394868f16e84918779abde9fe Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Thu, 11 Jun 2026 11:23:28 +1100 Subject: [PATCH 33/41] go native for arm builds --- conda-forge.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/conda-forge.yml b/conda-forge.yml index 1c7c3c0e..d04fdbba 100644 --- a/conda-forge.yml +++ b/conda-forge.yml @@ -6,9 +6,7 @@ bot: - '3.12' - '3.13' build_platform: - linux_aarch64: linux_64 linux_ppc64le: linux_64 - osx_arm64: osx_64 win_arm64: win_64 conda_build: pkg_format: '2' @@ -18,7 +16,7 @@ github: tooling_branch_name: main provider: linux_aarch64: default - linux_ppc64le: native + osx_arm64: default test: native_and_emulated workflow_settings: store_build_artifacts: From 57eec5ed370f0467e9f16641f7d1e0cff0d988da Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Thu, 11 Jun 2026 12:46:43 +1100 Subject: [PATCH 34/41] rebase patches --- ...0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch | 4 ++-- .../patches/0002-Win32-Do-not-download-externals.patch | 2 +- ...d_library-so-that-it-looks-in-sys.prefix-lib-.patch | 2 +- ...-registry-lookup-unless-CONDA_PY_ALLOW_REG_PA.patch | 2 +- recipe/patches/0005-Unvendor-openssl.patch | 8 ++++---- recipe/patches/0006-Unvendor-sqlite3.patch | 2 +- .../0007-Add-CondaEcosystemModifyDllSearchPath.patch | 4 ++-- recipe/patches/0008-Doing-d1trimfile.patch | 4 ++-- recipe/patches/0009-cross-compile-darwin.patch | 6 +++--- recipe/patches/0010-Fix-TZPATH-on-windows.patch | 2 +- ...dyld-search-work-with-SYSTEM_VERSION_COMPAT-1.patch | 2 +- recipe/patches/0012-Unvendor-bzip2.patch | 2 +- recipe/patches/0013-Unvendor-libffi.patch | 2 +- recipe/patches/0014-Unvendor-tcltk.patch | 2 +- recipe/patches/0015-unvendor-xz.patch | 2 +- recipe/patches/0016-unvendor-zlib.patch | 2 +- .../0017-Do-not-pass-g-to-GCC-when-not-Py_DEBUG.patch | 6 +++--- recipe/patches/0018-Unvendor-expat.patch | 2 +- recipe/patches/0019-Remove-unused-readelf.patch | 4 ++-- ...0020-Don-t-checksharedmods-if-cross-compiling.patch | 4 ++-- recipe/patches/0021-Override-configure-LIBFFI.patch | 4 ++-- recipe/patches/0022-Unvendor-libmpdec.patch | 2 +- recipe/patches/0023-Brand-conda-forge.patch | 2 +- ...define-pid_t-as-it-might-conflict-with-the-ac.patch | 10 +++++----- recipe/patches/0025-Unvendor-zstd.patch | 2 +- ...-Set-Py_GIL_DISABLED-in-windows-to-match-unix.patch | 2 +- 26 files changed, 43 insertions(+), 43 deletions(-) diff --git a/recipe/patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch b/recipe/patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch index 896bca9a..2c182580 100644 --- a/recipe/patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch +++ b/recipe/patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch @@ -1,4 +1,4 @@ -From beeefd6b9b6587c443b9822f0a1799ba02b1bfdf Mon Sep 17 00:00:00 2001 +From 48fcc7c4d3d88ca7ffab052cfbee27512901d458 Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Wed, 16 Aug 2017 11:53:55 +0100 Subject: [PATCH 01/26] Win32: Change FD_SETSIZE from 512 to 2048 @@ -9,7 +9,7 @@ https://github.com/ContinuumIO/anaconda-issues/issues/1241 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c -index d234d504cb5..3856307c611 100644 +index 42bf1157ccc..fb3c27a9ac5 100644 --- a/Modules/selectmodule.c +++ b/Modules/selectmodule.c @@ -44,7 +44,7 @@ diff --git a/recipe/patches/0002-Win32-Do-not-download-externals.patch b/recipe/patches/0002-Win32-Do-not-download-externals.patch index 734dbe6c..ee286aac 100644 --- a/recipe/patches/0002-Win32-Do-not-download-externals.patch +++ b/recipe/patches/0002-Win32-Do-not-download-externals.patch @@ -1,4 +1,4 @@ -From f75489f65b55fab066087b2bcf76f203f93025bc Mon Sep 17 00:00:00 2001 +From d27b283f6f7b7372271cc862a0a0ae426815010e Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Thu, 7 Sep 2017 11:35:47 +0100 Subject: [PATCH 02/26] Win32: Do not download externals diff --git a/recipe/patches/0003-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch b/recipe/patches/0003-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch index 8419dfcd..a4d86b2a 100644 --- a/recipe/patches/0003-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch +++ b/recipe/patches/0003-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch @@ -1,4 +1,4 @@ -From 8a72c28a7dde7e859ea1f26b654d18f36eb95774 Mon Sep 17 00:00:00 2001 +From 8eec70e4cde56e34cef8d23083a08b9b4833d20d Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Tue, 5 Dec 2017 22:47:59 +0000 Subject: [PATCH 03/26] Fix find_library so that it looks in sys.prefix/lib diff --git a/recipe/patches/0004-Disable-registry-lookup-unless-CONDA_PY_ALLOW_REG_PA.patch b/recipe/patches/0004-Disable-registry-lookup-unless-CONDA_PY_ALLOW_REG_PA.patch index cde1f1ae..df164d2e 100644 --- a/recipe/patches/0004-Disable-registry-lookup-unless-CONDA_PY_ALLOW_REG_PA.patch +++ b/recipe/patches/0004-Disable-registry-lookup-unless-CONDA_PY_ALLOW_REG_PA.patch @@ -1,4 +1,4 @@ -From 8db56658e2d81686aeef6f256227fc1251c1def4 Mon Sep 17 00:00:00 2001 +From 6ef047bc92544cc2bb50f89d6f1746397efb4b04 Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Sat, 27 Oct 2018 18:48:30 +0100 Subject: [PATCH 04/26] Disable registry lookup unless CONDA_PY_ALLOW_REG_PATHS diff --git a/recipe/patches/0005-Unvendor-openssl.patch b/recipe/patches/0005-Unvendor-openssl.patch index 1b67952d..06ec5660 100644 --- a/recipe/patches/0005-Unvendor-openssl.patch +++ b/recipe/patches/0005-Unvendor-openssl.patch @@ -1,4 +1,4 @@ -From b87d9909684a5d1ff1071f45d2a4373d8039a40b Mon Sep 17 00:00:00 2001 +From aabd5c80763b1ce8c1220b9febccccc590ca7611 Mon Sep 17 00:00:00 2001 From: Nehal J Wani Date: Sat, 24 Nov 2018 20:38:02 -0600 Subject: [PATCH 05/26] Unvendor openssl @@ -90,7 +90,7 @@ index 7ca750dda8f..17eee400ebb 100644 diff --git a/PCbuild/python.props b/PCbuild/python.props -index cc4103e99a6..253aa66f477 100644 +index ce4a7781fbd..253aa66f477 100644 --- a/PCbuild/python.props +++ b/PCbuild/python.props @@ -68,6 +68,7 @@ @@ -112,8 +112,8 @@ index cc4103e99a6..253aa66f477 100644 - $(libffiDir)$(ArchName)\ - $(libffiOutDir)include $(ExternalsDir)\mpdecimal-4.0.0\ -- $(ExternalsDir)openssl-3.0.20\ -- $(ExternalsDir)openssl-bin-3.0.20\$(ArchName)\ +- $(ExternalsDir)openssl-3.5.7\ +- $(ExternalsDir)openssl-bin-3.5.7\$(ArchName)\ - $(opensslOutDir)include $(ExternalsDir)\nasm-2.11.06\ - $(ExternalsDir)\zlib-1.3.1\ diff --git a/recipe/patches/0006-Unvendor-sqlite3.patch b/recipe/patches/0006-Unvendor-sqlite3.patch index f87cf2d3..595aaf1b 100644 --- a/recipe/patches/0006-Unvendor-sqlite3.patch +++ b/recipe/patches/0006-Unvendor-sqlite3.patch @@ -1,4 +1,4 @@ -From b293787cba0f0f51b514657b40c59e00a0df449c Mon Sep 17 00:00:00 2001 +From ef9755d84ef3dfd8fdbe8e10363528da21afe502 Mon Sep 17 00:00:00 2001 From: Nehal J Wani Date: Tue, 5 Oct 2021 12:42:06 -0700 Subject: [PATCH 06/26] Unvendor sqlite3 diff --git a/recipe/patches/0007-Add-CondaEcosystemModifyDllSearchPath.patch b/recipe/patches/0007-Add-CondaEcosystemModifyDllSearchPath.patch index 581261ee..f406f87b 100644 --- a/recipe/patches/0007-Add-CondaEcosystemModifyDllSearchPath.patch +++ b/recipe/patches/0007-Add-CondaEcosystemModifyDllSearchPath.patch @@ -1,4 +1,4 @@ -From 76eba309f2a62780d7b720085c47f9502073e83c Mon Sep 17 00:00:00 2001 +From aeb6945890d75f21e022290f811bb0bd000e3369 Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Tue, 24 Dec 2019 18:37:17 +0100 Subject: [PATCH 07/26] Add CondaEcosystemModifyDllSearchPath() @@ -33,7 +33,7 @@ Co-authored-by: Isuru Fernando 1 file changed, 95 insertions(+) diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c -index 6963635213a..1790d5aad25 100644 +index 6241d6ddca1..fe2120940d2 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -80,6 +80,10 @@ diff --git a/recipe/patches/0008-Doing-d1trimfile.patch b/recipe/patches/0008-Doing-d1trimfile.patch index 715dbfd4..ecf355e7 100644 --- a/recipe/patches/0008-Doing-d1trimfile.patch +++ b/recipe/patches/0008-Doing-d1trimfile.patch @@ -1,4 +1,4 @@ -From 1ad68baafb6b6173f43a688ee2396be5bb80d716 Mon Sep 17 00:00:00 2001 +From 942cda22db307772ca4254743eae0f7bcc328641 Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Tue, 31 Dec 2019 21:47:47 +0100 Subject: [PATCH 08/26] Doing d1trimfile @@ -429,7 +429,7 @@ index 4e721e8ce09..3fec7516ed5 100644 \ No newline at end of file + diff --git a/PCbuild/_testcapi.vcxproj b/PCbuild/_testcapi.vcxproj -index a68f15d25aa..5c42f15c312 100644 +index 51c4bcc6b47..ccc81a417fa 100644 --- a/PCbuild/_testcapi.vcxproj +++ b/PCbuild/_testcapi.vcxproj @@ -92,6 +92,26 @@ diff --git a/recipe/patches/0009-cross-compile-darwin.patch b/recipe/patches/0009-cross-compile-darwin.patch index 62c85f72..7bf70722 100644 --- a/recipe/patches/0009-cross-compile-darwin.patch +++ b/recipe/patches/0009-cross-compile-darwin.patch @@ -1,4 +1,4 @@ -From 28791c270d11f9c7109732ddfff9ecc49473a9d2 Mon Sep 17 00:00:00 2001 +From 803aeaea8d4b1f6f62bf208a9c826664af1cc24c Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Fri, 2 Oct 2020 00:03:12 +0200 Subject: [PATCH 09/26] cross compile darwin @@ -29,7 +29,7 @@ index b017b841311..f7821ae7f28 100644 try: import plistlib diff --git a/configure b/configure -index 30590a397f8..62fae1195fb 100755 +index 2088290f0ee..13fa7eb8101 100755 --- a/configure +++ b/configure @@ -4112,6 +4112,9 @@ then @@ -53,7 +53,7 @@ index 30590a397f8..62fae1195fb 100755 _host_ident= ;; diff --git a/configure.ac b/configure.ac -index 87c0ead45a6..5b0c8eea724 100644 +index aed14946731..fcc0e58963e 100644 --- a/configure.ac +++ b/configure.ac @@ -324,6 +324,9 @@ then diff --git a/recipe/patches/0010-Fix-TZPATH-on-windows.patch b/recipe/patches/0010-Fix-TZPATH-on-windows.patch index 7057173e..1133ef81 100644 --- a/recipe/patches/0010-Fix-TZPATH-on-windows.patch +++ b/recipe/patches/0010-Fix-TZPATH-on-windows.patch @@ -1,4 +1,4 @@ -From 47e52678a3fed79141b2a6e55764f9f4dbd57fb5 Mon Sep 17 00:00:00 2001 +From 44df125643cd6cc308950430410ea157becfbb30 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 7 Oct 2020 10:08:30 -0500 Subject: [PATCH 10/26] Fix TZPATH on windows diff --git a/recipe/patches/0011-Make-dyld-search-work-with-SYSTEM_VERSION_COMPAT-1.patch b/recipe/patches/0011-Make-dyld-search-work-with-SYSTEM_VERSION_COMPAT-1.patch index c5884906..0bd0357e 100644 --- a/recipe/patches/0011-Make-dyld-search-work-with-SYSTEM_VERSION_COMPAT-1.patch +++ b/recipe/patches/0011-Make-dyld-search-work-with-SYSTEM_VERSION_COMPAT-1.patch @@ -1,4 +1,4 @@ -From b8aa2c7193d4c6747703004a469a9c50ec1fa870 Mon Sep 17 00:00:00 2001 +From 865dd0bfac76b1e793d0a8d70e736c3c79e3d5f6 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Mon, 25 Jan 2021 03:28:08 -0600 Subject: [PATCH 11/26] Make dyld search work with SYSTEM_VERSION_COMPAT=1 diff --git a/recipe/patches/0012-Unvendor-bzip2.patch b/recipe/patches/0012-Unvendor-bzip2.patch index 7f76ab20..0c206183 100644 --- a/recipe/patches/0012-Unvendor-bzip2.patch +++ b/recipe/patches/0012-Unvendor-bzip2.patch @@ -1,4 +1,4 @@ -From 573f7e93e08ab0f6b589cd5e6e3164bf7bf11a62 Mon Sep 17 00:00:00 2001 +From 04122ddcb01d55991402257c11217b6b6cb4ff26 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Mon, 16 Aug 2021 02:56:27 -0700 Subject: [PATCH 12/26] Unvendor bzip2 diff --git a/recipe/patches/0013-Unvendor-libffi.patch b/recipe/patches/0013-Unvendor-libffi.patch index 8345c1cd..77ab1968 100644 --- a/recipe/patches/0013-Unvendor-libffi.patch +++ b/recipe/patches/0013-Unvendor-libffi.patch @@ -1,4 +1,4 @@ -From d8174073451f311fe02fe3ab9b86b61516503682 Mon Sep 17 00:00:00 2001 +From 0cf3e68100c1c4bb1bc4a1aee5e6d9b2682af821 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Mon, 16 Aug 2021 03:07:40 -0700 Subject: [PATCH 13/26] Unvendor libffi diff --git a/recipe/patches/0014-Unvendor-tcltk.patch b/recipe/patches/0014-Unvendor-tcltk.patch index 41026bfe..0c010367 100644 --- a/recipe/patches/0014-Unvendor-tcltk.patch +++ b/recipe/patches/0014-Unvendor-tcltk.patch @@ -1,4 +1,4 @@ -From fccbe2a0fb0b4254450505b0b5f924a52d4e261b Mon Sep 17 00:00:00 2001 +From 771b7e5d29f2dabe5c5af3544cd52d942969fc87 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Fri, 20 Aug 2021 10:23:51 -0700 Subject: [PATCH 14/26] Unvendor tcltk diff --git a/recipe/patches/0015-unvendor-xz.patch b/recipe/patches/0015-unvendor-xz.patch index 8aa90981..50f96bf5 100644 --- a/recipe/patches/0015-unvendor-xz.patch +++ b/recipe/patches/0015-unvendor-xz.patch @@ -1,4 +1,4 @@ -From a1403bff6fbd63835c52c1eb1306c4dc52ea786f Mon Sep 17 00:00:00 2001 +From 3f4fd834df73f0d1329f4978eaca3115d6421cea Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Sat, 25 Sep 2021 10:07:05 -0700 Subject: [PATCH 15/26] unvendor xz diff --git a/recipe/patches/0016-unvendor-zlib.patch b/recipe/patches/0016-unvendor-zlib.patch index fb7372f7..fbba5345 100644 --- a/recipe/patches/0016-unvendor-zlib.patch +++ b/recipe/patches/0016-unvendor-zlib.patch @@ -1,4 +1,4 @@ -From c8298da150c2f58d697ccf8629bd6d8454207c15 Mon Sep 17 00:00:00 2001 +From ab500d12752b39f04c8aca04b6fe1249ae38ef51 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 29 Sep 2021 15:21:55 -0700 Subject: [PATCH 16/26] unvendor zlib diff --git a/recipe/patches/0017-Do-not-pass-g-to-GCC-when-not-Py_DEBUG.patch b/recipe/patches/0017-Do-not-pass-g-to-GCC-when-not-Py_DEBUG.patch index 11cf2472..64c6ba2f 100644 --- a/recipe/patches/0017-Do-not-pass-g-to-GCC-when-not-Py_DEBUG.patch +++ b/recipe/patches/0017-Do-not-pass-g-to-GCC-when-not-Py_DEBUG.patch @@ -1,4 +1,4 @@ -From 7b2a0d7a38d533553a82996d6707da289ed53525 Mon Sep 17 00:00:00 2001 +From 719981a07f9546b08648c1e80d7d42224dd6ed9a Mon Sep 17 00:00:00 2001 From: Ray Donnelly Date: Wed, 16 Aug 2017 11:45:28 +0100 Subject: [PATCH 17/26] Do not pass -g to GCC when not Py_DEBUG @@ -10,7 +10,7 @@ This bloats our exe and our modules a lot. 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure -index 62fae1195fb..58a6040f872 100755 +index 13fa7eb8101..c47039af150 100755 --- a/configure +++ b/configure @@ -5796,9 +5796,9 @@ if test $ac_test_CFLAGS; then @@ -35,7 +35,7 @@ index 62fae1195fb..58a6040f872 100755 ;; *) diff --git a/configure.ac b/configure.ac -index 5b0c8eea724..fc6412b2a83 100644 +index fcc0e58963e..3969e38be04 100644 --- a/configure.ac +++ b/configure.ac @@ -2339,7 +2339,7 @@ then diff --git a/recipe/patches/0018-Unvendor-expat.patch b/recipe/patches/0018-Unvendor-expat.patch index 47d8499c..46e7f22f 100644 --- a/recipe/patches/0018-Unvendor-expat.patch +++ b/recipe/patches/0018-Unvendor-expat.patch @@ -1,4 +1,4 @@ -From 7731dd6164968061dc062b7fb1c91453071d6f46 Mon Sep 17 00:00:00 2001 +From bac6bfc09cf09d73895fa839d0464a9f60b9320d Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 29 Mar 2023 23:07:10 -0500 Subject: [PATCH 18/26] Unvendor expat diff --git a/recipe/patches/0019-Remove-unused-readelf.patch b/recipe/patches/0019-Remove-unused-readelf.patch index d85d2c61..d68a608f 100644 --- a/recipe/patches/0019-Remove-unused-readelf.patch +++ b/recipe/patches/0019-Remove-unused-readelf.patch @@ -1,4 +1,4 @@ -From 1b92eda27ab5c4041716ca7edd664e7722d003f3 Mon Sep 17 00:00:00 2001 +From 5f0b263a122f114cd65fec4310a3052e9151d512 Mon Sep 17 00:00:00 2001 From: Charles Bousseau Date: Thu, 25 May 2023 17:56:53 -0400 Subject: [PATCH 19/26] Remove unused readelf @@ -15,7 +15,7 @@ Drop unused build dependency on ``readelf``. 1 file changed, 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in -index da6d7c33156..1eed651e2fe 100644 +index f86d7363e09..997fdedffa1 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -38,7 +38,6 @@ CC= @CC@ diff --git a/recipe/patches/0020-Don-t-checksharedmods-if-cross-compiling.patch b/recipe/patches/0020-Don-t-checksharedmods-if-cross-compiling.patch index 376541d3..c6f1063e 100644 --- a/recipe/patches/0020-Don-t-checksharedmods-if-cross-compiling.patch +++ b/recipe/patches/0020-Don-t-checksharedmods-if-cross-compiling.patch @@ -1,4 +1,4 @@ -From e40f33bd5a53580742acae864fb95986171bb70a Mon Sep 17 00:00:00 2001 +From 73b753202af935b523b690a24a143d88b0ab5224 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Fri, 1 Sep 2023 23:32:14 +0200 Subject: [PATCH 20/26] Don't checksharedmods if cross-compiling @@ -10,7 +10,7 @@ Subject: [PATCH 20/26] Don't checksharedmods if cross-compiling create mode 100755 if_runnable.sh diff --git a/Makefile.pre.in b/Makefile.pre.in -index 1eed651e2fe..94382a7ebe1 100644 +index 997fdedffa1..1ab701a52dd 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1599,7 +1599,7 @@ sharedmods: $(SHAREDMODS) pybuilddir.txt diff --git a/recipe/patches/0021-Override-configure-LIBFFI.patch b/recipe/patches/0021-Override-configure-LIBFFI.patch index da0aa914..531e3dd0 100644 --- a/recipe/patches/0021-Override-configure-LIBFFI.patch +++ b/recipe/patches/0021-Override-configure-LIBFFI.patch @@ -1,4 +1,4 @@ -From 98d88de3ac347d1498505bb3b0a93bf40eb58584 Mon Sep 17 00:00:00 2001 +From 15dd45a639190a9307dc229b37bbb1a7c651897a Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Tue, 5 Sep 2023 21:51:31 +0200 Subject: [PATCH 21/26] Override configure LIBFFI @@ -8,7 +8,7 @@ Subject: [PATCH 21/26] Override configure LIBFFI 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure -index 58a6040f872..d3af49f5e52 100755 +index c47039af150..56788a4a9b9 100755 --- a/configure +++ b/configure @@ -15358,7 +15358,7 @@ if test "x$ac_cv_lib_ffi_ffi_call" = xyes diff --git a/recipe/patches/0022-Unvendor-libmpdec.patch b/recipe/patches/0022-Unvendor-libmpdec.patch index 7d8df6c9..e28b2b2d 100644 --- a/recipe/patches/0022-Unvendor-libmpdec.patch +++ b/recipe/patches/0022-Unvendor-libmpdec.patch @@ -1,4 +1,4 @@ -From 64f79fdc06f2a4bc0669d01bc15ec48828d8aa04 Mon Sep 17 00:00:00 2001 +From eb1432807cab49ff047fce3cde700f7488379dd6 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Fri, 16 Aug 2024 21:34:43 -0500 Subject: [PATCH 22/26] Unvendor libmpdec diff --git a/recipe/patches/0023-Brand-conda-forge.patch b/recipe/patches/0023-Brand-conda-forge.patch index aadb97fa9..99eda784 100644 --- a/recipe/patches/0023-Brand-conda-forge.patch +++ b/recipe/patches/0023-Brand-conda-forge.patch @@ -1,4 +1,4 @@ -From 0decb9be8dd5fa946a32f2b4131cf5d20207e755 Mon Sep 17 00:00:00 2001 +From 5076150e13869eef46ae60f3d1b242b417688461 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 28 Aug 2024 11:12:22 -0500 Subject: [PATCH 23/26] Brand conda-forge diff --git a/recipe/patches/0024-Do-not-define-pid_t-as-it-might-conflict-with-the-ac.patch b/recipe/patches/0024-Do-not-define-pid_t-as-it-might-conflict-with-the-ac.patch index 95f93d65..bf081a10 100644 --- a/recipe/patches/0024-Do-not-define-pid_t-as-it-might-conflict-with-the-ac.patch +++ b/recipe/patches/0024-Do-not-define-pid_t-as-it-might-conflict-with-the-ac.patch @@ -1,4 +1,4 @@ -From ffbe5dd381d0e1c1da006572b6da4cb99f36c99e Mon Sep 17 00:00:00 2001 +From 68b6f1e2b050062c5541c5064dc12f4c38b68124 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Sun, 12 Jan 2025 10:37:29 +0530 Subject: [PATCH 24/26] Do not define pid_t as it might conflict with the @@ -30,7 +30,7 @@ index 6313abf5485..bc8169e2f68 100644 module _testcapi [clinic start generated code]*/ diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c -index 567966ca558..d4526ed915a 100644 +index b5aba8d64ac..5a419ea0f8d 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -23,6 +23,10 @@ @@ -45,7 +45,7 @@ index 567966ca558..d4526ed915a 100644 # error "The public headers should not include , see gh-48924" #endif diff --git a/Modules/_testlimitedcapi/long.c b/Modules/_testlimitedcapi/long.c -index 34bc7331da9..abae4b19bf0 100644 +index 99b9e96760d..932fef0497f 100644 --- a/Modules/_testlimitedcapi/long.c +++ b/Modules/_testlimitedcapi/long.c @@ -8,6 +8,10 @@ @@ -60,7 +60,7 @@ index 34bc7331da9..abae4b19bf0 100644 module _testlimitedcapi [clinic start generated code]*/ diff --git a/Modules/clinic/posixmodule.c.h b/Modules/clinic/posixmodule.c.h -index 1c7a860e1ec..64bdbdf23db 100644 +index 094580e7c23..02d74ec937d 100644 --- a/Modules/clinic/posixmodule.c.h +++ b/Modules/clinic/posixmodule.c.h @@ -10,6 +10,10 @@ preserve @@ -75,7 +75,7 @@ index 1c7a860e1ec..64bdbdf23db 100644 "stat($module, /, path, *, dir_fd=None, follow_symlinks=True)\n" "--\n" diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c -index 31b2d28200c..cc7e40c0283 100644 +index 69e28a1ff95..ca4d58dfd63 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -219,6 +219,7 @@ diff --git a/recipe/patches/0025-Unvendor-zstd.patch b/recipe/patches/0025-Unvendor-zstd.patch index 84d2be63..f3f0a4a4 100644 --- a/recipe/patches/0025-Unvendor-zstd.patch +++ b/recipe/patches/0025-Unvendor-zstd.patch @@ -1,4 +1,4 @@ -From 5a981c1f933f53e35e2e9cddb24af4b7f5162524 Mon Sep 17 00:00:00 2001 +From 70e96283f139a845467ecde9fe758dc84b1a252a Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Tue, 22 Jul 2025 18:07:54 +0200 Subject: [PATCH 25/26] Unvendor zstd diff --git a/recipe/patches/0026-Set-Py_GIL_DISABLED-in-windows-to-match-unix.patch b/recipe/patches/0026-Set-Py_GIL_DISABLED-in-windows-to-match-unix.patch index bb61c74f..99e33ac3 100644 --- a/recipe/patches/0026-Set-Py_GIL_DISABLED-in-windows-to-match-unix.patch +++ b/recipe/patches/0026-Set-Py_GIL_DISABLED-in-windows-to-match-unix.patch @@ -1,4 +1,4 @@ -From a1edec6cc57778800d48eacd98bbb029b31c3b99 Mon Sep 17 00:00:00 2001 +From 1fa1e88b901278be305383651f07b1ac605e61af Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Tue, 2 Dec 2025 09:46:56 -0800 Subject: [PATCH 26/26] Set Py_GIL_DISABLED in windows to match unix From 6220cb0d7ade663f7c961bf33433a967ad7d86ca Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Thu, 11 Jun 2026 12:48:49 +1100 Subject: [PATCH 35/41] MNT: Re-rendered with conda-smithy 2026.5.29 and conda-forge-pinning 2026.06.10.06.13.49 Other tools: - conda-build 26.5.0 - rattler-build 0.65.1 - rattler-build-conda-compat 1.4.14 --- .azure-pipelines/azure-pipelines-osx.yml | 81 ++++++-- .azure-pipelines/azure-pipelines-win.yml | 55 +++++- ...nda-forge_python_debugfreethreadingno.yaml | 2 +- ...da-forge_python_debugfreethreadingyes.yaml | 2 +- ...argetsconda-forge_mainfreethreadingno.yaml | 2 +- ...rgetsconda-forge_mainfreethreadingyes.yaml | 2 +- .github/workflows/conda-build.yml | 182 +++++++++++++++--- .scripts/build_steps.sh | 2 +- .scripts/create_conda_build_artifacts.bat | 77 ++++++++ .scripts/create_conda_build_artifacts.sh | 113 +++++++++++ .scripts/run_osx_build.sh | 4 +- .scripts/run_win_build.bat | 2 +- README.md | 107 +--------- 13 files changed, 478 insertions(+), 153 deletions(-) create mode 100755 .scripts/create_conda_build_artifacts.bat create mode 100755 .scripts/create_conda_build_artifacts.sh diff --git a/.azure-pipelines/azure-pipelines-osx.yml b/.azure-pipelines/azure-pipelines-osx.yml index 4da4351b..d1d3f47f 100755 --- a/.azure-pipelines/azure-pipelines-osx.yml +++ b/.azure-pipelines/azure-pipelines-osx.yml @@ -12,48 +12,74 @@ jobs: CONFIG: osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno UPLOAD_PACKAGES: 'True' VMIMAGE: macOS-15 - store_build_artifacts: false + build_workspace_dir: ~/miniforge3/conda-bld + store_build_artifacts: true + tools_install_dir: ~/miniforge3 + SHORT_CONFIG: osx_64_build_typedebugchannel_targetscon_h5e478946 osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes: CONFIG: osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes UPLOAD_PACKAGES: 'True' VMIMAGE: macOS-15 - store_build_artifacts: false + build_workspace_dir: ~/miniforge3/conda-bld + store_build_artifacts: true + tools_install_dir: ~/miniforge3 + SHORT_CONFIG: osx_64_build_typedebugchannel_targetscon_h116d3356 osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno: CONFIG: osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno UPLOAD_PACKAGES: 'True' VMIMAGE: macOS-15 - store_build_artifacts: false + build_workspace_dir: ~/miniforge3/conda-bld + store_build_artifacts: true + tools_install_dir: ~/miniforge3 + SHORT_CONFIG: osx_64_build_typereleasechannel_targetsc_h425d4db0 osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes: CONFIG: osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes UPLOAD_PACKAGES: 'True' VMIMAGE: macOS-15 - store_build_artifacts: false + build_workspace_dir: ~/miniforge3/conda-bld + store_build_artifacts: true + tools_install_dir: ~/miniforge3 + SHORT_CONFIG: osx_64_build_typereleasechannel_targetsc_haa8f77b8 osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno: CONFIG: osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno UPLOAD_PACKAGES: 'True' - VMIMAGE: macOS-15 - store_build_artifacts: false + VMIMAGE: macOS-15-arm64 + build_workspace_dir: ~/miniforge3/conda-bld + store_build_artifacts: true + tools_install_dir: ~/miniforge3 + SHORT_CONFIG: osx_arm64_build_typedebugchannel_targets_h4a1f0d05 osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes: CONFIG: osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes UPLOAD_PACKAGES: 'True' - VMIMAGE: macOS-15 - store_build_artifacts: false + VMIMAGE: macOS-15-arm64 + build_workspace_dir: ~/miniforge3/conda-bld + store_build_artifacts: true + tools_install_dir: ~/miniforge3 + SHORT_CONFIG: osx_arm64_build_typedebugchannel_targets_h49dbe0c1 osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno: CONFIG: osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno UPLOAD_PACKAGES: 'True' - VMIMAGE: macOS-15 - store_build_artifacts: false + VMIMAGE: macOS-15-arm64 + build_workspace_dir: ~/miniforge3/conda-bld + store_build_artifacts: true + tools_install_dir: ~/miniforge3 + SHORT_CONFIG: osx_arm64_build_typereleasechannel_targe_h0d9a29af osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes: CONFIG: osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes UPLOAD_PACKAGES: 'True' - VMIMAGE: macOS-15 - store_build_artifacts: false + VMIMAGE: macOS-15-arm64 + build_workspace_dir: ~/miniforge3/conda-bld + store_build_artifacts: true + tools_install_dir: ~/miniforge3 + SHORT_CONFIG: osx_arm64_build_typereleasechannel_targe_h92a1d5a6 timeoutInMinutes: 360 variables: {} steps: # TODO: Fast finish on azure pipelines? - script: | + export MINIFORGE_HOME=$(tools_install_dir) + export CONDA_BLD_PATH=$(build_workspace_dir) export CI=azure export flow_run_id=azure_$(Build.BuildNumber).$(System.JobAttempt) export remote_url=$(Build.Repository.Uri) @@ -72,3 +98,34 @@ jobs: BINSTAR_TOKEN: $(BINSTAR_TOKEN) FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) + + - script: | + export MINIFORGE_HOME=$(tools_install_dir) + export CONDA_BLD_PATH=$(build_workspace_dir) + export CI=azure + export CI_RUN_ID=$(build.BuildNumber).$(system.JobAttempt) + export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME}) + export ARTIFACT_STAGING_DIR="$(Build.ArtifactStagingDirectory)" + # Archive everything in CONDA_BLD_PATH except environments + export BLD_ARTIFACT_PREFIX=conda_artifacts + if [[ "$AGENT_JOBSTATUS" == "Failed" ]]; then + # Archive the CONDA_BLD_PATH environments only when the job fails + export ENV_ARTIFACT_PREFIX=conda_envs + fi + ./.scripts/create_conda_build_artifacts.sh + displayName: Prepare conda build artifacts + condition: and(succeededOrFailed(), eq(variables.store_build_artifacts, true)) + + - task: PublishPipelineArtifact@1 + displayName: Store conda build artifacts + condition: not(eq(variables.BLD_ARTIFACT_PATH, '')) + inputs: + targetPath: $(BLD_ARTIFACT_PATH) + artifactName: $(BLD_ARTIFACT_NAME) + + - task: PublishPipelineArtifact@1 + displayName: Store conda build environment artifacts + condition: not(eq(variables.ENV_ARTIFACT_PATH, '')) + inputs: + targetPath: $(ENV_ARTIFACT_PATH) + artifactName: $(ENV_ARTIFACT_NAME) diff --git a/.azure-pipelines/azure-pipelines-win.yml b/.azure-pipelines/azure-pipelines-win.yml index 8fbb50c4..e7142353 100755 --- a/.azure-pipelines/azure-pipelines-win.yml +++ b/.azure-pipelines/azure-pipelines-win.yml @@ -11,23 +11,33 @@ jobs: win_64_freethreadingno: CONFIG: win_64_freethreadingno UPLOAD_PACKAGES: 'True' - store_build_artifacts: false + build_workspace_dir: D:\\bld\\ + store_build_artifacts: true + tools_install_dir: D:\Miniforge + SHORT_CONFIG: win_64_freethreadingno win_64_freethreadingyes: CONFIG: win_64_freethreadingyes UPLOAD_PACKAGES: 'True' - store_build_artifacts: false + build_workspace_dir: D:\\bld\\ + store_build_artifacts: true + tools_install_dir: D:\Miniforge + SHORT_CONFIG: win_64_freethreadingyes win_arm64_freethreadingno: CONFIG: win_arm64_freethreadingno UPLOAD_PACKAGES: 'True' - store_build_artifacts: false + build_workspace_dir: C:\\bld\\ + store_build_artifacts: true + tools_install_dir: C:\Miniforge + SHORT_CONFIG: win_arm64_freethreadingno win_arm64_freethreadingyes: CONFIG: win_arm64_freethreadingyes UPLOAD_PACKAGES: 'True' - store_build_artifacts: false + build_workspace_dir: C:\\bld\\ + store_build_artifacts: true + tools_install_dir: C:\Miniforge + SHORT_CONFIG: win_arm64_freethreadingyes timeoutInMinutes: 360 variables: - CONDA_BLD_PATH: D:\\bld\\ - MINIFORGE_HOME: D:\Miniforge UPLOAD_TEMP: D:\\tmp steps: @@ -36,8 +46,8 @@ jobs: call ".scripts\run_win_build.bat" displayName: Run Windows build env: - MINIFORGE_HOME: $(MINIFORGE_HOME) - CONDA_BLD_PATH: $(CONDA_BLD_PATH) + MINIFORGE_HOME: $(tools_install_dir) + CONDA_BLD_PATH: $(build_workspace_dir) PYTHONUNBUFFERED: 1 CONFIG: $(CONFIG) CI: azure @@ -49,3 +59,32 @@ jobs: BINSTAR_TOKEN: $(BINSTAR_TOKEN) FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) + + - script: | + set MINIFORGE_HOME=$(tools_install_dir) + set CONDA_BLD_PATH=$(build_workspace_dir) + set CI=azure + set CI_RUN_ID=$(build.BuildNumber).$(system.JobAttempt) + set FEEDSTOCK_NAME=$(build.Repository.Name) + set ARTIFACT_STAGING_DIR=$(Build.ArtifactStagingDirectory) + set BLD_ARTIFACT_PREFIX=conda_artifacts + if "%AGENT_JOBSTATUS%" == "Failed" ( + set ENV_ARTIFACT_PREFIX=conda_envs + ) + call ".scripts\create_conda_build_artifacts.bat" + displayName: Prepare conda build artifacts + condition: and(succeededOrFailed(), eq(variables.store_build_artifacts, true)) + + - task: PublishPipelineArtifact@1 + displayName: Store conda build artifacts + condition: not(eq(variables.BLD_ARTIFACT_PATH, '')) + inputs: + targetPath: $(BLD_ARTIFACT_PATH) + artifactName: $(BLD_ARTIFACT_NAME) + + - task: PublishPipelineArtifact@1 + displayName: Store conda build environment artifacts + condition: not(eq(variables.ENV_ARTIFACT_PATH, '')) + inputs: + targetPath: $(ENV_ARTIFACT_PATH) + artifactName: $(ENV_ARTIFACT_NAME) diff --git a/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml b/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml index fd15ad54..a926bb76 100644 --- a/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml +++ b/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml @@ -19,7 +19,7 @@ cxx_compiler: cxx_compiler_version: - '14' docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 +- quay.io/condaforge/linux-anvil-aarch64:alma9 expat: - '2' freethreading: diff --git a/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml b/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml index 1b77335e..e326b66b 100644 --- a/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml +++ b/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml @@ -19,7 +19,7 @@ cxx_compiler: cxx_compiler_version: - '14' docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 +- quay.io/condaforge/linux-anvil-aarch64:alma9 expat: - '2' freethreading: diff --git a/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml b/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml index 9438623e..706f1686 100644 --- a/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml +++ b/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml @@ -19,7 +19,7 @@ cxx_compiler: cxx_compiler_version: - '14' docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 +- quay.io/condaforge/linux-anvil-aarch64:alma9 expat: - '2' freethreading: diff --git a/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml b/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml index 94c39101..6fea0031 100644 --- a/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml +++ b/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml @@ -19,7 +19,7 @@ cxx_compiler: cxx_compiler_version: - '14' docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 +- quay.io/condaforge/linux-anvil-aarch64:alma9 expat: - '2' freethreading: diff --git a/.github/workflows/conda-build.yml b/.github/workflows/conda-build.yml index 555761c2..a09c673a 100644 --- a/.github/workflows/conda-build.yml +++ b/.github/workflows/conda-build.yml @@ -23,77 +23,125 @@ jobs: matrix: include: - CONFIG: linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno - STORE_BUILD_ARTIFACTS: False + STORE_BUILD_ARTIFACTS: True + SHORT_CONFIG: linux_64_build_typedebugchannel_targetsc_h10d856d4 UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + tools_install_dir: ~/miniforge3 + build_workspace_dir: build_artifacts + docker_run_args: - CONFIG: linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes - STORE_BUILD_ARTIFACTS: False + STORE_BUILD_ARTIFACTS: True + SHORT_CONFIG: linux_64_build_typedebugchannel_targetsc_hf83d9e2d UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + tools_install_dir: ~/miniforge3 + build_workspace_dir: build_artifacts + docker_run_args: - CONFIG: linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno - STORE_BUILD_ARTIFACTS: False + STORE_BUILD_ARTIFACTS: True + SHORT_CONFIG: linux_64_build_typereleasechannel_target_h01f3c156 UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + tools_install_dir: ~/miniforge3 + build_workspace_dir: build_artifacts + docker_run_args: - CONFIG: linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes - STORE_BUILD_ARTIFACTS: False + STORE_BUILD_ARTIFACTS: True + SHORT_CONFIG: linux_64_build_typereleasechannel_target_hf5ff4d16 UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + tools_install_dir: ~/miniforge3 + build_workspace_dir: build_artifacts + docker_run_args: - CONFIG: linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno - STORE_BUILD_ARTIFACTS: False + STORE_BUILD_ARTIFACTS: True + SHORT_CONFIG: linux_aarch64_build_typedebugchannel_tar_hd2db0a21 UPLOAD_PACKAGES: True os: ubuntu - runs_on: ['ubuntu-latest'] - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + runs_on: ['ubuntu-24.04-arm'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9 + tools_install_dir: ~/miniforge3 + build_workspace_dir: build_artifacts + docker_run_args: - CONFIG: linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes - STORE_BUILD_ARTIFACTS: False + STORE_BUILD_ARTIFACTS: True + SHORT_CONFIG: linux_aarch64_build_typedebugchannel_tar_h51de9693 UPLOAD_PACKAGES: True os: ubuntu - runs_on: ['ubuntu-latest'] - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + runs_on: ['ubuntu-24.04-arm'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9 + tools_install_dir: ~/miniforge3 + build_workspace_dir: build_artifacts + docker_run_args: - CONFIG: linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno - STORE_BUILD_ARTIFACTS: False + STORE_BUILD_ARTIFACTS: True + SHORT_CONFIG: linux_aarch64_build_typereleasechannel_t_hccc48f4a UPLOAD_PACKAGES: True os: ubuntu - runs_on: ['ubuntu-latest'] - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + runs_on: ['ubuntu-24.04-arm'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9 + tools_install_dir: ~/miniforge3 + build_workspace_dir: build_artifacts + docker_run_args: - CONFIG: linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes - STORE_BUILD_ARTIFACTS: False + STORE_BUILD_ARTIFACTS: True + SHORT_CONFIG: linux_aarch64_build_typereleasechannel_t_h78d2c7f5 UPLOAD_PACKAGES: True os: ubuntu - runs_on: ['ubuntu-latest'] - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + runs_on: ['ubuntu-24.04-arm'] + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9 + tools_install_dir: ~/miniforge3 + build_workspace_dir: build_artifacts + docker_run_args: - CONFIG: linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno - STORE_BUILD_ARTIFACTS: False + STORE_BUILD_ARTIFACTS: True + SHORT_CONFIG: linux_ppc64le_build_typedebugchannel_tar_hac8bb296 UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + tools_install_dir: ~/miniforge3 + build_workspace_dir: build_artifacts + docker_run_args: - CONFIG: linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes - STORE_BUILD_ARTIFACTS: False + STORE_BUILD_ARTIFACTS: True + SHORT_CONFIG: linux_ppc64le_build_typedebugchannel_tar_hb74ed675 UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + tools_install_dir: ~/miniforge3 + build_workspace_dir: build_artifacts + docker_run_args: - CONFIG: linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingno - STORE_BUILD_ARTIFACTS: False + STORE_BUILD_ARTIFACTS: True + SHORT_CONFIG: linux_ppc64le_build_typereleasechannel_t_h5454d1d5 UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + tools_install_dir: ~/miniforge3 + build_workspace_dir: build_artifacts + docker_run_args: - CONFIG: linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes - STORE_BUILD_ARTIFACTS: False + STORE_BUILD_ARTIFACTS: True + SHORT_CONFIG: linux_ppc64le_build_typereleasechannel_t_hed84b2c3 UPLOAD_PACKAGES: True os: ubuntu runs_on: ['ubuntu-latest'] DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 + tools_install_dir: ~/miniforge3 + build_workspace_dir: build_artifacts + docker_run_args: steps: - name: Checkout code @@ -103,11 +151,13 @@ jobs: id: build-linux if: matrix.os == 'ubuntu' env: + MINIFORGE_HOME: ${{ matrix.tools_install_dir }} + CONDA_BLD_PATH: ${{ matrix.build_workspace_dir }} CONFIG: ${{ matrix.CONFIG }} UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }} DOCKER_IMAGE: ${{ matrix.DOCKER_IMAGE }} CI: github_actions - CONDA_FORGE_DOCKER_RUN_ARGS: "${{ matrix.CONDA_FORGE_DOCKER_RUN_ARGS }}" + CONDA_FORGE_DOCKER_RUN_ARGS: "${{ matrix.docker_run_args }}" BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }} FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }} STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }} @@ -127,6 +177,8 @@ jobs: else export IS_PR_BUILD="False" fi + export MINIFORGE_HOME="${MINIFORGE_HOME/#~/${HOME}}" + export CONDA_BLD_PATH="${CONDA_BLD_PATH/#~/${HOME}}" echo "::endgroup::" ./.scripts/run_docker_build.sh @@ -134,6 +186,8 @@ jobs: id: build-macos if: matrix.os == 'macos' env: + MINIFORGE_HOME: ${{ matrix.tools_install_dir }} + CONDA_BLD_PATH: ${{ matrix.build_workspace_dir }} CONFIG: ${{ matrix.CONFIG }} UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }} CI: github_actions @@ -152,6 +206,8 @@ jobs: else export IS_PR_BUILD="False" fi + export MINIFORGE_HOME="${MINIFORGE_HOME/#~/${HOME}}" + export CONDA_BLD_PATH="${CONDA_BLD_PATH/#~/${HOME}}" ./.scripts/run_osx_build.sh - name: Build on windows @@ -164,14 +220,88 @@ jobs: set "sha=%GITHUB_SHA%" call ".scripts\run_win_build.bat" env: - # default value; make it explicit, as it needs to match with artefact - # generation below. Not configurable for now, can be revisited later - CONDA_BLD_PATH: C:\bld - MINIFORGE_HOME: ${{ contains(runner.arch, 'ARM') && 'C' || 'D' }}:\Miniforge + MINIFORGE_HOME: ${{ matrix.tools_install_dir }} + CONDA_BLD_PATH: ${{ matrix.build_workspace_dir }} PYTHONUNBUFFERED: 1 CONFIG: ${{ matrix.CONFIG }} CI: github_actions UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }} BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }} FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }} - STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }} \ No newline at end of file + STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }} + + - name: Determine build outcome + # this is to merge the status of the linux/osx/win builds into + # something we can easily reuse during artefact generation + id: determine-status + if: ${{ always() }} + shell: bash + env: + OS: ${{ matrix.os }} + run: | + if [[ "$OS" == "ubuntu" ]]; then + STATUS=${{ steps.build-linux.outcome }} + elif [[ "$OS" == "macos" ]]; then + STATUS=${{ steps.build-macos.outcome }} + elif [[ "$OS" == "windows" ]]; then + STATUS=${{ steps.build-windows.outcome }} + fi + if [ -z "$STATUS" ]; then + # steps that never ran will have empty status + STATUS="cancelled" + fi + echo "status=$STATUS" >> $GITHUB_OUTPUT + + - name: Prepare conda build artifacts + continue-on-error: true + id: prepare-artifacts + shell: bash + # we do not want to trigger artefact creation if the build was cancelled + if: ${{ always() && steps.determine-status.outputs.status != 'cancelled' && matrix.STORE_BUILD_ARTIFACTS }} + env: + CONDA_BLD_PATH: ${{ matrix.build_workspace_dir }} + CI: github_actions + CONFIG: ${{ matrix.CONFIG }} + SHORT_CONFIG: ${{ matrix.SHORT_CONFIG }} + JOB_STATUS: ${{ steps.determine-status.outputs.status }} + OS: ${{ matrix.os }} + run: | + export MINIFORGE_HOME="${MINIFORGE_HOME/#~/${HOME}}" + export CONDA_BLD_PATH="${CONDA_BLD_PATH/#~/${HOME}}" + export CI_RUN_ID=$GITHUB_RUN_ID + export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)" + export ARTIFACT_STAGING_DIR="$GITHUB_WORKSPACE" + # Archive everything in CONDA_BLD_PATH except environments + # Archive the CONDA_BLD_PATH environments only when the job fails + # Use different prefix for successful and failed build artifacts + # so random failures don't prevent rebuilds from creating artifacts. + if [ $JOB_STATUS == "failure" ]; then + export BLD_ARTIFACT_PREFIX="conda_artifacts" + export ENV_ARTIFACT_PREFIX="conda_envs" + else + export BLD_ARTIFACT_PREFIX="conda_pkgs" + fi + if [ $OS == "windows" ]; then + pwsh -Command ". '.scripts/create_conda_build_artifacts.bat'" + else + ./.scripts/create_conda_build_artifacts.sh + fi + + - name: Store conda build artifacts + uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 + if: ${{ always() && steps.prepare-artifacts.outcome == 'success' }} + with: + name: ${{ steps.prepare-artifacts.outputs.BLD_ARTIFACT_NAME }} + path: ${{ steps.prepare-artifacts.outputs.BLD_ARTIFACT_PATH }} + retention-days: 14 + continue-on-error: true + + - name: Store conda build environment artifacts + uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 + # only relevant if build failed, see above + if: ${{ always() && steps.determine-status.outputs.status == 'failure' && steps.prepare-artifacts.outcome == 'success' }} + with: + name: ${{ steps.prepare-artifacts.outputs.ENV_ARTIFACT_NAME }} + path: ${{ steps.prepare-artifacts.outputs.ENV_ARTIFACT_PATH }} + retention-days: 14 + continue-on-error: true \ No newline at end of file diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh index be060cb0..c83e212f 100755 --- a/.scripts/build_steps.sh +++ b/.scripts/build_steps.sh @@ -36,7 +36,7 @@ mv /opt/conda/conda-meta/history /opt/conda/conda-meta/history.$(date +%Y-%m-%d- echo > /opt/conda/conda-meta/history micromamba install --root-prefix ~/.conda --prefix /opt/conda \ --yes --override-channels --channel conda-forge --strict-channel-priority \ - pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=24.1" + pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=26.3" export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1 # set up the condarc diff --git a/.scripts/create_conda_build_artifacts.bat b/.scripts/create_conda_build_artifacts.bat new file mode 100755 index 00000000..6120712c --- /dev/null +++ b/.scripts/create_conda_build_artifacts.bat @@ -0,0 +1,77 @@ +setlocal enableextensions enabledelayedexpansion + +rem INPUTS (environment variables that need to be set before calling this script): +rem +rem CI (azure/github_actions/UNSET) +rem CI_RUN_ID (unique identifier for the CI job run) +rem FEEDSTOCK_NAME +rem CONFIG (build matrix configuration string) +rem SHORT_CONFIG (uniquely-shortened configuration string) +rem CONDA_BLD_PATH (path to the conda-bld directory) +rem ARTIFACT_STAGING_DIR (use working directory if unset) +rem BLD_ARTIFACT_PREFIX (prefix for the conda build artifact name, skip if unset) +rem ENV_ARTIFACT_PREFIX (prefix for the conda build environments artifact name, skip if unset) + +rem OUTPUTS +rem +rem BLD_ARTIFACT_NAME +rem BLD_ARTIFACT_PATH +rem ENV_ARTIFACT_NAME +rem ENV_ARTIFACT_PATH + +rem Check that the conda-build directory exists +if not exist %CONDA_BLD_PATH% ( + echo conda-build directory does not exist + exit 1 +) + +if not defined ARTIFACT_STAGING_DIR ( + rem Set staging dir to the working dir + set ARTIFACT_STAGING_DIR=%cd% +) + +rem Set a unique ID for the artifact(s), specialized for this particular job run +set ARTIFACT_UNIQUE_ID=%CI_RUN_ID%_%CONFIG% +if not "%ARTIFACT_UNIQUE_ID%" == "%ARTIFACT_UNIQUE_ID:~0,80%" ( + set ARTIFACT_UNIQUE_ID=%CI_RUN_ID%_%SHORT_CONFIG% +) + +rem Make the build artifact zip +if defined BLD_ARTIFACT_PREFIX ( + set BLD_ARTIFACT_NAME=%BLD_ARTIFACT_PREFIX%_%ARTIFACT_UNIQUE_ID% + echo BLD_ARTIFACT_NAME: !BLD_ARTIFACT_NAME! + + set "BLD_ARTIFACT_PATH=%ARTIFACT_STAGING_DIR%\%FEEDSTOCK_NAME%_%BLD_ARTIFACT_PREFIX%_%ARCHIVE_UNIQUE_ID%.zip" + 7z a "!BLD_ARTIFACT_PATH!" "%CONDA_BLD_PATH%" -xr^^!.git/ -xr^^!_*_env*/ -xr^^!*_cache/ -bb + if errorlevel 1 exit 1 + echo BLD_ARTIFACT_PATH: !BLD_ARTIFACT_PATH! + + if "%CI%" == "azure" ( + echo ##vso[task.setVariable variable=BLD_ARTIFACT_NAME]!BLD_ARTIFACT_NAME! + echo ##vso[task.setVariable variable=BLD_ARTIFACT_PATH]!BLD_ARTIFACT_PATH! + ) + if "%CI%" == "github_actions" ( + echo BLD_ARTIFACT_NAME=!BLD_ARTIFACT_NAME!>> !GITHUB_OUTPUT! + echo BLD_ARTIFACT_PATH=!BLD_ARTIFACT_PATH!>> !GITHUB_OUTPUT! + ) +) + +rem Make the environments artifact zip +if defined ENV_ARTIFACT_PREFIX ( + set ENV_ARTIFACT_NAME=!ENV_ARTIFACT_PREFIX!_%ARTIFACT_UNIQUE_ID% + echo ENV_ARTIFACT_NAME: !ENV_ARTIFACT_NAME! + + set "ENV_ARTIFACT_PATH=%ARTIFACT_STAGING_DIR%\%FEEDSTOCK_NAME%_%ENV_ARTIFACT_PREFIX%_%ARCHIVE_UNIQUE_ID%.zip" + 7z a "!ENV_ARTIFACT_PATH!" -r "%CONDA_BLD_PATH%"/_*_env*/ -bb + if errorlevel 1 exit 1 + echo ENV_ARTIFACT_PATH: !ENV_ARTIFACT_PATH! + + if "%CI%" == "azure" ( + echo ##vso[task.setVariable variable=ENV_ARTIFACT_NAME]!ENV_ARTIFACT_NAME! + echo ##vso[task.setVariable variable=ENV_ARTIFACT_PATH]!ENV_ARTIFACT_PATH! + ) + if "%CI%" == "github_actions" ( + echo ENV_ARTIFACT_NAME=!ENV_ARTIFACT_NAME!>> !GITHUB_OUTPUT! + echo ENV_ARTIFACT_PATH=!ENV_ARTIFACT_PATH!>> !GITHUB_OUTPUT! + ) +) diff --git a/.scripts/create_conda_build_artifacts.sh b/.scripts/create_conda_build_artifacts.sh new file mode 100755 index 00000000..1e3acc78 --- /dev/null +++ b/.scripts/create_conda_build_artifacts.sh @@ -0,0 +1,113 @@ +#!/usr/bin/env bash + +# INPUTS (environment variables that need to be set before calling this script): +# +# CI (azure/github_actions/UNSET) +# CI_RUN_ID (unique identifier for the CI job run) +# FEEDSTOCK_NAME +# CONFIG (build matrix configuration string) +# SHORT_CONFIG (uniquely-shortened configuration string) +# CONDA_BLD_PATH (path to the conda-bld directory) +# ARTIFACT_STAGING_DIR (use working directory if unset) +# BLD_ARTIFACT_PREFIX (prefix for the conda build artifact name, skip if unset) +# ENV_ARTIFACT_PREFIX (prefix for the conda build environments artifact name, skip if unset) + +# OUTPUTS +# +# BLD_ARTIFACT_NAME +# BLD_ARTIFACT_PATH +# ENV_ARTIFACT_NAME +# ENV_ARTIFACT_PATH + +source .scripts/logging_utils.sh + +# DON'T do set -x, because it results in double echo-ing pipeline commands +# and that might end up inserting extraneous quotation marks in output variables +set -e + +# Check that the conda-build directory exists +if [ ! -d "$CONDA_BLD_PATH" ]; then + echo "conda-build directory does not exist" + exit 1 +fi + +# Set staging dir to the working dir, in Windows style if applicable +if [[ -z "${ARTIFACT_STAGING_DIR}" ]]; then + if pwd -W; then + ARTIFACT_STAGING_DIR=$(pwd -W) + else + ARTIFACT_STAGING_DIR=$PWD + fi +fi +echo "ARTIFACT_STAGING_DIR: $ARTIFACT_STAGING_DIR" + +FEEDSTOCK_ROOT=$(cd "$(dirname "$0")/.."; pwd;) +if [ -z ${FEEDSTOCK_NAME} ]; then + export FEEDSTOCK_NAME=$(basename ${FEEDSTOCK_ROOT}) +fi + +# Set a unique ID for the artifact(s), specialized for this particular job run +ARTIFACT_UNIQUE_ID="${CI_RUN_ID}_${CONFIG}" +if [[ ${#ARTIFACT_UNIQUE_ID} -gt 80 ]]; then + ARTIFACT_UNIQUE_ID="${CI_RUN_ID}_${SHORT_CONFIG}" +fi +echo "ARTIFACT_UNIQUE_ID: $ARTIFACT_UNIQUE_ID" + +# Set a descriptive ID for the archive(s), specialized for this particular job run +ARCHIVE_UNIQUE_ID="${CI_RUN_ID}_${CONFIG}" + +# Make the build artifact zip +if [[ ! -z "$BLD_ARTIFACT_PREFIX" ]]; then + export BLD_ARTIFACT_NAME="${BLD_ARTIFACT_PREFIX}_${ARTIFACT_UNIQUE_ID}" + export BLD_ARTIFACT_PATH="${ARTIFACT_STAGING_DIR}/${FEEDSTOCK_NAME}_${BLD_ARTIFACT_PREFIX}_${ARCHIVE_UNIQUE_ID}.zip" + + ( startgroup "Archive conda build directory" ) 2> /dev/null + + # Try 7z and fall back to zip if it fails (for cross-platform use) + if ! 7z a "$BLD_ARTIFACT_PATH" "$CONDA_BLD_PATH" '-xr!.git/' '-xr!_*_env*/' '-xr!*_cache/' -bb; then + pushd "$CONDA_BLD_PATH" + zip -r -y -T "$BLD_ARTIFACT_PATH" . -x '*.git/*' '*_*_env*/*' '*_cache/*' + popd + fi + + ( endgroup "Archive conda build directory" ) 2> /dev/null + + echo "BLD_ARTIFACT_NAME: $BLD_ARTIFACT_NAME" + echo "BLD_ARTIFACT_PATH: $BLD_ARTIFACT_PATH" + + if [[ "$CI" == "azure" ]]; then + echo "##vso[task.setVariable variable=BLD_ARTIFACT_NAME]$BLD_ARTIFACT_NAME" + echo "##vso[task.setVariable variable=BLD_ARTIFACT_PATH]$BLD_ARTIFACT_PATH" + elif [[ "$CI" == "github_actions" ]]; then + echo "BLD_ARTIFACT_NAME=$BLD_ARTIFACT_NAME" >> $GITHUB_OUTPUT + echo "BLD_ARTIFACT_PATH=$BLD_ARTIFACT_PATH" >> $GITHUB_OUTPUT + fi +fi + +# Make the environments artifact zip +if [[ ! -z "$ENV_ARTIFACT_PREFIX" ]]; then + export ENV_ARTIFACT_NAME="${ENV_ARTIFACT_PREFIX}_${ARTIFACT_UNIQUE_ID}" + export ENV_ARTIFACT_PATH="${ARTIFACT_STAGING_DIR}/${FEEDSTOCK_NAME}_${ENV_ARTIFACT_PREFIX}_${ARCHIVE_UNIQUE_ID}.zip" + + ( startgroup "Archive conda build environments" ) 2> /dev/null + + # Try 7z and fall back to zip if it fails (for cross-platform use) + if ! 7z a "$ENV_ARTIFACT_PATH" -r "$CONDA_BLD_PATH"/'_*_env*/' -bb; then + pushd "$CONDA_BLD_PATH" + zip -r -y -T "$ENV_ARTIFACT_PATH" . -i '*_*_env*/*' + popd + fi + + ( endgroup "Archive conda build environments" ) 2> /dev/null + + echo "ENV_ARTIFACT_NAME: $ENV_ARTIFACT_NAME" + echo "ENV_ARTIFACT_PATH: $ENV_ARTIFACT_PATH" + + if [[ "$CI" == "azure" ]]; then + echo "##vso[task.setVariable variable=ENV_ARTIFACT_NAME]$ENV_ARTIFACT_NAME" + echo "##vso[task.setVariable variable=ENV_ARTIFACT_PATH]$ENV_ARTIFACT_PATH" + elif [[ "$CI" == "github_actions" ]]; then + echo "ENV_ARTIFACT_NAME=$ENV_ARTIFACT_NAME" >> $GITHUB_OUTPUT + echo "ENV_ARTIFACT_PATH=$ENV_ARTIFACT_PATH" >> $GITHUB_OUTPUT + fi +fi diff --git a/.scripts/run_osx_build.sh b/.scripts/run_osx_build.sh index bac7141a..b0eda55c 100755 --- a/.scripts/run_osx_build.sh +++ b/.scripts/run_osx_build.sh @@ -26,7 +26,7 @@ chmod +x "${micromamba_exe}" echo "Creating environment" "${micromamba_exe}" create --yes --root-prefix "${MAMBA_ROOT_PREFIX}" --prefix "${MINIFORGE_HOME}" \ --channel conda-forge \ - pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=24.1" + pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=26.3" echo "Moving pkgs cache from ${MAMBA_ROOT_PREFIX} to ${MINIFORGE_HOME}" mv "${MAMBA_ROOT_PREFIX}/pkgs" "${MINIFORGE_HOME}" echo "Cleaning up micromamba" @@ -73,7 +73,7 @@ if [[ "${OSX_SDK_DIR:-}" == "" ]]; then /usr/bin/sudo chown "${USER}" "${OSX_SDK_DIR}" fi else - if tmpf=$(mktemp -p "$OSX_SDK_DIR" tmp.XXXXXXXX 2>/dev/null); then + if tmpf=$(mktemp "$OSX_SDK_DIR"/tmp.XXXXXXXX 2>/dev/null); then rm -f "$tmpf" echo "OSX_SDK_DIR is writeable without sudo, continuing" else diff --git a/.scripts/run_win_build.bat b/.scripts/run_win_build.bat index 27c552b1..c07d98e6 100755 --- a/.scripts/run_win_build.bat +++ b/.scripts/run_win_build.bat @@ -31,7 +31,7 @@ if !errorlevel! neq 0 exit /b !errorlevel! echo Creating environment call "%MICROMAMBA_EXE%" create --yes --root-prefix "%MAMBA_ROOT_PREFIX%" --prefix "%MINIFORGE_HOME%" ^ --channel conda-forge ^ - pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=24.1" + pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=26.3" if !errorlevel! neq 0 exit /b !errorlevel! echo Removing %MAMBA_ROOT_PREFIX% del /S /Q "%MAMBA_ROOT_PREFIX%" >nul diff --git a/README.md b/README.md index d5dd60e1..dcf4795e 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,14 @@ Current build status ==================== - +
+ + + @@ -59,90 +66,6 @@ Current build status
GitHub Actions + + + +
Azure
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
VariantStatus
linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno - - variant - -
linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes - - variant - -
linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno - - variant - -
linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes - - variant - -
linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno - - variant - -
linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes - - variant - -
linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno - - variant - -
linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes - - variant - -
linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno - - variant - -
linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes - - variant - -
linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingno - - variant - -
linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes - - variant - -
osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno @@ -212,20 +135,6 @@ Current build status variant
win_arm64_freethreadingno - - variant - -
win_arm64_freethreadingyes - - variant - -
From 889c83999b75fd562a4a9b1e176aa47d4a03d16f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 23 Jul 2026 13:31:17 +0200 Subject: [PATCH 36/41] Bump build number MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index bd2896d6..e23c7f4d 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -4,7 +4,7 @@ {% set ver2 = '.'.join(version.split('.')[0:2]) %} {% set ver2nd = ''.join(version.split('.')[0:2]) %} {% set ver3nd = ''.join(version.split('.')[0:3]) %} -{% set build_number = 0 %} +{% set build_number = 1 %} # this makes the linter happy {% set channel_targets = channel_targets or 'conda-forge main' %} From 401f914a259348f9e2d219fe3c4c9ba0e8d53af1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 23 Jul 2026 13:32:05 +0200 Subject: [PATCH 37/41] MNT: Re-rendered with conda-smithy 2026.6.14 and conda-forge-pinning 2026.07.22.19.40.54 Other tools: - conda-build 26.5.0 - rattler-build 0.69.1 - rattler-build-conda-compat 1.4.15 --- .azure-pipelines/azure-pipelines-osx.yml | 8 ++-- .azure-pipelines/azure-pipelines-win.yml | 20 +++++++++ ...forge_python_dev_debugfreethreadingno.yaml | 2 +- ...orge_python_dev_debugfreethreadingyes.yaml | 2 +- ...conda-forge_python_devfreethreadingno.yaml | 2 +- ...onda-forge_python_devfreethreadingyes.yaml | 2 +- .ci_support/win_arm64_freethreadingno.yaml | 43 ++++++++++++++++++ .ci_support/win_arm64_freethreadingyes.yaml | 43 ++++++++++++++++++ .github/workflows/conda-build.yml | 16 +++---- README.md | 44 +++++++++++++++---- 10 files changed, 158 insertions(+), 24 deletions(-) create mode 100644 .ci_support/win_arm64_freethreadingno.yaml create mode 100644 .ci_support/win_arm64_freethreadingyes.yaml diff --git a/.azure-pipelines/azure-pipelines-osx.yml b/.azure-pipelines/azure-pipelines-osx.yml index 4a607d55..9a766cf7 100755 --- a/.azure-pipelines/azure-pipelines-osx.yml +++ b/.azure-pipelines/azure-pipelines-osx.yml @@ -55,7 +55,7 @@ jobs: osx_arm64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno: CONFIG: osx_arm64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno UPLOAD_PACKAGES: 'True' - VMIMAGE: macOS-15 + VMIMAGE: macOS-15-arm64 build_workspace_dir: ~/miniforge3/conda-bld free_disk_space: skip pagefile_size: 0 @@ -66,7 +66,7 @@ jobs: osx_arm64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes: CONFIG: osx_arm64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes UPLOAD_PACKAGES: 'True' - VMIMAGE: macOS-15 + VMIMAGE: macOS-15-arm64 build_workspace_dir: ~/miniforge3/conda-bld free_disk_space: skip pagefile_size: 0 @@ -77,7 +77,7 @@ jobs: osx_arm64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno: CONFIG: osx_arm64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno UPLOAD_PACKAGES: 'True' - VMIMAGE: macOS-15 + VMIMAGE: macOS-15-arm64 build_workspace_dir: ~/miniforge3/conda-bld free_disk_space: skip pagefile_size: 0 @@ -88,7 +88,7 @@ jobs: osx_arm64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes: CONFIG: osx_arm64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes UPLOAD_PACKAGES: 'True' - VMIMAGE: macOS-15 + VMIMAGE: macOS-15-arm64 build_workspace_dir: ~/miniforge3/conda-bld free_disk_space: skip pagefile_size: 0 diff --git a/.azure-pipelines/azure-pipelines-win.yml b/.azure-pipelines/azure-pipelines-win.yml index 75d3a7b2..9c460bb6 100755 --- a/.azure-pipelines/azure-pipelines-win.yml +++ b/.azure-pipelines/azure-pipelines-win.yml @@ -28,6 +28,26 @@ jobs: store_build_artifacts: true tools_install_dir: D:\Miniforge CONFIG_SHORT: win_64_freethreadingyes + win_arm64_freethreadingno: + CONFIG: win_arm64_freethreadingno + UPLOAD_PACKAGES: 'True' + build_workspace_dir: C:\\bld\\ + free_disk_space: skip + pagefile_size: 0 + resize_partitions: false + store_build_artifacts: true + tools_install_dir: C:\Miniforge + CONFIG_SHORT: win_arm64_freethreadingno + win_arm64_freethreadingyes: + CONFIG: win_arm64_freethreadingyes + UPLOAD_PACKAGES: 'True' + build_workspace_dir: C:\\bld\\ + free_disk_space: skip + pagefile_size: 0 + resize_partitions: false + store_build_artifacts: true + tools_install_dir: C:\Miniforge + CONFIG_SHORT: win_arm64_freethreadingyes timeoutInMinutes: 360 variables: UPLOAD_TEMP: D:\\tmp diff --git a/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno.yaml b/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno.yaml index d9f01bf1..2bb7c3be 100644 --- a/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno.yaml +++ b/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno.yaml @@ -19,7 +19,7 @@ cxx_compiler: cxx_compiler_version: - '14' docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma10 +- quay.io/condaforge/linux-anvil-aarch64:alma10 expat: - '2' freethreading: diff --git a/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes.yaml b/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes.yaml index a0b0dcc2..9cc42a3f 100644 --- a/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes.yaml +++ b/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes.yaml @@ -19,7 +19,7 @@ cxx_compiler: cxx_compiler_version: - '14' docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma10 +- quay.io/condaforge/linux-anvil-aarch64:alma10 expat: - '2' freethreading: diff --git a/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno.yaml b/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno.yaml index af6b6e46..70d5afa7 100644 --- a/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno.yaml +++ b/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno.yaml @@ -19,7 +19,7 @@ cxx_compiler: cxx_compiler_version: - '14' docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma10 +- quay.io/condaforge/linux-anvil-aarch64:alma10 expat: - '2' freethreading: diff --git a/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes.yaml b/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes.yaml index 5195f087..807862b5 100644 --- a/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes.yaml +++ b/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes.yaml @@ -19,7 +19,7 @@ cxx_compiler: cxx_compiler_version: - '14' docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma10 +- quay.io/condaforge/linux-anvil-aarch64:alma10 expat: - '2' freethreading: diff --git a/.ci_support/win_arm64_freethreadingno.yaml b/.ci_support/win_arm64_freethreadingno.yaml new file mode 100644 index 00000000..2f31cb7e --- /dev/null +++ b/.ci_support/win_arm64_freethreadingno.yaml @@ -0,0 +1,43 @@ +build_type: +- release +bzip2: +- '1' +c_compiler: +- vs2022 +c_stdlib: +- vs +channel_sources: +- conda-forge/label/python_rc,conda-forge +channel_targets: +- conda-forge python_dev +cxx_compiler: +- vs2022 +expat: +- '2' +freethreading: +- 'no' +libffi: +- '3.5' +liblzma_devel: +- '5' +libsqlite: +- '3' +openssl: +- '3.5' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- '3.15' +target_platform: +- win-arm64 +tk: +- '8.6' +zip_keys: +- - build_type + - channel_targets +zlib: +- '1' +zstd: +- '1.5' diff --git a/.ci_support/win_arm64_freethreadingyes.yaml b/.ci_support/win_arm64_freethreadingyes.yaml new file mode 100644 index 00000000..b4597acb --- /dev/null +++ b/.ci_support/win_arm64_freethreadingyes.yaml @@ -0,0 +1,43 @@ +build_type: +- release +bzip2: +- '1' +c_compiler: +- vs2022 +c_stdlib: +- vs +channel_sources: +- conda-forge/label/python_rc,conda-forge +channel_targets: +- conda-forge python_dev +cxx_compiler: +- vs2022 +expat: +- '2' +freethreading: +- 'yes' +libffi: +- '3.5' +liblzma_devel: +- '5' +libsqlite: +- '3' +openssl: +- '3.5' +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- '3.15' +target_platform: +- win-arm64 +tk: +- '8.6' +zip_keys: +- - build_type + - channel_targets +zlib: +- '1' +zstd: +- '1.5' diff --git a/.github/workflows/conda-build.yml b/.github/workflows/conda-build.yml index e0f01c37..b0d24fc0 100644 --- a/.github/workflows/conda-build.yml +++ b/.github/workflows/conda-build.yml @@ -76,7 +76,7 @@ jobs: tools_install_dir: ~/miniforge3 - CONFIG: linux_aarch64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno CONFIG_SHORT: linux_aarch64_build_typedebugchannel_tar_h158ec98d - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma10 STORE_BUILD_ARTIFACTS: True UPLOAD_PACKAGES: True build_workspace_dir: build_artifacts @@ -85,11 +85,11 @@ jobs: os: ubuntu pagefile_size: 0 resize_partitions: False - runs_on: ['ubuntu-latest'] + runs_on: ['ubuntu-24.04-arm'] tools_install_dir: ~/miniforge3 - CONFIG: linux_aarch64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes CONFIG_SHORT: linux_aarch64_build_typedebugchannel_tar_h618840af - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma10 STORE_BUILD_ARTIFACTS: True UPLOAD_PACKAGES: True build_workspace_dir: build_artifacts @@ -98,11 +98,11 @@ jobs: os: ubuntu pagefile_size: 0 resize_partitions: False - runs_on: ['ubuntu-latest'] + runs_on: ['ubuntu-24.04-arm'] tools_install_dir: ~/miniforge3 - CONFIG: linux_aarch64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno CONFIG_SHORT: linux_aarch64_build_typereleasechannel_t_hbbb47f33 - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma10 STORE_BUILD_ARTIFACTS: True UPLOAD_PACKAGES: True build_workspace_dir: build_artifacts @@ -111,11 +111,11 @@ jobs: os: ubuntu pagefile_size: 0 resize_partitions: False - runs_on: ['ubuntu-latest'] + runs_on: ['ubuntu-24.04-arm'] tools_install_dir: ~/miniforge3 - CONFIG: linux_aarch64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes CONFIG_SHORT: linux_aarch64_build_typereleasechannel_t_ha31997ea - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma10 STORE_BUILD_ARTIFACTS: True UPLOAD_PACKAGES: True build_workspace_dir: build_artifacts @@ -124,7 +124,7 @@ jobs: os: ubuntu pagefile_size: 0 resize_partitions: False - runs_on: ['ubuntu-latest'] + runs_on: ['ubuntu-24.04-arm'] tools_install_dir: ~/miniforge3 - CONFIG: linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno CONFIG_SHORT: linux_ppc64le_build_typedebugchannel_tar_he3888cbf diff --git a/README.md b/README.md index 845d26cd..b2d75872 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,34 @@ Current build status variant + + osx_arm64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno + + + variant + + + + osx_arm64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes + + + variant + + + + osx_arm64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno + + + variant + + + + osx_arm64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes + + + variant + + win_64_freethreadingno @@ -131,14 +159,14 @@ Current release info Installing python ================= -Installing `python` from the `conda-forge/label/python_dev_debug` channel can be achieved by adding `conda-forge/label/python_dev_debug` to your channels with: +Installing `python` from the `conda-forge/label/python_dev` channel can be achieved by adding `conda-forge/label/python_dev` to your channels with: ``` -conda config --add channels conda-forge/label/python_dev_debug +conda config --add channels conda-forge/label/python_dev conda config --set channel_priority strict ``` -Once the `conda-forge/label/python_dev_debug` channel has been enabled, `cpython, libpython, libpython-static, python, python-freethreading, python-gil, python-jit` can be installed with `conda`: +Once the `conda-forge/label/python_dev` channel has been enabled, `cpython, libpython, libpython-static, python, python-freethreading, python-gil, python-jit` can be installed with `conda`: ``` conda install cpython libpython libpython-static python python-freethreading python-gil python-jit @@ -153,26 +181,26 @@ mamba install cpython libpython libpython-static python python-freethreading pyt It is possible to list all of the versions of `cpython` available on your platform with `conda`: ``` -conda search cpython --channel conda-forge/label/python_dev_debug +conda search cpython --channel conda-forge/label/python_dev ``` or with `mamba`: ``` -mamba search cpython --channel conda-forge/label/python_dev_debug +mamba search cpython --channel conda-forge/label/python_dev ``` Alternatively, `mamba repoquery` may provide more information: ``` # Search all versions available on your platform: -mamba repoquery search cpython --channel conda-forge/label/python_dev_debug +mamba repoquery search cpython --channel conda-forge/label/python_dev # List packages depending on `cpython`: -mamba repoquery whoneeds cpython --channel conda-forge/label/python_dev_debug +mamba repoquery whoneeds cpython --channel conda-forge/label/python_dev # List dependencies of `cpython`: -mamba repoquery depends cpython --channel conda-forge/label/python_dev_debug +mamba repoquery depends cpython --channel conda-forge/label/python_dev ``` From 7f6199c813dc577156e4b853281f8c5f1dbbb46c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 23 Jul 2026 13:33:42 +0200 Subject: [PATCH 38/41] Readd lost `%TCLTK_MSBUILD_PROPS%` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- recipe/build_base.bat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipe/build_base.bat b/recipe/build_base.bat index ea19a92a..6cb6434a 100644 --- a/recipe/build_base.bat +++ b/recipe/build_base.bat @@ -96,14 +96,14 @@ if "%CONDA_BUILD_CROSS_COMPILATION%" == "1" ( REM No PGO. No externals, i.e. remove building extension modules REM we don't need. set LIBRARY_PREFIX=%BUILD_PREFIX%\\Library - call build.bat %CONFIG% %FREETHREADING% -m -E -v -p %BUILD_PLATFORM% + call build.bat %CONFIG% %FREETHREADING% -m -E -v -p %BUILD_PLATFORM% %TCLTK_MSBUILD_PROPS% if errorlevel 1 exit 1 ) endlocal :: Twice because: :: error : importlib_zipimport.h updated. You will need to rebuild pythoncore to see the changes. -call build.bat %PGO% %CONFIG% %FREETHREADING% -m -e -v -p %HOST_PLATFORM% -call build.bat %PGO% %CONFIG% %FREETHREADING% -m -e -v -p %HOST_PLATFORM% +call build.bat %PGO% %CONFIG% %FREETHREADING% -m -e -v -p %HOST_PLATFORM% %TCLTK_MSBUILD_PROPS% +call build.bat %PGO% %CONFIG% %FREETHREADING% -m -e -v -p %HOST_PLATFORM% %TCLTK_MSBUILD_PROPS% if errorlevel 1 exit 1 cd .. From 11096e79c34d595cdd832e8bf9a2c730b8a89ae3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 23 Jul 2026 13:34:37 +0200 Subject: [PATCH 39/41] Fix accidental path revert MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- recipe/build_base.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/build_base.bat b/recipe/build_base.bat index 6cb6434a..26363f15 100644 --- a/recipe/build_base.bat +++ b/recipe/build_base.bat @@ -226,7 +226,7 @@ if "%CONDA_BUILD_CROSS_COMPILATION%" == "1" ( set "PYTHON=%PREFIX%\python.exe" ) :: bytecode compile the standard library -%PYTHON% -Wi %PREFIX%\Lib\compileall.py -f -q -x "bad_coding|badsyntax|py2_" %PREFIX%\Lib +%PYTHON% -Wi %PREFIX%\lib\python\compileall.py -f -q -x "bad_coding|badsyntax|py2_" %PREFIX%\Lib if errorlevel 1 exit 1 :: Ensure that scripts are generated From cc69128b696d5bb69bdcaff9adb95b496cf9af94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 23 Jul 2026 14:34:39 +0200 Subject: [PATCH 40/41] Fix .pyc compile command on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- recipe/build_base.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/build_base.bat b/recipe/build_base.bat index 26363f15..6a38c578 100644 --- a/recipe/build_base.bat +++ b/recipe/build_base.bat @@ -226,7 +226,7 @@ if "%CONDA_BUILD_CROSS_COMPILATION%" == "1" ( set "PYTHON=%PREFIX%\python.exe" ) :: bytecode compile the standard library -%PYTHON% -Wi %PREFIX%\lib\python\compileall.py -f -q -x "bad_coding|badsyntax|py2_" %PREFIX%\Lib +%PYTHON% -Wi %PREFIX%\lib\python\compileall.py -f -q -x "bad_coding|badsyntax|py2_" %PREFIX%\lib\python if errorlevel 1 exit 1 :: Ensure that scripts are generated From c4e7ec5beeb37a15c56ff4b587d07c6396fde942 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 23 Jul 2026 18:17:51 +0200 Subject: [PATCH 41/41] Restore cross-dependency on libxcrypt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Accidentally dropped in 923b423aaaea2d2f03bcda17eed5219d0bfc8928. Signed-off-by: Michał Górny --- recipe/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index e23c7f4d..3753bf5f 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -175,6 +175,7 @@ outputs: - ncurses # [unix and build_platform != target_platform] - libffi # [build_platform != target_platform] - libuuid # [linux and build_platform != target_platform] + - libxcrypt # [linux and build_platform != target_platform] - libmpdec-devel # [build_platform != target_platform] - expat # [build_platform != target_platform] host: