diff --git a/.azure-pipelines/azure-pipelines-osx.yml b/.azure-pipelines/azure-pipelines-osx.yml
index 00cdd8c15..52ef21930 100644
--- a/.azure-pipelines/azure-pipelines-osx.yml
+++ b/.azure-pipelines/azure-pipelines-osx.yml
@@ -8,8 +8,8 @@ jobs:
vmImage: $(VMIMAGE)
strategy:
matrix:
- osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno:
- CONFIG: osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno
+ osx_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno:
+ CONFIG: osx_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno
UPLOAD_PACKAGES: 'True'
VMIMAGE: macOS-15
build_workspace_dir: ~/miniforge3/conda-bld
@@ -18,8 +18,8 @@ jobs:
resize_partitions: false
store_build_artifacts: false
tools_install_dir: ~/miniforge3
- osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes:
- CONFIG: osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes
+ osx_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes:
+ CONFIG: osx_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes
UPLOAD_PACKAGES: 'True'
VMIMAGE: macOS-15
build_workspace_dir: ~/miniforge3/conda-bld
@@ -28,8 +28,8 @@ jobs:
resize_partitions: false
store_build_artifacts: false
tools_install_dir: ~/miniforge3
- osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno:
- CONFIG: osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno
+ osx_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno:
+ CONFIG: osx_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno
UPLOAD_PACKAGES: 'True'
VMIMAGE: macOS-15
build_workspace_dir: ~/miniforge3/conda-bld
@@ -38,8 +38,8 @@ jobs:
resize_partitions: false
store_build_artifacts: false
tools_install_dir: ~/miniforge3
- osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes:
- CONFIG: osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes
+ osx_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes:
+ CONFIG: osx_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes
UPLOAD_PACKAGES: 'True'
VMIMAGE: macOS-15
build_workspace_dir: ~/miniforge3/conda-bld
@@ -48,8 +48,8 @@ jobs:
resize_partitions: false
store_build_artifacts: false
tools_install_dir: ~/miniforge3
- osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno:
- CONFIG: osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno
+ 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-arm64
build_workspace_dir: ~/miniforge3/conda-bld
@@ -58,8 +58,8 @@ jobs:
resize_partitions: false
store_build_artifacts: false
tools_install_dir: ~/miniforge3
- osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes:
- CONFIG: osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes
+ 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-arm64
build_workspace_dir: ~/miniforge3/conda-bld
@@ -68,8 +68,8 @@ jobs:
resize_partitions: false
store_build_artifacts: false
tools_install_dir: ~/miniforge3
- osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno:
- CONFIG: osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno
+ osx_arm64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno:
+ CONFIG: osx_arm64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno
UPLOAD_PACKAGES: 'True'
VMIMAGE: macOS-15-arm64
build_workspace_dir: ~/miniforge3/conda-bld
@@ -78,8 +78,8 @@ jobs:
resize_partitions: false
store_build_artifacts: false
tools_install_dir: ~/miniforge3
- osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes:
- CONFIG: osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes
+ osx_arm64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes:
+ CONFIG: osx_arm64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes
UPLOAD_PACKAGES: 'True'
VMIMAGE: macOS-15-arm64
build_workspace_dir: ~/miniforge3/conda-bld
diff --git a/.ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml b/.ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno.yaml
similarity index 94%
rename from .ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml
rename to .ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno.yaml
index 697f5f825..e3954e969 100644
--- a/.ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml
+++ b/.ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno.yaml
@@ -13,7 +13,7 @@ c_stdlib_version:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge python_debug
+- conda-forge python_dev_debug
cxx_compiler:
- gxx
cxx_compiler_version:
@@ -41,7 +41,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
readline:
- '8'
target_platform:
diff --git a/.ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml b/.ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes.yaml
similarity index 94%
rename from .ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml
rename to .ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes.yaml
index 705563c1c..0f18cb771 100644
--- a/.ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml
+++ b/.ci_support/linux_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes.yaml
@@ -13,7 +13,7 @@ c_stdlib_version:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge python_debug
+- conda-forge python_dev_debug
cxx_compiler:
- gxx
cxx_compiler_version:
@@ -41,7 +41,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
readline:
- '8'
target_platform:
diff --git a/.ci_support/linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml b/.ci_support/linux_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno.yaml
similarity index 95%
rename from .ci_support/linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml
rename to .ci_support/linux_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno.yaml
index 530143416..76e07e9a3 100644
--- a/.ci_support/linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml
+++ b/.ci_support/linux_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno.yaml
@@ -13,7 +13,7 @@ c_stdlib_version:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge main
+- conda-forge python_dev
cxx_compiler:
- gxx
cxx_compiler_version:
@@ -41,7 +41,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
readline:
- '8'
target_platform:
diff --git a/.ci_support/linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml b/.ci_support/linux_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes.yaml
similarity index 95%
rename from .ci_support/linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml
rename to .ci_support/linux_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes.yaml
index d6ae49e43..d1549620e 100644
--- a/.ci_support/linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml
+++ b/.ci_support/linux_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes.yaml
@@ -13,7 +13,7 @@ c_stdlib_version:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge main
+- conda-forge python_dev
cxx_compiler:
- gxx
cxx_compiler_version:
@@ -41,7 +41,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
readline:
- '8'
target_platform:
diff --git a/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml b/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno.yaml
similarity index 94%
rename from .ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml
rename to .ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno.yaml
index 605cb646a..5693b9465 100644
--- a/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml
+++ b/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno.yaml
@@ -13,7 +13,7 @@ c_stdlib_version:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge python_debug
+- conda-forge python_dev_debug
cxx_compiler:
- gxx
cxx_compiler_version:
@@ -41,7 +41,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
readline:
- '8'
target_platform:
diff --git a/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml b/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes.yaml
similarity index 94%
rename from .ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml
rename to .ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes.yaml
index 2a6f76da1..c4a84efdd 100644
--- a/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml
+++ b/.ci_support/linux_aarch64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes.yaml
@@ -13,7 +13,7 @@ c_stdlib_version:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge python_debug
+- conda-forge python_dev_debug
cxx_compiler:
- gxx
cxx_compiler_version:
@@ -41,7 +41,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
readline:
- '8'
target_platform:
diff --git a/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml b/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno.yaml
similarity index 95%
rename from .ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml
rename to .ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno.yaml
index c403c42b7..8a74e1521 100644
--- a/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml
+++ b/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno.yaml
@@ -13,7 +13,7 @@ c_stdlib_version:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge main
+- conda-forge python_dev
cxx_compiler:
- gxx
cxx_compiler_version:
@@ -41,7 +41,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
readline:
- '8'
target_platform:
diff --git a/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml b/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes.yaml
similarity index 95%
rename from .ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml
rename to .ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes.yaml
index 62e80b720..ce0786559 100644
--- a/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml
+++ b/.ci_support/linux_aarch64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes.yaml
@@ -13,7 +13,7 @@ c_stdlib_version:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge main
+- conda-forge python_dev
cxx_compiler:
- gxx
cxx_compiler_version:
@@ -41,7 +41,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
readline:
- '8'
target_platform:
diff --git a/.ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml b/.ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno.yaml
similarity index 94%
rename from .ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml
rename to .ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno.yaml
index 6489650f6..39a3c6fbc 100644
--- a/.ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml
+++ b/.ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno.yaml
@@ -13,7 +13,7 @@ c_stdlib_version:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge python_debug
+- conda-forge python_dev_debug
cxx_compiler:
- gxx
cxx_compiler_version:
@@ -41,7 +41,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
readline:
- '8'
target_platform:
diff --git a/.ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml b/.ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes.yaml
similarity index 94%
rename from .ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml
rename to .ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes.yaml
index c8b3f7b3f..5ef347b1b 100644
--- a/.ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml
+++ b/.ci_support/linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes.yaml
@@ -13,7 +13,7 @@ c_stdlib_version:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge python_debug
+- conda-forge python_dev_debug
cxx_compiler:
- gxx
cxx_compiler_version:
@@ -41,7 +41,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
readline:
- '8'
target_platform:
diff --git a/.ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml b/.ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno.yaml
similarity index 95%
rename from .ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml
rename to .ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno.yaml
index 645df0a5c..07623d67c 100644
--- a/.ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml
+++ b/.ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno.yaml
@@ -13,7 +13,7 @@ c_stdlib_version:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge main
+- conda-forge python_dev
cxx_compiler:
- gxx
cxx_compiler_version:
@@ -41,7 +41,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
readline:
- '8'
target_platform:
diff --git a/.ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml b/.ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes.yaml
similarity index 95%
rename from .ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml
rename to .ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes.yaml
index f20bcab7b..c32465486 100644
--- a/.ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml
+++ b/.ci_support/linux_ppc64le_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes.yaml
@@ -13,7 +13,7 @@ c_stdlib_version:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge main
+- conda-forge python_dev
cxx_compiler:
- gxx
cxx_compiler_version:
@@ -41,7 +41,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
readline:
- '8'
target_platform:
diff --git a/.ci_support/linux_riscv64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml b/.ci_support/linux_riscv64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno.yaml
similarity index 94%
rename from .ci_support/linux_riscv64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml
rename to .ci_support/linux_riscv64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno.yaml
index ef1e4d9c5..8cf112aba 100644
--- a/.ci_support/linux_riscv64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml
+++ b/.ci_support/linux_riscv64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno.yaml
@@ -13,7 +13,7 @@ c_stdlib_version:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge python_debug
+- conda-forge python_dev_debug
cxx_compiler:
- gxx
cxx_compiler_version:
@@ -41,7 +41,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
readline:
- '8'
target_platform:
diff --git a/.ci_support/linux_riscv64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml b/.ci_support/linux_riscv64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes.yaml
similarity index 94%
rename from .ci_support/linux_riscv64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml
rename to .ci_support/linux_riscv64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes.yaml
index 383b2ba41..4d75a581e 100644
--- a/.ci_support/linux_riscv64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml
+++ b/.ci_support/linux_riscv64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes.yaml
@@ -13,7 +13,7 @@ c_stdlib_version:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge python_debug
+- conda-forge python_dev_debug
cxx_compiler:
- gxx
cxx_compiler_version:
@@ -41,7 +41,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
readline:
- '8'
target_platform:
diff --git a/.ci_support/linux_riscv64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml b/.ci_support/linux_riscv64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno.yaml
similarity index 95%
rename from .ci_support/linux_riscv64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml
rename to .ci_support/linux_riscv64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno.yaml
index 61a7f814a..8f9815553 100644
--- a/.ci_support/linux_riscv64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml
+++ b/.ci_support/linux_riscv64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno.yaml
@@ -13,7 +13,7 @@ c_stdlib_version:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge main
+- conda-forge python_dev
cxx_compiler:
- gxx
cxx_compiler_version:
@@ -41,7 +41,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
readline:
- '8'
target_platform:
diff --git a/.ci_support/linux_riscv64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml b/.ci_support/linux_riscv64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes.yaml
similarity index 95%
rename from .ci_support/linux_riscv64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml
rename to .ci_support/linux_riscv64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes.yaml
index 0ae5df74d..8e503445b 100644
--- a/.ci_support/linux_riscv64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml
+++ b/.ci_support/linux_riscv64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes.yaml
@@ -13,7 +13,7 @@ c_stdlib_version:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge main
+- conda-forge python_dev
cxx_compiler:
- gxx
cxx_compiler_version:
@@ -41,7 +41,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
readline:
- '8'
target_platform:
diff --git a/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml b/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno.yaml
similarity index 93%
rename from .ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml
rename to .ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno.yaml
index 2cae59c4b..66f1bb56f 100644
--- a/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml
+++ b/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno.yaml
@@ -9,7 +9,7 @@ bzip2:
c_compiler:
- clang
c_compiler_version:
-- '20.1'
+- '21'
c_stdlib:
- macosx_deployment_target
c_stdlib_version:
@@ -17,11 +17,11 @@ c_stdlib_version:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge python_debug
+- conda-forge python_dev_debug
cxx_compiler:
- clangxx
cxx_compiler_version:
-- '20.1'
+- '21'
expat:
- '2'
freethreading:
@@ -43,7 +43,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
readline:
- '8'
target_platform:
diff --git a/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml b/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes.yaml
similarity index 93%
rename from .ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml
rename to .ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes.yaml
index eb4ebdeb9..b53a3ea16 100644
--- a/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml
+++ b/.ci_support/osx_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes.yaml
@@ -9,7 +9,7 @@ bzip2:
c_compiler:
- clang
c_compiler_version:
-- '20.1'
+- '21'
c_stdlib:
- macosx_deployment_target
c_stdlib_version:
@@ -17,11 +17,11 @@ c_stdlib_version:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge python_debug
+- conda-forge python_dev_debug
cxx_compiler:
- clangxx
cxx_compiler_version:
-- '20.1'
+- '21'
expat:
- '2'
freethreading:
@@ -43,7 +43,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
readline:
- '8'
target_platform:
diff --git a/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml b/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno.yaml
similarity index 93%
rename from .ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml
rename to .ci_support/osx_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno.yaml
index eaa410da8..dc97a70bd 100644
--- a/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml
+++ b/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno.yaml
@@ -9,7 +9,7 @@ bzip2:
c_compiler:
- clang
c_compiler_version:
-- '20.1'
+- '21'
c_stdlib:
- macosx_deployment_target
c_stdlib_version:
@@ -17,11 +17,11 @@ c_stdlib_version:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge main
+- conda-forge python_dev
cxx_compiler:
- clangxx
cxx_compiler_version:
-- '20.1'
+- '21'
expat:
- '2'
freethreading:
@@ -43,7 +43,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
readline:
- '8'
target_platform:
diff --git a/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml b/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes.yaml
similarity index 93%
rename from .ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml
rename to .ci_support/osx_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes.yaml
index 1a74843b6..2847015b4 100644
--- a/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml
+++ b/.ci_support/osx_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes.yaml
@@ -9,7 +9,7 @@ bzip2:
c_compiler:
- clang
c_compiler_version:
-- '20.1'
+- '21'
c_stdlib:
- macosx_deployment_target
c_stdlib_version:
@@ -17,11 +17,11 @@ c_stdlib_version:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge main
+- conda-forge python_dev
cxx_compiler:
- clangxx
cxx_compiler_version:
-- '20.1'
+- '21'
expat:
- '2'
freethreading:
@@ -43,7 +43,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
readline:
- '8'
target_platform:
diff --git a/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml b/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno.yaml
similarity index 93%
rename from .ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml
rename to .ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno.yaml
index c2dc8d5ec..66079519d 100644
--- a/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno.yaml
+++ b/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno.yaml
@@ -9,7 +9,7 @@ bzip2:
c_compiler:
- clang
c_compiler_version:
-- '20.1'
+- '21'
c_stdlib:
- macosx_deployment_target
c_stdlib_version:
@@ -17,11 +17,11 @@ c_stdlib_version:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge python_debug
+- conda-forge python_dev_debug
cxx_compiler:
- clangxx
cxx_compiler_version:
-- '20.1'
+- '21'
expat:
- '2'
freethreading:
@@ -43,7 +43,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
readline:
- '8'
target_platform:
diff --git a/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml b/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes.yaml
similarity index 93%
rename from .ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml
rename to .ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes.yaml
index 0caf506fd..f95d23f88 100644
--- a/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes.yaml
+++ b/.ci_support/osx_arm64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes.yaml
@@ -9,7 +9,7 @@ bzip2:
c_compiler:
- clang
c_compiler_version:
-- '20.1'
+- '21'
c_stdlib:
- macosx_deployment_target
c_stdlib_version:
@@ -17,11 +17,11 @@ c_stdlib_version:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge python_debug
+- conda-forge python_dev_debug
cxx_compiler:
- clangxx
cxx_compiler_version:
-- '20.1'
+- '21'
expat:
- '2'
freethreading:
@@ -43,7 +43,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
readline:
- '8'
target_platform:
diff --git a/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml b/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno.yaml
similarity index 93%
rename from .ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml
rename to .ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno.yaml
index 040355d43..64883e06f 100644
--- a/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno.yaml
+++ b/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno.yaml
@@ -9,7 +9,7 @@ bzip2:
c_compiler:
- clang
c_compiler_version:
-- '20.1'
+- '21'
c_stdlib:
- macosx_deployment_target
c_stdlib_version:
@@ -17,11 +17,11 @@ c_stdlib_version:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge main
+- conda-forge python_dev
cxx_compiler:
- clangxx
cxx_compiler_version:
-- '20.1'
+- '21'
expat:
- '2'
freethreading:
@@ -43,7 +43,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
readline:
- '8'
target_platform:
diff --git a/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml b/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes.yaml
similarity index 93%
rename from .ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml
rename to .ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes.yaml
index 034308609..9b51c373a 100644
--- a/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes.yaml
+++ b/.ci_support/osx_arm64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes.yaml
@@ -9,7 +9,7 @@ bzip2:
c_compiler:
- clang
c_compiler_version:
-- '20.1'
+- '21'
c_stdlib:
- macosx_deployment_target
c_stdlib_version:
@@ -17,11 +17,11 @@ c_stdlib_version:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge main
+- conda-forge python_dev
cxx_compiler:
- clangxx
cxx_compiler_version:
-- '20.1'
+- '21'
expat:
- '2'
freethreading:
@@ -43,7 +43,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
readline:
- '8'
target_platform:
diff --git a/.ci_support/win_64_freethreadingno.yaml b/.ci_support/win_64_freethreadingno.yaml
index 5633a6bb8..ece50f235 100644
--- a/.ci_support/win_64_freethreadingno.yaml
+++ b/.ci_support/win_64_freethreadingno.yaml
@@ -9,7 +9,7 @@ c_stdlib:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge main
+- conda-forge python_dev
cxx_compiler:
- vs2022
expat:
@@ -29,7 +29,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
target_platform:
- win-64
tk:
diff --git a/.ci_support/win_64_freethreadingyes.yaml b/.ci_support/win_64_freethreadingyes.yaml
index d201583ef..dd1d64a8b 100644
--- a/.ci_support/win_64_freethreadingyes.yaml
+++ b/.ci_support/win_64_freethreadingyes.yaml
@@ -9,7 +9,7 @@ c_stdlib:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge main
+- conda-forge python_dev
cxx_compiler:
- vs2022
expat:
@@ -29,7 +29,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
target_platform:
- win-64
tk:
diff --git a/.ci_support/win_arm64_freethreadingno.yaml b/.ci_support/win_arm64_freethreadingno.yaml
index d6a04415d..d0cdad9d7 100644
--- a/.ci_support/win_arm64_freethreadingno.yaml
+++ b/.ci_support/win_arm64_freethreadingno.yaml
@@ -9,7 +9,7 @@ c_stdlib:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge main
+- conda-forge python_dev
cxx_compiler:
- vs2022
expat:
@@ -29,7 +29,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
target_platform:
- win-arm64
tk:
diff --git a/.ci_support/win_arm64_freethreadingyes.yaml b/.ci_support/win_arm64_freethreadingyes.yaml
index 1b8e82fa6..eaf11b2c6 100644
--- a/.ci_support/win_arm64_freethreadingyes.yaml
+++ b/.ci_support/win_arm64_freethreadingyes.yaml
@@ -9,7 +9,7 @@ c_stdlib:
channel_sources:
- conda-forge/label/python_rc,conda-forge
channel_targets:
-- conda-forge main
+- conda-forge python_dev
cxx_compiler:
- vs2022
expat:
@@ -29,7 +29,7 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
-- '3.14'
+- '3.15'
target_platform:
- win-arm64
tk:
diff --git a/.github/workflows/conda-build.yml b/.github/workflows/conda-build.yml
index da447dcc0..379930ee4 100644
--- a/.github/workflows/conda-build.yml
+++ b/.github/workflows/conda-build.yml
@@ -22,7 +22,7 @@ jobs:
max-parallel: 50
matrix:
include:
- - CONFIG: linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno
+ - CONFIG: linux_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10
STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
@@ -34,7 +34,7 @@ jobs:
resize_partitions: False
runs_on: ['ubuntu-latest']
tools_install_dir: ~/miniforge3
- - CONFIG: linux_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes
+ - CONFIG: linux_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10
STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
@@ -46,7 +46,7 @@ jobs:
resize_partitions: False
runs_on: ['ubuntu-latest']
tools_install_dir: ~/miniforge3
- - CONFIG: linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno
+ - CONFIG: linux_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10
STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
@@ -58,7 +58,7 @@ jobs:
resize_partitions: False
runs_on: ['ubuntu-latest']
tools_install_dir: ~/miniforge3
- - CONFIG: linux_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes
+ - CONFIG: linux_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10
STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
@@ -70,7 +70,7 @@ jobs:
resize_partitions: False
runs_on: ['ubuntu-latest']
tools_install_dir: ~/miniforge3
- - CONFIG: linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno
+ - CONFIG: linux_aarch64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma10
STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
@@ -82,7 +82,7 @@ jobs:
resize_partitions: False
runs_on: ['ubuntu-24.04-arm']
tools_install_dir: ~/miniforge3
- - CONFIG: linux_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes
+ - CONFIG: linux_aarch64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma10
STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
@@ -94,7 +94,7 @@ jobs:
resize_partitions: False
runs_on: ['ubuntu-24.04-arm']
tools_install_dir: ~/miniforge3
- - CONFIG: linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno
+ - CONFIG: linux_aarch64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma10
STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
@@ -106,7 +106,7 @@ jobs:
resize_partitions: False
runs_on: ['ubuntu-24.04-arm']
tools_install_dir: ~/miniforge3
- - CONFIG: linux_aarch64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes
+ - CONFIG: linux_aarch64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma10
STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
@@ -118,7 +118,7 @@ jobs:
resize_partitions: False
runs_on: ['ubuntu-24.04-arm']
tools_install_dir: ~/miniforge3
- - CONFIG: linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno
+ - CONFIG: linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10
STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
@@ -130,7 +130,7 @@ jobs:
resize_partitions: False
runs_on: ['ubuntu-latest']
tools_install_dir: ~/miniforge3
- - CONFIG: linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes
+ - CONFIG: linux_ppc64le_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10
STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
@@ -142,7 +142,7 @@ jobs:
resize_partitions: False
runs_on: ['ubuntu-latest']
tools_install_dir: ~/miniforge3
- - CONFIG: linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingno
+ - CONFIG: linux_ppc64le_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10
STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
@@ -154,7 +154,7 @@ jobs:
resize_partitions: False
runs_on: ['ubuntu-latest']
tools_install_dir: ~/miniforge3
- - CONFIG: linux_ppc64le_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes
+ - CONFIG: linux_ppc64le_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10
STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
@@ -166,7 +166,7 @@ jobs:
resize_partitions: False
runs_on: ['ubuntu-latest']
tools_install_dir: ~/miniforge3
- - CONFIG: linux_riscv64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno
+ - CONFIG: linux_riscv64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10
STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
@@ -178,7 +178,7 @@ jobs:
resize_partitions: False
runs_on: ['ubuntu-latest']
tools_install_dir: ~/miniforge3
- - CONFIG: linux_riscv64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes
+ - CONFIG: linux_riscv64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10
STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
@@ -190,7 +190,7 @@ jobs:
resize_partitions: False
runs_on: ['ubuntu-latest']
tools_install_dir: ~/miniforge3
- - CONFIG: linux_riscv64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno
+ - CONFIG: linux_riscv64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10
STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
@@ -202,7 +202,7 @@ jobs:
resize_partitions: False
runs_on: ['ubuntu-latest']
tools_install_dir: ~/miniforge3
- - CONFIG: linux_riscv64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes
+ - CONFIG: linux_riscv64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10
STORE_BUILD_ARTIFACTS: False
UPLOAD_PACKAGES: True
diff --git a/README.md b/README.md
index 1756faa73..51746589b 100644
--- a/README.md
+++ b/README.md
@@ -66,59 +66,59 @@ Current build status
| Variant | Status |
- | osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno |
+ osx_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno |
-
+
|
- | osx_64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes |
+ osx_64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes |
-
+
|
- | osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno |
+ osx_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno |
-
+
|
- | osx_64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes |
+ osx_64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes |
-
+
|
- | osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno |
+ osx_arm64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingno |
-
+
|
- | osx_arm64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes |
+ osx_arm64_build_typedebugchannel_targetsconda-forge_python_dev_debugfreethreadingyes |
-
+
|
- | osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingno |
+ osx_arm64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingno |
-
+
|
- | osx_arm64_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes |
+ osx_arm64_build_typereleasechannel_targetsconda-forge_python_devfreethreadingyes |
-
+
|
@@ -145,10 +145,10 @@ Current release info
Installing python
=================
-Installing `python` from the `conda-forge/label/python_debug` channel can be achieved by adding `conda-forge/label/python_debug` to your channels with:
+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:
```
-conda config --add channels conda-forge/label/python_debug
+conda config --add channels conda-forge/label/python_dev_debug
conda config --set channel_priority strict
```
@@ -194,7 +194,7 @@ It is possible to list all of the versions of `cpython` available on your platfo
With conda
```
-conda search cpython --channel conda-forge/label/python_debug
+conda search cpython --channel conda-forge/label/python_dev_debug
```
@@ -203,7 +203,7 @@ conda search cpython --channel conda-forge/label/python_debug
With mamba
```
-mamba search cpython --channel conda-forge/label/python_debug
+mamba search cpython --channel conda-forge/label/python_dev_debug
```
@@ -212,7 +212,7 @@ mamba search cpython --channel conda-forge/label/python_debug
With pixi
```
-pixi search cpython --channel conda-forge/label/python_debug
+pixi search cpython --channel conda-forge/label/python_dev_debug
```
@@ -222,13 +222,13 @@ pixi search cpython --channel conda-forge/label/python_debug
```
# Search all versions available on your platform:
-mamba repoquery search cpython --channel conda-forge/label/python_debug
+mamba repoquery search cpython --channel conda-forge/label/python_dev_debug
# List packages depending on `cpython`:
-mamba repoquery whoneeds cpython --channel conda-forge/label/python_debug
+mamba repoquery whoneeds cpython --channel conda-forge/label/python_dev_debug
# List dependencies of `cpython`:
-mamba repoquery depends cpython --channel conda-forge/label/python_debug
+mamba repoquery depends cpython --channel conda-forge/label/python_dev_debug
```
diff --git a/recipe/bld.bat b/recipe/bld.bat
deleted file mode 100644
index 826e658f2..000000000
--- a/recipe/bld.bat
+++ /dev/null
@@ -1,98 +0,0 @@
-setlocal EnableDelayedExpansion
-echo on
-
-:: Compile python, extensions and external libraries
-if "%target_platform%"=="win-64" (
- set HOST_PLATFORM=x64
- set HOST_DIR=amd64
-)
-if "%target_platform%"=="win-32" (
- set HOST_PLATFORM=Win32
- set HOST_DIR=win32
-)
-if "%target_platform%"=="win-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 (
- set "VERNODOTS=%%i%%j"
-)
-
-for /F "tokens=1,2 delims=." %%i in ("%PKG_VERSION%") do (
- set "VER=%%i.%%j"
-)
-
-:: Make sure the "python" value in conda_build_config.yaml is up to date.
-for /F "tokens=1,2 delims=." %%i in ("%PKG_VERSION%") do (
- if NOT "%PY_VER%"=="%%i.%%j" exit 1
-)
-
-for /f "usebackq delims=" %%i in (`conda list -p %PREFIX% sqlite --no-show-channel-urls --json ^| findstr "version"`) do set SQLITE3_VERSION_LINE=%%i
-for /f "tokens=2 delims==/ " %%i IN ('echo %SQLITE3_VERSION_LINE%') do (set SQLITE3_VERSION=%%~i)
-echo SQLITE3_VERSION detected as %SQLITE3_VERSION%
-
-if "%PY_INTERP_DEBUG%"=="yes" (
- set CONFIG=-d
- set _D=_d
-) else (
- set CONFIG=
- set _D=
-)
-
-set PGO=--pgo
-if "%DEBUG_C%"=="yes" (
- set PGO=
-)
-if "%CONDA_BUILD_CROSS_COMPILATION%" == "1" (
- set PGO=
-)
-
-if "%PY_FREETHREADING%" == "yes" (
- set "FREETHREADING=--disable-gil"
- set "THREAD=t"
- set "EXE_T=%VER%t"
-) else (
- set "FREETHREADING=--experimental-jit-off"
- set "THREAD="
- set "EXE_T="
-)
-
-:: TODO: remove once tk 9 is available on main
-:: Pin Tcl/Tk from the `tk` variant in conda_build_config.yaml (single source of
-:: truth, shared with build_base.sh). Upstream 3.15 tcltk.props defaults
-:: TclVersion to 9.0.3.0, but pkgs/main only ships tk 8.6; MSBuild derives the
-:: lib names (tcl86t.lib/tk86t.lib) from the major.minor of these props.
-set TCLTK_MSBUILD_PROPS="/p:TclVersion=%tk%" "/p:TkVersion=%tk%"
-
-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 %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% %TCLTK_MSBUILD_PROPS%
-call build.bat %PGO% %CONFIG% %FREETHREADING% -m -e -v -p %HOST_PLATFORM% %TCLTK_MSBUILD_PROPS%
-if errorlevel 1 exit 1
-cd ..
diff --git a/recipe/install_base.bat b/recipe/build_base.bat
similarity index 54%
rename from recipe/install_base.bat
rename to recipe/build_base.bat
index 92fdaeb19..dab985aac 100644
--- a/recipe/install_base.bat
+++ b/recipe/build_base.bat
@@ -1,6 +1,9 @@
setlocal EnableDelayedExpansion
echo on
+:: Avoids fetching nuget.exe from the internet.
+set PYTHON=%CONDA_PYTHON_EXE%
+
:: Compile python, extensions and external libraries
if "%target_platform%"=="win-64" (
set HOST_PLATFORM=x64
@@ -36,22 +39,78 @@ for /F "tokens=1,2 delims=." %%i in ("%PKG_VERSION%") do (
set "VER=%%i.%%j"
)
+:: Make sure the "python" value in conda_build_config.yaml is up to date.
+for /F "tokens=1,2 delims=." %%i in ("%PKG_VERSION%") do (
+ if NOT "%PY_VER%"=="%%i.%%j" exit 1
+)
+
+for /f "usebackq delims=" %%i in (`conda list -p %PREFIX% sqlite --no-show-channel-urls --json ^| findstr "version"`) do set SQLITE3_VERSION_LINE=%%i
+for /f "tokens=2 delims==/ " %%i IN ('echo %SQLITE3_VERSION_LINE%') do (set SQLITE3_VERSION=%%~i)
+echo SQLITE3_VERSION detected as %SQLITE3_VERSION%
+
if "%PY_INTERP_DEBUG%"=="yes" (
+ set CONFIG=-d
set _D=_d
) else (
+ set CONFIG=
set _D=
)
+REM PGO is disabled for the 3.15 build. It was enabled for 3.14 job, but it doesn't
+REM work as intended and there are lots of warnings generated of the form
+REM warning PG0188: No .PGC files matching %SRC_DIR%\PCbuild\amd64\_tkinter!*.pgc' were found
+set PGO=
+if "%DEBUG_C%"=="yes" (
+ set PGO=
+)
+if "%CONDA_BUILD_CROSS_COMPILATION%" == "1" (
+ set PGO=
+)
+
if "%PY_FREETHREADING%" == "yes" (
+ set "FREETHREADING=--disable-gil"
set "THREAD=t"
set "EXE_T=%VER%t"
+ :: Free-threaded MSBuild output goes to PCbuild\amd64t\ (or win32t\), not amd64\.
+ :: Upstream python.props sets BuildPath=BuildPath64t when DisableGil=true; all
+ :: exes, .pyd, and .lib artifacts land there. HOST_DIR below is used to
+ :: stage those files into %PREFIX% — leaving it at amd64 makes xcopy *.pyd fail
+ :: with "File not found" even though the compile itself succeeded.
+ set HOST_DIR=%HOST_DIR%t
+ set BUILD_DIR=%BUILD_DIR%t
) else (
+ set "FREETHREADING=--experimental-jit-off"
set "THREAD="
set "EXE_T="
)
+:: TODO: remove once tk 9 is available on main
+:: Pin Tcl/Tk from the `tk` variant in conda_build_config.yaml (single source of
+:: truth, shared with build_base.sh). Upstream 3.15 tcltk.props defaults
+:: TclVersion to 9.0.3.0, but pkgs/main only ships tk 8.6; MSBuild derives the
+:: lib names (tcl86t.lib/tk86t.lib) from the major.minor of these props.
+set TCLTK_MSBUILD_PROPS="/p:TclVersion=%tk%" "/p:TkVersion=%tk%"
+
+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.
+ set LIBRARY_PREFIX=%BUILD_PREFIX%\\Library
+ 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% %TCLTK_MSBUILD_PROPS%
+call build.bat %PGO% %CONFIG% %FREETHREADING% -m -e -v -p %HOST_PLATFORM% %TCLTK_MSBUILD_PROPS%
+if errorlevel 1 exit 1
+cd ..
+
:: Populate the root package directory
-for %%x in (python%EXE_T%%_D%.exe pythonw%EXE_T%%_D%.exe) do (
+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\%HOST_DIR%\%%x (
copy /Y %SRC_DIR%\PCbuild\%HOST_DIR%\%%x %PREFIX%
) else (
@@ -69,40 +128,39 @@ for %%x in (python%THREAD%%_D%.pdb python%VERNODOTS%%THREAD%%_D%.pdb pythonw%THR
@echo on
-copy %SRC_DIR%\LICENSE %PREFIX%\LICENSE_PYTHON.txt
+mkdir %PREFIX%\lib\python
+copy %SRC_DIR%\LICENSE %PREFIX%\lib\python\LICENSE_PYTHON.txt
if errorlevel 1 exit 1
:: Populate the DLLs directory
-mkdir %PREFIX%\DLLs
-xcopy /s /y %SRC_DIR%\PCBuild\%HOST_DIR%\*.pyd %PREFIX%\DLLs\
+mkdir %PREFIX%\lib\python\lib-dynload
+xcopy /s /y %SRC_DIR%\PCBuild\%HOST_DIR%\*.pyd %PREFIX%\lib\python\lib-dynload
if errorlevel 1 exit 1
-copy /Y %SRC_DIR%\PC\icons\py.ico %PREFIX%\DLLs\
+copy /Y %SRC_DIR%\PC\icons\py.ico %PREFIX%\lib\python\lib-dynload
if errorlevel 1 exit 1
-copy /Y %SRC_DIR%\PC\icons\pyc.ico %PREFIX%\DLLs\
+copy /Y %SRC_DIR%\PC\icons\pyc.ico %PREFIX%\lib\python\lib-dynload
if errorlevel 1 exit 1
-:: Populate the Tools directory
-mkdir %PREFIX%\Tools
-xcopy /s /y /i %SRC_DIR%\Tools\i18n %PREFIX%\Tools\i18n
-if errorlevel 1 exit 1
-xcopy /s /y /i %SRC_DIR%\Tools\scripts %PREFIX%\Tools\scripts
+mkdir %PREFIX%\lib\python\Tools
+xcopy /s /y /i %SRC_DIR%\Tools\scripts %PREFIX%\lib\python\Tools\scripts
if errorlevel 1 exit 1
-del %PREFIX%\Tools\scripts\README
+del %PREFIX%\lib\python\Tools\scripts\README
if errorlevel 1 exit 1
-del %PREFIX%\Tools\scripts\idle3
+del %PREFIX%\lib\python\Tools\scripts\idle3
if errorlevel 1 exit 1
-move /y %PREFIX%\Tools\scripts\pydoc3 %PREFIX%\Tools\scripts\pydoc3.py
+move /y %PREFIX%\lib\python\Tools\scripts\pydoc3 %PREFIX%\lib\python\Tools\scripts\pydoc3.py
if errorlevel 1 exit 1
:: Populate the include directory
-xcopy /s /y %SRC_DIR%\Include %PREFIX%\include\
+mkdir %PREFIX%\include\python
+xcopy /s /y %SRC_DIR%\Include %PREFIX%\include\python\
if errorlevel 1 exit 1
:: Copy generated pyconfig.h
-copy /Y %SRC_DIR%\PC\pyconfig.h %PREFIX%\include\
+copy /Y %SRC_DIR%\PC\pyconfig.h %PREFIX%\include\python\
if errorlevel 1 exit 1
:: Populate the Scripts directory
@@ -115,50 +173,49 @@ for %%x in (idle pydoc) do (
)
:: Populate the libs directory
-if not exist %PREFIX%\libs mkdir %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 exist %SRC_DIR%\PCbuild\%HOST_DIR%\python%VERNODOTS%%THREAD%%_D%.lib copy /Y %SRC_DIR%\PCbuild\%HOST_DIR%\python%VERNODOTS%%THREAD%%_D%.lib %PREFIX%\lib\
if errorlevel 1 exit 1
-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 exist %SRC_DIR%\PCbuild\%HOST_DIR%\python3%THREAD%%_D%.lib copy /Y %SRC_DIR%\PCbuild\%HOST_DIR%\python3%THREAD%%_D%.lib %PREFIX%\lib\
if errorlevel 1 exit 1
-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 exist %SRC_DIR%\PCbuild\%HOST_DIR%\_tkinter%THREAD%%_D%.lib copy /Y %SRC_DIR%\PCbuild\%HOST_DIR%\_tkinter%THREAD%%_D%.lib %PREFIX%\lib\
if errorlevel 1 exit 1
-:: Populate the Lib directory
-del %PREFIX%\libs\libpython*.a
-xcopy /s /y %SRC_DIR%\Lib %PREFIX%\Lib\
+:: Populate the lib directory
+del %PREFIX%\lib\libpython*.a
+xcopy /s /y %SRC_DIR%\lib %PREFIX%\lib\python\
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
+:: Copy venv[w]launcher scripts to venv\scripts\nt
+:: See https://github.com/python/cpython/blob/b4a316087c32d83e375087fd35fc511bc430ee8b/lib/python/venv/__init__.py#L334-L376
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\%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
+ copy /Y %SRC_DIR%\PCbuild\%HOST_DIR%\venvlauncher%THREAD%%_D%.exe %PREFIX%\lib\python\venv\scripts\nt\python.exe
+ copy /Y %SRC_DIR%\PCbuild\%HOST_DIR%\venvlauncher%THREAD%%_D%.exe %PREFIX%\lib\python\venv\scripts\nt\venvlauncher%THREAD%%_D%.exe
) else (
echo "WARNING :: %SRC_DIR%\PCbuild\%HOST_DIR%\venvlauncher%THREAD%%_D%.exe does not exist"
)
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\%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
+ copy /Y %SRC_DIR%\PCbuild\%HOST_DIR%\venvwlauncher%THREAD%%_D%.exe %PREFIX%\lib\python\venv\scripts\nt\pythonw.exe
+ copy /Y %SRC_DIR%\PCbuild\%HOST_DIR%\venvwlauncher%THREAD%%_D%.exe %PREFIX%\lib\python\venv\scripts\nt\venvwlauncher%THREAD%%_D%.exe
) else (
echo "WARNING :: %SRC_DIR%\PCbuild\%HOST_DIR%\venvwlauncher%THREAD%%_D%.exe does not exist"
)
:: Remove test data to save space.
:: Though keep `support` as some things use that.
-mkdir %PREFIX%\Lib\test_keep
+mkdir %PREFIX%\lib\python\test_keep
if errorlevel 1 exit 1
-move %PREFIX%\Lib\test\__init__.py %PREFIX%\Lib\test_keep\
+move %PREFIX%\lib\python\test\__init__.py %PREFIX%\lib\python\test_keep\
if errorlevel 1 exit 1
-move %PREFIX%\Lib\test\support %PREFIX%\Lib\test_keep\
+move %PREFIX%\lib\python\test\support %PREFIX%\lib\python\test_keep\
if errorlevel 1 exit 1
-rd /s /q %PREFIX%\Lib\test
+rd /s /q %PREFIX%\lib\python\test
if errorlevel 1 exit 1
-move %PREFIX%\Lib\test_keep %PREFIX%\Lib\test
+move %PREFIX%\lib\python\test_keep %PREFIX%\lib\python\test
if errorlevel 1 exit 1
:: We need our Python to be found!
@@ -171,7 +228,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\python
if errorlevel 1 exit 1
:: Ensure that scripts are generated
diff --git a/recipe/build.sh b/recipe/build_base.sh
similarity index 61%
rename from recipe/build.sh
rename to recipe/build_base.sh
index be54d7b24..259c35941 100644
--- a/recipe/build.sh
+++ b/recipe/build_base.sh
@@ -256,8 +256,9 @@ _common_configure_args+=(--with-computed-gotos)
_common_configure_args+=(--with-system-expat)
_common_configure_args+=(--enable-loadable-sqlite-extensions)
_common_configure_args+=(--with-tcltk-includes="-I${PREFIX}/include")
-_common_configure_args+=("--with-tcltk-libs=-L${PREFIX}/lib -ltcl8.6 -ltk8.6")
+_common_configure_args+=("--with-tcltk-libs=-L${PREFIX}/lib -ltcl${TCLTK_VER} -ltk${TCLTK_VER}")
_common_configure_args+=(--with-platlibdir=lib)
+_common_configure_args+=(--with-system-libmpdec=yes)
if [[ "${PY_INTERP_DEBUG}" == "yes" || "${target_platform}" != *"-64" || ${PY_FREETHREADING} == yes ]]; then
_common_configure_args+=(--enable-experimental-jit=no)
@@ -354,3 +355,192 @@ fi
make -j${CPU_COUNT} -C ${_buildd_shared} \
EXTRA_CFLAGS="${EXTRA_CFLAGS}" \
LIBRARY=libpython${VERABI_NO_DBG}-pic.a libpython${VERABI_NO_DBG}-pic.a
+
+make -C ${_buildd_static} install
+
+declare -a _FLAGS_REPLACE=()
+if [[ ${_OPTIMIZED} == yes ]]; then
+ _FLAGS_REPLACE+=(-O3)
+ _FLAGS_REPLACE+=(-O2)
+ _FLAGS_REPLACE+=("-fprofile-use")
+ _FLAGS_REPLACE+=("")
+ _FLAGS_REPLACE+=("-fprofile-correction")
+ _FLAGS_REPLACE+=("")
+ _FLAGS_REPLACE+=("-L.")
+ _FLAGS_REPLACE+=("")
+ for _LTO_CFLAG in "${LTO_CFLAGS[@]}"; do
+ _FLAGS_REPLACE+=(${_LTO_CFLAG})
+ _FLAGS_REPLACE+=("")
+ done
+fi
+
+# Use sysconfigdata and build-details.json from the shared build, as we want packages to prefer
+# linking against the shared library. Issue #565.
+BUILD_DIR=$(< ${_buildd_shared}/pybuilddir.txt)
+SYSCONFIG=$(find ${_buildd_shared}/${BUILD_DIR} -name "_sysconfigdata*.py" -print0)
+cat ${SYSCONFIG} | ${SYS_PYTHON} "${RECIPE_DIR}"/replace-word-pairs.py \
+ "${_FLAGS_REPLACE[@]}" \
+ > ${PREFIX}/lib/python${VERABI_NO_DBG}/$(basename ${SYSCONFIG})
+
+if [[ "${CONDA_BUILD_CROSS_COMPILATION}" == "1" ]]; then
+ # build-details.json is incorrect when cross-compiling:
+ # https://github.com/python/cpython/issues/136267
+ if [[ -n ${CROSSCOMPILING_EMULATOR} ]]; then
+ # let's use emulation to run the just-built python and generate the correct file
+ LD_LIBRARY_PATH=build-shared/ build-shared/python Tools/build/generate-build-details.py \
+ ${PREFIX}/lib/python${VERABI_NO_DBG}/build-details.json
+ else
+ echo "Generating build-details.json for cross without an emulator is not"
+ echo "supported right now."
+ exit 1
+ fi
+else
+ BUILD_DETAILS=${_buildd_shared}/${BUILD_DIR}/build-details.json
+ cp ${BUILD_DETAILS} ${PREFIX}/lib/python${VERABI_NO_DBG}/
+fi
+
+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 \
+ "${_FLAGS_REPLACE[@]}" \
+ > ${MAKEFILE}
+# Check to see that our differences took.
+# echo diff -urN ${SYSCONFIG} ${PREFIX}/lib/python${VERABI_NO_DBG}/$(basename ${SYSCONFIG})
+# diff -urN ${SYSCONFIG} ${PREFIX}/lib/python${VERABI_NO_DBG}/$(basename ${SYSCONFIG})
+
+# Python installs python${VER}m and python${VER}, one as a hardlink to the other. conda-build breaks these
+# by copying. Since the executable may be static it may be very large so change one to be a symlink
+# of the other. In this case, python${VER}m will be the symlink.
+if [[ -f ${PREFIX}/bin/python${VER}m ]]; then
+ rm -f ${PREFIX}/bin/python${VER}m
+ ln -s ${PREFIX}/bin/python${VER} ${PREFIX}/bin/python${VER}m
+fi
+ln -s ${PREFIX}/bin/python${VER} ${PREFIX}/bin/python
+ln -s ${PREFIX}/bin/pydoc${VER} ${PREFIX}/bin/pydoc
+# Workaround for https://github.com/conda/conda/issues/10969
+ln -s ${PREFIX}/bin/python${VER} ${PREFIX}/bin/python3.1
+
+# Remove test data to save space
+# Though keep `support` as some things use that.
+# TODO :: Make a subpackage for this once we implement multi-level testing.
+pushd ${PREFIX}/lib/python${VERABI_NO_DBG}
+ mkdir test_keep
+ mv test/__init__.py test/support test/test_support* test/test_script_helper* test_keep/
+ rm -rf test */test
+ mv test_keep test
+popd
+
+# Size reductions:
+pushd ${PREFIX}
+ if [[ -f lib/libpython${VERABI}.a ]]; then
+ chmod +w lib/libpython${VERABI}.a
+ ${STRIP} -S lib/libpython${VERABI}.a
+ fi
+ CONFIG_LIBPYTHON=$(find lib/python${VERABI_NO_DBG}/config-${VERABI}* -name "libpython${VERABI}.a")
+ if [[ -f lib/libpython${VERABI}.a ]] && [[ -f ${CONFIG_LIBPYTHON} ]]; then
+ chmod +w ${CONFIG_LIBPYTHON}
+ rm ${CONFIG_LIBPYTHON}
+ fi
+popd
+
+# Copy sysconfig that gets recorded to a non-default name
+# using the new compilers with python will require setting _PYTHON_SYSCONFIGDATA_NAME
+# to the name of this file (minus the .py extension)
+pushd "${PREFIX}"/lib/python${VERABI_NO_DBG}
+ # On Python 3.5 _sysconfigdata.py was getting copied in here and compiled for some reason.
+ # This breaks our attempt to find the right one as recorded_name.
+ find lib-dynload -name "_sysconfigdata*.py*" -exec rm {} \;
+ recorded_name=$(find . -name "_sysconfigdata*.py")
+ our_compilers_name=_sysconfigdata_$(echo ${HOST} | sed -e 's/[.-]/_/g').py
+ # So we can see if anything has significantly diverged by looking in a built package.
+ cp ${recorded_name} ${recorded_name}.orig
+ cp ${recorded_name} sysconfigfile
+ # fdebug-prefix-map for python work dir is useless for extensions
+ sed -i.bak "s@-fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/python-$PKG_VERSION@@g" sysconfigfile
+ sed -i.bak "s@-fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix@@g" sysconfigfile
+ # Append the conda-forge zoneinfo to the end
+ sed -i.bak "s@zoneinfo'@zoneinfo:$PREFIX/share/tzinfo'@g" sysconfigfile
+ # Remove osx sysroot as it depends on the build machine
+ # be sure CONDA_BUILD_SYSROOT has value, as other we will remove here instead spaces
+ if [[ "${target_platform}" == osx-* ]] && [[ -n ${CONDA_BUILD_SYSROOT} ]]; then
+ sed -i.bak "s@-isysroot @@g" sysconfigfile
+ sed -i.bak "s@$CONDA_BUILD_SYSROOT @@g" sysconfigfile
+ fi
+ # Remove unfilled config option
+ sed -i.bak "s/@SGI_ABI@//g" sysconfigfile
+ sed -i.bak "s@$BUILD_PREFIX/bin/${HOST}-llvm-ar@${HOST}-ar@g" sysconfigfile
+ # Remove GNULD=yes to make sure new-dtags are not used
+ sed -i.bak "s/'GNULD': 'yes'/'GNULD': 'no'/g" sysconfigfile
+ cp sysconfigfile ${our_compilers_name}
+
+ # For system gcc remove the triple
+ sed -i.bak "s@$HOST-c++@g++@g" sysconfigfile
+ sed -i.bak "s@$HOST-@@g" sysconfigfile
+ if [[ "$target_platform" == linux* ]]; then
+ # For linux, make sure the system gcc uses our linker
+ sed -i.bak "s@-pthread@-pthread -B $PREFIX/share/python_compiler_compat@g" sysconfigfile
+ fi
+ # Don't set -march and -mtune for system gcc
+ sed -i.bak "s@-march=[^( |\\\"|\\\')]*@@g" sysconfigfile
+ sed -i.bak "s@-mtune=[^( |\\\"|\\\')]*@@g" sysconfigfile
+ # Remove these flags that older compilers and linkers may not know
+ for flag in "-fstack-protector-strong" "-ffunction-sections" "-pipe" "-fno-plt" \
+ "-ftree-vectorize" "-Wl,--sort-common" "-Wl,--as-needed" "-Wl,-z,relro" \
+ "-Wl,-z,now" "-Wl,--disable-new-dtags" "-Wl,--gc-sections" "-Wl,-O2" \
+ "-fPIE" "-ftree-vectorize" "-mssse3" "-Wl,-pie" "-Wl,-dead_strip_dylibs" \
+ "-Wl,-headerpad_max_install_names"; do
+ sed -i.bak "s@$flag@@g" sysconfigfile
+ done
+ # Cleanup some extra spaces from above
+ sed -i.bak "s@' [ ]*@'@g" sysconfigfile
+ cp sysconfigfile $recorded_name
+ echo "========================sysconfig==========================="
+ cat $recorded_name
+ echo "============================================================"
+
+ rm sysconfigfile
+ rm sysconfigfile.bak
+popd
+
+if [[ ${HOST} =~ .*linux.* ]]; then
+ mkdir -p ${PREFIX}/share/python_compiler_compat
+ ln -s ${PREFIX}/bin/${HOST}-ld ${PREFIX}/share/python_compiler_compat/ld
+ echo "Files in this folder are to enhance backwards compatibility of anaconda software with older compilers." > ${PREFIX}/share/python_compiler_compat/README
+ echo "See: https://github.com/conda/conda/issues/6030 for more information." >> ${PREFIX}/share/python_compiler_compat/README
+fi
+
+python -c "import compileall,os;compileall.compile_dir(os.environ['PREFIX'])"
+rm ${PREFIX}/lib/libpython${VERABI}.a
+
+if [[ ${PY_INTERP_DEBUG} == yes ]]; then
+ rm ${PREFIX}/bin/python${VER}
+ ln -s ${PREFIX}/bin/python${VERABI} ${PREFIX}/bin/python${VER}
+ ln -s ${PREFIX}/include/python${VERABI} ${PREFIX}/include/python${VER}
+fi
+
+if [[ "$target_platform" == linux-* ]]; then
+ rm ${PREFIX}/include/uuid.h
+fi
+
+# Workaround for https://github.com/conda/conda/issues/14053
+# Older conda versions install noarch: python packages in wrong places.
+# For example python3.1 because older conda assumed python minor version
+# will have only one digit. noarhc pkgs for freethreading builds are supposed
+# to be installed into /lib/python3.13t/site-packages, but conda
+# installs them to /lib/python3.13/site-packages.
+# The workaround is to add all these wrong paths to sys.path using
+# a pth file so that cpython and other tools like pip know about these
+# locations to check when importing packages and uninstalling packages.
+# When installing packages, pip will use the correct location
+# /lib/python3.13t/site-packages.
+# Note that these directories are not added to sys.path if they do not exist.
+SP_DIR="${PREFIX}/lib/python${PY_VER}${THREAD}/site-packages"
+if [[ ${PY_FREETHREADING} == yes ]]; then
+ echo "${PREFIX}/lib/python${PY_VER}/site-packages" >> $SP_DIR/conda-site.pth
+fi
+# Workaround for https://github.com/conda/conda/issues/10969
+echo "${PREFIX}/lib/python3.1/site-packages" >> $SP_DIR/conda-site.pth
+# A python version independent directory that ABI3 and noarch packages can use.
+# This is unused at the moment, but keeping it here for experimentation.
+echo "${PREFIX}/lib/python/site-packages" >> $SP_DIR/conda-site.pth
diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml
index 97658c608..78d45e46a 100644
--- a/recipe/conda_build_config.yaml
+++ b/recipe/conda_build_config.yaml
@@ -1,12 +1,12 @@
# See https://docs.python.org/3.14/whatsnew/3.14.html#a-new-type-of-interpreter
c_compiler_version: # [osx]
- - 20.1 # [osx]
+ - 21 # [osx]
cxx_compiler_version: # [osx]
- - 20.1 # [osx]
+ - 21 # [osx]
# Override Python `zip_keys`
python:
- - 3.14
+ - 3.15
numpy:
- 2
python_impl:
@@ -28,8 +28,8 @@ build_type:
- release
- debug # [not win]
channel_targets:
- - conda-forge main
- - conda-forge python_debug # [not win]
+ - conda-forge python_dev
+ - conda-forge python_dev_debug # [not win]
zip_keys:
- build_type
- channel_targets
diff --git a/recipe/install_base.sh b/recipe/install_base.sh
deleted file mode 100644
index b13791a55..000000000
--- a/recipe/install_base.sh
+++ /dev/null
@@ -1,222 +0,0 @@
-#!/bin/bash
-set -ex
-
-if [[ ! -d ${SRC_DIR}/python-bin ]]; then
- # Need an up-to-date python to build python.
- # python 3.10 in miniforge is too old.
- CONDA_SUBDIR=$build_platform conda create -p ${SRC_DIR}/python-bin python -c conda-forge --override-channels --yes --quiet
- export PATH=${SRC_DIR}/python-bin/bin:${PATH}
-fi
-
-VER=${PKG_VERSION%.*}
-
-_buildd_static=build-static
-_buildd_shared=build-shared
-
-if [[ ${PY_INTERP_DEBUG} == yes ]]; then
- DBG=d
-else
- DBG=
-fi
-
-if [[ ${PY_FREETHREADING} == yes ]]; then
- # This Python will not be usable with non-free threading Python modules.
- THREAD=t
-else
- THREAD=
-fi
-
-VERABI=${VER}${THREAD}${DBG}
-VERABI_NO_DBG=${VER}${THREAD}
-
-# This is the mechanism by which we fall back to default gcc, but having it defined here
-# would probably break the build by using incorrect settings and/or importing files that
-# do not yet exist.
-unset _PYTHON_SYSCONFIGDATA_NAME
-unset _CONDA_PYTHON_SYSCONFIGDATA_NAME
-
-make -C ${_buildd_static} install
-
-declare -a _FLAGS_REPLACE=()
-if [[ ${_OPTIMIZED} == yes ]]; then
- _FLAGS_REPLACE+=(-O3)
- _FLAGS_REPLACE+=(-O2)
- _FLAGS_REPLACE+=("-fprofile-use")
- _FLAGS_REPLACE+=("")
- _FLAGS_REPLACE+=("-fprofile-correction")
- _FLAGS_REPLACE+=("")
- _FLAGS_REPLACE+=("-L.")
- _FLAGS_REPLACE+=("")
- for _LTO_CFLAG in "${LTO_CFLAGS[@]}"; do
- _FLAGS_REPLACE+=(${_LTO_CFLAG})
- _FLAGS_REPLACE+=("")
- done
-fi
-
-SYSCONFIG=$(find ${_buildd_static}/$(cat ${_buildd_static}/pybuilddir.txt) -name "_sysconfigdata*.py" -print0)
-cat ${SYSCONFIG} | ${SYS_PYTHON} "${RECIPE_DIR}"/replace-word-pairs.py \
- "${_FLAGS_REPLACE[@]}" \
- > ${PREFIX}/lib/python${VERABI_NO_DBG}/$(basename ${SYSCONFIG})
-
-if [[ "${CONDA_BUILD_CROSS_COMPILATION}" == "1" ]]; then
- # build-details.json is incorrect when cross-compiling:
- # https://github.com/python/cpython/issues/136267
- if [[ -n ${CROSSCOMPILING_EMULATOR} ]]; then
- # let's use emulation to run the just-built python and generate the correct file
- LD_LIBRARY_PATH=build-shared/ build-shared/python Tools/build/generate-build-details.py \
- ${PREFIX}/lib/python${VERABI_NO_DBG}/build-details.json
- else
- echo "Generating build-details.json for cross without an emulator is not"
- echo "supported right now."
- exit 1
- fi
-else
- BUILD_DETAILS=${_buildd_shared}/$(cat ${_buildd_shared}/pybuilddir.txt)/build-details.json
- cp ${BUILD_DETAILS} ${PREFIX}/lib/python${VERABI_NO_DBG}/
-fi
-
-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 \
- "${_FLAGS_REPLACE[@]}" \
- > ${MAKEFILE}
-# Check to see that our differences took.
-# echo diff -urN ${SYSCONFIG} ${PREFIX}/lib/python${VERABI_NO_DBG}/$(basename ${SYSCONFIG})
-# diff -urN ${SYSCONFIG} ${PREFIX}/lib/python${VERABI_NO_DBG}/$(basename ${SYSCONFIG})
-
-# Python installs python${VER}m and python${VER}, one as a hardlink to the other. conda-build breaks these
-# by copying. Since the executable may be static it may be very large so change one to be a symlink
-# of the other. In this case, python${VER}m will be the symlink.
-if [[ -f ${PREFIX}/bin/python${VER}m ]]; then
- rm -f ${PREFIX}/bin/python${VER}m
- ln -s ${PREFIX}/bin/python${VER} ${PREFIX}/bin/python${VER}m
-fi
-ln -s ${PREFIX}/bin/python${VER} ${PREFIX}/bin/python
-ln -s ${PREFIX}/bin/pydoc${VER} ${PREFIX}/bin/pydoc
-# Workaround for https://github.com/conda/conda/issues/10969
-ln -s ${PREFIX}/bin/python${VER} ${PREFIX}/bin/python3.1
-
-# Remove test data to save space
-# Though keep `support` as some things use that.
-# TODO :: Make a subpackage for this once we implement multi-level testing.
-pushd ${PREFIX}/lib/python${VERABI_NO_DBG}
- mkdir test_keep
- mv test/__init__.py test/support test/test_support* test/test_script_helper* test_keep/
- rm -rf test */test
- mv test_keep test
-popd
-
-# Size reductions:
-pushd ${PREFIX}
- if [[ -f lib/libpython${VERABI}.a ]]; then
- chmod +w lib/libpython${VERABI}.a
- ${STRIP} -S lib/libpython${VERABI}.a
- fi
- CONFIG_LIBPYTHON=$(find lib/python${VERABI_NO_DBG}/config-${VERABI}* -name "libpython${VERABI}.a")
- if [[ -f lib/libpython${VERABI}.a ]] && [[ -f ${CONFIG_LIBPYTHON} ]]; then
- chmod +w ${CONFIG_LIBPYTHON}
- rm ${CONFIG_LIBPYTHON}
- fi
-popd
-
-# Copy sysconfig that gets recorded to a non-default name
-# using the new compilers with python will require setting _PYTHON_SYSCONFIGDATA_NAME
-# to the name of this file (minus the .py extension)
-pushd "${PREFIX}"/lib/python${VERABI_NO_DBG}
- # On Python 3.5 _sysconfigdata.py was getting copied in here and compiled for some reason.
- # This breaks our attempt to find the right one as recorded_name.
- find lib-dynload -name "_sysconfigdata*.py*" -exec rm {} \;
- recorded_name=$(find . -name "_sysconfigdata*.py")
- our_compilers_name=_sysconfigdata_$(echo ${HOST} | sed -e 's/[.-]/_/g').py
- # So we can see if anything has significantly diverged by looking in a built package.
- cp ${recorded_name} ${recorded_name}.orig
- cp ${recorded_name} sysconfigfile
- # fdebug-prefix-map for python work dir is useless for extensions
- sed -i.bak "s@-fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/python-$PKG_VERSION@@g" sysconfigfile
- sed -i.bak "s@-fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix@@g" sysconfigfile
- # Append the conda-forge zoneinfo to the end
- sed -i.bak "s@zoneinfo'@zoneinfo:$PREFIX/share/tzinfo'@g" sysconfigfile
- # Remove osx sysroot as it depends on the build machine
- # be sure CONDA_BUILD_SYSROOT has value, as other we will remove here instead spaces
- if [[ "${target_platform}" == osx-* ]] && [[ -n ${CONDA_BUILD_SYSROOT} ]]; then
- sed -i.bak "s@-isysroot @@g" sysconfigfile
- sed -i.bak "s@$CONDA_BUILD_SYSROOT @@g" sysconfigfile
- fi
- # Remove unfilled config option
- sed -i.bak "s/@SGI_ABI@//g" sysconfigfile
- sed -i.bak "s@$BUILD_PREFIX/bin/${HOST}-llvm-ar@${HOST}-ar@g" sysconfigfile
- # Remove GNULD=yes to make sure new-dtags are not used
- sed -i.bak "s/'GNULD': 'yes'/'GNULD': 'no'/g" sysconfigfile
- cp sysconfigfile ${our_compilers_name}
-
- # For system gcc remove the triple
- sed -i.bak "s@$HOST-c++@g++@g" sysconfigfile
- sed -i.bak "s@$HOST-@@g" sysconfigfile
- if [[ "$target_platform" == linux* ]]; then
- # For linux, make sure the system gcc uses our linker
- sed -i.bak "s@-pthread@-pthread -B $PREFIX/share/python_compiler_compat@g" sysconfigfile
- fi
- # Don't set -march and -mtune for system gcc
- sed -i.bak "s@-march=[^( |\\\"|\\\')]*@@g" sysconfigfile
- sed -i.bak "s@-mtune=[^( |\\\"|\\\')]*@@g" sysconfigfile
- # Remove these flags that older compilers and linkers may not know
- for flag in "-fstack-protector-strong" "-ffunction-sections" "-pipe" "-fno-plt" \
- "-ftree-vectorize" "-Wl,--sort-common" "-Wl,--as-needed" "-Wl,-z,relro" \
- "-Wl,-z,now" "-Wl,--disable-new-dtags" "-Wl,--gc-sections" "-Wl,-O2" \
- "-fPIE" "-ftree-vectorize" "-mssse3" "-Wl,-pie" "-Wl,-dead_strip_dylibs" \
- "-Wl,-headerpad_max_install_names"; do
- sed -i.bak "s@$flag@@g" sysconfigfile
- done
- # Cleanup some extra spaces from above
- sed -i.bak "s@' [ ]*@'@g" sysconfigfile
- cp sysconfigfile $recorded_name
- echo "========================sysconfig==========================="
- cat $recorded_name
- echo "============================================================"
-
- rm sysconfigfile
- rm sysconfigfile.bak
-popd
-
-if [[ ${HOST} =~ .*linux.* ]]; then
- mkdir -p ${PREFIX}/share/python_compiler_compat
- ln -s ${PREFIX}/bin/${HOST}-ld ${PREFIX}/share/python_compiler_compat/ld
- echo "Files in this folder are to enhance backwards compatibility of anaconda software with older compilers." > ${PREFIX}/share/python_compiler_compat/README
- echo "See: https://github.com/conda/conda/issues/6030 for more information." >> ${PREFIX}/share/python_compiler_compat/README
-fi
-
-python -c "import compileall,os;compileall.compile_dir(os.environ['PREFIX'])"
-rm ${PREFIX}/lib/libpython${VERABI}.a
-
-if [[ ${PY_INTERP_DEBUG} == yes ]]; then
- rm ${PREFIX}/bin/python${VER}
- ln -s ${PREFIX}/bin/python${VERABI} ${PREFIX}/bin/python${VER}
- ln -s ${PREFIX}/include/python${VERABI} ${PREFIX}/include/python${VER}
-fi
-
-if [[ "$target_platform" == linux-* ]]; then
- rm ${PREFIX}/include/uuid.h
-fi
-
-# Workaround for https://github.com/conda/conda/issues/14053
-# Older conda versions install noarch: python packages in wrong places.
-# For example python3.1 because older conda assumed python minor version
-# will have only one digit. noarhc pkgs for freethreading builds are supposed
-# to be installed into /lib/python3.13t/site-packages, but conda
-# installs them to /lib/python3.13/site-packages.
-# The workaround is to add all these wrong paths to sys.path using
-# a pth file so that cpython and other tools like pip know about these
-# locations to check when importing packages and uninstalling packages.
-# When installing packages, pip will use the correct location
-# /lib/python3.13t/site-packages.
-# Note that these directories are not added to sys.path if they do not exist.
-SP_DIR="${PREFIX}/lib/python${PY_VER}${THREAD}/site-packages"
-if [[ ${PY_FREETHREADING} == yes ]]; then
- echo "${PREFIX}/lib/python${PY_VER}/site-packages" >> $SP_DIR/conda-site.pth
-fi
-# Workaround for https://github.com/conda/conda/issues/10969
-echo "${PREFIX}/lib/python3.1/site-packages" >> $SP_DIR/conda-site.pth
-# A python version independent directory that ABI3 and noarch packages can use.
-# This is unused at the moment, but keeping it here for experimentation.
-echo "${PREFIX}/lib/python/site-packages" >> $SP_DIR/conda-site.pth
diff --git a/recipe/install_shared.bat b/recipe/install_shared.bat
deleted file mode 100644
index ddbb53dde..000000000
--- a/recipe/install_shared.bat
+++ /dev/null
@@ -1,37 +0,0 @@
-setlocal EnableDelayedExpansion
-echo on
-
-if "%target_platform%"=="win-64" (
- set HOST_DIR=amd64
-)
-if "%target_platform%"=="win-32" (
- set HOST_DIR=win32
-)
-if "%target_platform%"=="win-arm64" (
- set HOST_DIR=arm64
-)
-
-for /F "tokens=1,2 delims=." %%i in ("%PKG_VERSION%") do (
- set "VERNODOTS=%%i%%j"
-)
-
-if "%PY_INTERP_DEBUG%"=="yes" (
- set _D=_d
-) else (
- set _D=
-)
-
-if "%PY_FREETHREADING%" == "yes" (
- set "THREAD=t"
-) else (
- set "THREAD="
-)
-
-:: move python*.dll
-for %%x in (python%VERNODOTS%%THREAD%%_D%.dll python3%THREAD%%_D%.dll) do (
- if exist %SRC_DIR%\PCbuild\%HOST_DIR%\%%x (
- copy /Y %SRC_DIR%\PCbuild\%HOST_DIR%\%%x %PREFIX%
- ) else (
- echo "WARNING :: %SRC_DIR%\PCbuild\%HOST_DIR%\%%x does not exist"
- )
-)
diff --git a/recipe/meta.yaml b/recipe/meta.yaml
index 891b5e104..7aa746f96 100644
--- a/recipe/meta.yaml
+++ b/recipe/meta.yaml
@@ -1,10 +1,10 @@
-{% set version = "3.14.7" %}
-{% set dev = "" %}
+{% set version = "3.15.0" %}
+{% set dev = "rc1" %}
{% 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 = 3 %}
+{% set build_number = 1 %}
# this makes the linter happy
{% set channel_targets = channel_targets or 'conda-forge main' %}
@@ -32,7 +32,7 @@
{% endif %}
{% if win %}
- {% set site_packages_path = "Lib/site-packages" %}
+ {% set site_packages_path = "lib/python/site-packages" %}
{% elif freethreading == "yes" %}
{% set site_packages_path = "lib/python" + ver2 + "t/site-packages" %}
{% else %}
@@ -64,7 +64,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: 3b48dac8fb59f62eaa67ac83c1eb12bda1b7a08406dd286e252c11a66be27f81
+ sha256: f84dad680ab2147417d2739355c2678f0f9acffe4ae8ef77895de1454b384b07
patches:
- patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch
- patches/0002-Win32-Do-not-download-externals.patch
@@ -98,67 +98,21 @@ source:
{% if freethreading == "yes" %}
- patches/0026-Set-Py_GIL_DISABLED-in-windows-to-match-unix.patch
{% endif %}
+ - patches/0027-More-unixy-layout-for-windows.patch
build:
number: {{ build_number }}
- python_site_packages_path: {{ site_packages_path }}
- script_env:
- - PY_INTERP_DEBUG={{ py_interp_debug }}
- - PY_FREETHREADING={{ freethreading }}
requirements:
build:
- - {{ stdlib('c') }}
- - {{ compiler('c') }}
- - {{ compiler('cxx') }}
- - libtool # [unix]
- - make # [unix]
- - pkg-config # [unix]
- - ld_impl_{{ target_platform }} # [linux]
- - binutils_impl_{{ target_platform }} # [linux]
- - clang-19 # [unix]
- - clang 19.* # [win]
- # configure script looks for llvm-ar for lto
- - llvm-tools # [osx]
- - llvm-tools-19 # [unix]
- - llvm-tools 19.* # [win]
- - bzip2 # [build_platform != target_platform]
- - expat # [build_platform != target_platform]
- - libffi # [build_platform != target_platform]
- - liblzma-devel # [build_platform != target_platform]
- - libmpdec-devel # [build_platform != target_platform]
- - libsqlite # [build_platform != target_platform]
- - libuuid # [build_platform != target_platform and linux]
- - libxcrypt # [build_platform != target_platform and linux]
- - ncurses # [build_platform != target_platform and unix]
- - openssl # [build_platform != target_platform]
- - readline # [build_platform != target_platform and unix]
- - tk # [build_platform != target_platform]
- - zlib # [build_platform != target_platform]
- - zstd # [build_platform != target_platform]
- host:
- - ld_impl_{{ target_platform }} >=2.36 # [linux]
- - bzip2
- - expat
- - libffi
- - liblzma-devel
- - libmpdec-devel
- - libsqlite
- - libuuid # [linux]
- - ncurses # [unix]
- - openssl
- - readline # [unix]
- - tk
- # These two are just to get the headers needed for tk.h, but is unused
- - xorg-libx11 # [unix]
- - xorg-xorgproto # [unix]
- - zlib
- - zstd
+ - patch # [not win]
+ - m2-patch # [win]
+ - m2-gcc-libs # [win]
outputs:
- name: python
- script: install_base.sh # [unix]
- script: install_base.bat # [win]
+ script: build_base.sh # [unix]
+ script: build_base.bat # [win]
build:
number: {{ build_number }}
activate_in_script: true
@@ -214,12 +168,35 @@ outputs:
- '**/api-ms-win-core-path-l1-1-0.dll' # [win]
requirements:
build:
- - {{ stdlib('c') }}
- {{ compiler('c') }}
+ - {{ stdlib('c') }}
- {{ compiler('cxx') }}
- make # [not win]
+ - libtool # [unix]
+ - pkg-config # [not win]
+ # configure script looks for llvm-ar for lto
+ - llvm-tools # [osx]
+ - ld_impl_{{ target_platform }} # [linux]
+ - binutils_impl_{{ target_platform }} # [linux]
+ - clang-21 # [not win]
+ - llvm-tools-21 # [not win]
+ - clang 21.* # [win]
+ - llvm-tools 21.* # [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]
+ - libmpdec-devel # [build_platform != target_platform]
+ - expat # [build_platform != target_platform]
host:
- - {{ pin_subpackage('libpython', exact=True) }}
- bzip2
- libsqlite
- liblzma-devel
@@ -238,7 +215,6 @@ outputs:
- libmpdec-devel
- expat
run:
- - {{ pin_subpackage('libpython', exact=True) }}
- ld_impl_{{ target_platform }} >=2.36.1 # [linux]
- tzdata
{% if dev != '' %}
@@ -265,7 +241,6 @@ outputs:
files:
- tests/cmake/*
- tests/cython/*
- - tests/prefix-replacement/*
- run_test.py
commands:
- echo on # [win]
@@ -293,14 +268,17 @@ outputs:
- _CONDA_PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_x86_64_conda_linux_gnu python -c "import sysconfig; print(sysconfig.get_config_var('CC'))" # [linux64]
# check for unreplaced @ symbols in sysconfig files, excluding e.g. '"$@".lto'
- for f in ${CONDA_PREFIX}/lib/python*/_sysconfig*.py; do echo "Checking $f:"; if [[ `rg @[^@]*@ $f` ]]; then echo "FAILED ON $f"; cat $f; exit 1; fi; done # [linux64 or osx]
+ - test ! -f ${PREFIX}/lib/libpython${PKG_VERSION%.*}.so # [unix]
- test ! -f ${PREFIX}/lib/libpython${PKG_VERSION%.*}.a # [unix]
+ - test ! -f ${PREFIX}/lib/libpython${PKG_VERSION%.*}.so # [linux]
+ - test ! -f ${PREFIX}/lib/libpython${PKG_VERSION%.*}.dylib # [osx]
- test ! -f ${PREFIX}/lib/libpython${PKG_VERSION%.*}.nolto.a # [unix]
{% if freethreading == "yes" %}
- - if not exist %PREFIX%\\libs\\python3t.lib exit 1 # [win]
- - if not exist %PREFIX%\\libs\\python{{ ver2nd }}t.lib exit 1 # [win]
+ - if not exist %PREFIX%\\lib\\python3t.lib exit 1 # [win]
+ - if not exist %PREFIX%\\lib\\python{{ ver2nd }}t.lib exit 1 # [win]
{% else %}
- - if not exist %PREFIX%\\libs\\python3.lib exit 1 # [win]
- - if not exist %PREFIX%\\libs\\python{{ ver2nd }}.lib exit 1 # [win]
+ - if not exist %PREFIX%\\lib\\python3.lib exit 1 # [win]
+ - if not exist %PREFIX%\\lib\\python{{ ver2nd }}.lib exit 1 # [win]
{% endif %}
# https://github.com/conda-forge/python-feedstock/issues/384
- if exist %PREFIX%\\Scripts\\pydoc exit 1 # [win]
@@ -309,13 +287,9 @@ outputs:
- if not exist %PREFIX%\\Scripts\\idle-script.py exit 1 # [win]
- if not exist %PREFIX%\\Scripts\\idle.exe exit 1 # [win]
- if not exist %PREFIX%\\Scripts\\pydoc.exe exit 1 # [win]
- - if not exist %PREFIX%\\include\\pyconfig.h exit 1 # [win]
+ - if not exist %PREFIX%\\include\\python\\pyconfig.h exit 1 # [win]
- pushd tests
- - pushd prefix-replacement # [unix]
- - bash build-and-test.sh # [unix]
- - popd # [unix]
- pushd cmake
- - cmake -GNinja {{ cmake_test_args }} -DPY_VER={{ version }} -DEXTRA_COMPONENTS="Development.Embed" {{ cmake_debug }} .
- cmake -GNinja {{ cmake_test_args }} -DPY_VER={{ version }} -DEXTRA_COMPONENTS="Development.Module" {{ cmake_debug }} .
- popd
- popd
@@ -329,7 +303,6 @@ outputs:
- name: libpython
script: install_shared.sh # [unix]
- script: install_shared.bat # [win]
build:
number: {{ build_number }}
activate_in_script: true
@@ -341,10 +314,25 @@ outputs:
string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}{{ debug }}_{{ abi_tag }}
requirements:
build:
- - {{ stdlib('c') }}
- {{ compiler('c') }}
+ - {{ stdlib('c') }}
- {{ compiler('cxx') }}
+ host:
+ - {{ pin_subpackage('python', exact=True) }}
+ run:
+ - {{ pin_subpackage('python', exact=True) }}
test:
+ files:
+ - tests/cmake/*
+ - tests/prefix-replacement/*
+ requires:
+ - {{ stdlib('c') }}
+ - {{ compiler('c') }}
+ # cmake expects a C++ compiler for some reason
+ - {{ compiler('cxx') }}
+ - ripgrep
+ - cmake
+ - ninja
commands:
- VER=${PKG_VERSION%.*} # [not win]
- VERABI=${VER} # [not win]
@@ -357,13 +345,14 @@ outputs:
{% endif %}
- test -f ${PREFIX}/lib/libpython${VERABI}${SHLIB_EXT} # [unix]
- test -f ${PREFIX}/lib/libpython3${SHLIB_EXT} # [unix and build_type == "release"]
- {% if freethreading == "yes" %}
- - if not exist %PREFIX%\python3t.dll exit 1 # [win]
- - if not exist %PREFIX%\python{{ ver2nd }}t.dll exit 1 # [win]
- {% else %}
- - if not exist %PREFIX%\python3.dll exit 1 # [win]
- - if not exist %PREFIX%\python{{ ver2nd }}.dll exit 1 # [win]
- {% endif %}
+ - pushd tests
+ - pushd prefix-replacement # [unix]
+ - bash build-and-test.sh # [unix]
+ - popd # [unix]
+ - pushd cmake
+ - cmake -GNinja {{ cmake_test_args }} -DPY_VER={{ version }} -DEXTRA_COMPONENTS="Development.Embed" {{ cmake_debug }} .
+ - popd
+ - popd
- name: libpython-static
script: install_static.sh # [unix]
@@ -378,8 +367,8 @@ outputs:
string: h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}{{ debug }}_{{ abi_tag }}
requirements:
build:
- - {{ compiler('c') }}
- {{ stdlib('c') }}
+ - {{ compiler('c') }}
- {{ compiler('cxx') }}
host:
- {{ pin_subpackage('python', exact=True) }}
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 30e9f0d44..7738cab65 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,7 +1,7 @@
-From 204c40c00697419f29b214864bab80a8f01d804f Mon Sep 17 00:00:00 2001
+From eb229fe06a9aa324841dd8df909b35e95f105baa 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
+Subject: [PATCH 01/27] Win32: Change FD_SETSIZE from 512 to 2048
https://github.com/ContinuumIO/anaconda-issues/issues/1241
---
@@ -9,10 +9,10 @@ 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 42bf1157ccc..fb3c27a9ac5 100644
+index 2c56dbc6a54..845ff4732ca 100644
--- a/Modules/selectmodule.c
+++ b/Modules/selectmodule.c
-@@ -44,7 +44,7 @@
+@@ -45,7 +45,7 @@
FD_SETSIZE higher before this; e.g., via compiler /D switch.
*/
#if defined(MS_WINDOWS) && !defined(FD_SETSIZE)
diff --git a/recipe/patches/0002-Win32-Do-not-download-externals.patch b/recipe/patches/0002-Win32-Do-not-download-externals.patch
index c740fddbc..36688ede2 100644
--- a/recipe/patches/0002-Win32-Do-not-download-externals.patch
+++ b/recipe/patches/0002-Win32-Do-not-download-externals.patch
@@ -1,22 +1,22 @@
-From aaa85ea3a1edeb2e93ae12b60c7958084814df37 Mon Sep 17 00:00:00 2001
+From f7a4cb3806d5f0934c8dd57084dc4201b2593df8 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
+Subject: [PATCH 02/27] Win32: Do not download externals
---
PCbuild/build.bat | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PCbuild/build.bat b/PCbuild/build.bat
-index 60235704886..717a35c9d7e 100644
+index 9d2f032f5a9..faad274fc9d 100644
--- a/PCbuild/build.bat
+++ b/PCbuild/build.bat
-@@ -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"
+@@ -112,7 +112,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 "%do_pgo%" EQU "true" if "%platf%" EQU "x64" (
- if "%PROCESSOR_ARCHITEW6432%" NEQ "AMD64" if "%PROCESSOR_ARCHITECTURE%" NEQ "AMD64" (
+-if "%IncludeExternals%"=="" set IncludeExternals=true
++@rem if "%IncludeExternals%"=="" set IncludeExternals=true
+ if "%IncludeCTypes%"=="" set IncludeCTypes=true
+ if "%IncludeSSL%"=="" set IncludeSSL=true
+ if "%IncludeTkinter%"=="" set IncludeTkinter=true
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 48eb0e5f7..36e53a443 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,7 +1,7 @@
-From 43ac24ca1c1083b50966846f07969a9c6454e22f Mon Sep 17 00:00:00 2001
+From e226645fc9dc1028758afdae88dd0703dc803f17 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
+Subject: [PATCH 03/27] Fix find_library so that it looks in sys.prefix/lib
first
---
@@ -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 cd67fd87efc..9acb6e8c25f 100644
+index 35ac5b6bfd6..614482a10fb 100644
--- a/Lib/ctypes/util.py
+++ b/Lib/ctypes/util.py
-@@ -135,7 +135,8 @@ def dllist():
+@@ -136,7 +136,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 cd67fd87efc..9acb6e8c25f 100644
'%s.dylib' % name,
'%s.framework/%s' % (name, name)]
for name in possible:
-@@ -435,10 +436,30 @@ def _findLib_ld(name):
+@@ -437,10 +438,30 @@ def _findLib_ld(name):
pass # result will be None
return result
@@ -70,4 +70,4 @@ index cd67fd87efc..9acb6e8c25f 100644
+ _get_soname(_findLib_gcc(name)) or _get_soname(_findLib_ld(name))
- # On platforms which provide dl_iterate_phdr(), dllist() is implemented
+ # Listing loaded libraries on other systems will try to use
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 e35b7a1d8..ac8937618 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,7 +1,7 @@
-From 21533f279cfe2060e7aa355b860547e7982b5c89 Mon Sep 17 00:00:00 2001
+From ee51d7baf498bc5e30b34c357137af6ea57cb4a7 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
+Subject: [PATCH 04/27] Disable registry lookup unless CONDA_PY_ALLOW_REG_PATHS
is not 0
Co-authored-by: Isuru Fernando
@@ -23,7 +23,7 @@ index 1e75993480a..ff96c8e1990 100644
!progname_to_dict(dict, "real_executable") ||
!library_to_dict(dict, "library") ||
diff --git a/Modules/getpath.py b/Modules/getpath.py
-index 0e4f1e87e73..df5d89d857a 100644
+index 6199567bd77..ea370c2f686 100644
--- a/Modules/getpath.py
+++ b/Modules/getpath.py
@@ -52,6 +52,7 @@
@@ -34,9 +34,9 @@ index 0e4f1e87e73..df5d89d857a 100644
# ** Values calculated at runtime **
# config -- [in/out] dict of the PyConfig structure
-@@ -697,7 +698,7 @@ def search_up(prefix, *landmarks, test=isfile):
- else:
- pythonpath.append(joinpath(base_prefix, ZIP_LANDMARK))
+@@ -699,7 +700,7 @@ def search_up(prefix, *landmarks, test=isfile):
+ stdlib_zip = joinpath(base_prefix, ZIP_LANDMARK)
+ pythonpath.append(stdlib_zip)
- if os_name == 'nt' and use_environment and winreg:
+ if os_name == 'nt' and use_environment and winreg and ENV_CONDA_PY_ALLOW_REG_PATHS and ENV_CONDA_PY_ALLOW_REG_PATHS != '0':
diff --git a/recipe/patches/0005-Unvendor-openssl.patch b/recipe/patches/0005-Unvendor-openssl.patch
index 10332df80..ff1c65c7b 100644
--- a/recipe/patches/0005-Unvendor-openssl.patch
+++ b/recipe/patches/0005-Unvendor-openssl.patch
@@ -1,7 +1,7 @@
-From 91c3e5bdab6497eca2cfcb6838df9dc3d8317726 Mon Sep 17 00:00:00 2001
+From a6dcb685cb77f162310ef77576af382188d8413e 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
+Subject: [PATCH 05/27] Unvendor openssl
Co-authored-by: Isuru Fernando
---
@@ -90,10 +90,10 @@ index 7ca750dda8f..17eee400ebb 100644
diff --git a/PCbuild/python.props b/PCbuild/python.props
-index ce4a7781fbd..253aa66f477 100644
+index 8d931bba28a..744ce0c540a 100644
--- a/PCbuild/python.props
+++ b/PCbuild/python.props
-@@ -68,6 +68,7 @@
+@@ -91,6 +91,7 @@
$(EXTERNALS_DIR)
@@ -101,13 +101,13 @@ index ce4a7781fbd..253aa66f477 100644
$([System.IO.Path]::GetFullPath(`$(PySourcePath)externals`))
$(ExternalsDir)\
-@@ -75,20 +76,8 @@
+@@ -98,20 +99,8 @@
-- $(ExternalsDir)sqlite-3.50.4.0\
+- $(ExternalsDir)sqlite-3.53.2.0\
- $(ExternalsDir)bzip2-1.0.8\
-- $(ExternalsDir)xz-5.2.5\
+- $(ExternalsDir)xz-5.8.1.1\
- $(ExternalsDir)libffi-3.4.4\
- $(libffiDir)$(ArchName)\
- $(libffiOutDir)include
@@ -123,7 +123,7 @@ index ce4a7781fbd..253aa66f477 100644
diff --git a/PCbuild/python.vcxproj b/PCbuild/python.vcxproj
-index 70dabaa3c8b..ac5f96ebafc 100644
+index 417ede34c54..75f2bd9984a 100644
--- a/PCbuild/python.vcxproj
+++ b/PCbuild/python.vcxproj
@@ -110,6 +110,9 @@
@@ -137,7 +137,7 @@ index 70dabaa3c8b..ac5f96ebafc 100644
diff --git a/PCbuild/pythonw.vcxproj b/PCbuild/pythonw.vcxproj
-index c6a5b8ce90a..74bd19144f9 100644
+index 244cdf622ad..03ba2a20dd2 100644
--- a/PCbuild/pythonw.vcxproj
+++ b/PCbuild/pythonw.vcxproj
@@ -105,6 +105,9 @@
diff --git a/recipe/patches/0006-Unvendor-sqlite3.patch b/recipe/patches/0006-Unvendor-sqlite3.patch
index 3b9954a43..19b96b025 100644
--- a/recipe/patches/0006-Unvendor-sqlite3.patch
+++ b/recipe/patches/0006-Unvendor-sqlite3.patch
@@ -1,16 +1,16 @@
-From 6fa5924da6eddfc530015bef11bc498913c630b1 Mon Sep 17 00:00:00 2001
+From c82644b76c5b87ad02ffeb3f2fb5c3fab2a0ec80 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
+Subject: [PATCH 06/27] Unvendor sqlite3
---
- PCbuild/_sqlite3.vcxproj | 11 +++++------
+ PCbuild/_sqlite3.vcxproj | 9 ++++-----
PCbuild/pcbuild.sln | 2 --
PCbuild/sqlite3.vcxproj | 12 ++++++------
- 3 files changed, 11 insertions(+), 14 deletions(-)
+ 3 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/PCbuild/_sqlite3.vcxproj b/PCbuild/_sqlite3.vcxproj
-index 9ae0a0fc3a0..f482734ba1d 100644
+index 9ae0a0fc3a0..9baaafed518 100644
--- a/PCbuild/_sqlite3.vcxproj
+++ b/PCbuild/_sqlite3.vcxproj
@@ -93,9 +93,12 @@
@@ -27,7 +27,7 @@ index 9ae0a0fc3a0..f482734ba1d 100644
-@@ -127,12 +130,8 @@
+@@ -127,10 +130,6 @@
{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}
false
@@ -38,15 +38,11 @@ index 9ae0a0fc3a0..f482734ba1d 100644
-
--
-\ No newline at end of file
-+
diff --git a/PCbuild/pcbuild.sln b/PCbuild/pcbuild.sln
-index 7296ea75301..9dd5e07ad8a 100644
+index 09a989d3864..74b961e877f 100644
--- a/PCbuild/pcbuild.sln
+++ b/PCbuild/pcbuild.sln
-@@ -72,8 +72,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_elementtree", "_elementtre
+@@ -73,8 +73,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_elementtree", "_elementtre
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_socket", "_socket.vcxproj", "{86937F53-C189-40EF-8CE8-8759D8E7D480}"
EndProject
diff --git a/recipe/patches/0007-Add-CondaEcosystemModifyDllSearchPath.patch b/recipe/patches/0007-Add-CondaEcosystemModifyDllSearchPath.patch
index e6045d500..054aa22c2 100644
--- a/recipe/patches/0007-Add-CondaEcosystemModifyDllSearchPath.patch
+++ b/recipe/patches/0007-Add-CondaEcosystemModifyDllSearchPath.patch
@@ -1,7 +1,7 @@
-From e2a8b753a8c2420a2f0b793a40725264a116bbda Mon Sep 17 00:00:00 2001
+From 9614157a8e1240021175a1bdba71dfa48b221e09 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()
+Subject: [PATCH 07/27] Add CondaEcosystemModifyDllSearchPath()
The python interpreter is modifed so that it works as if the python interpreter
was called with the following conda directories.
@@ -33,10 +33,10 @@ Co-authored-by: Isuru Fernando
1 file changed, 95 insertions(+)
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c
-index fe55ec7caff..cabd42067d7 100644
+index 3933c321ed2..9a4a8c5a024 100644
--- a/Python/pylifecycle.c
+++ b/Python/pylifecycle.c
-@@ -80,6 +80,10 @@
+@@ -88,6 +88,10 @@
#ifdef MS_WINDOWS
# undef BYTE
@@ -47,7 +47,7 @@ index fe55ec7caff..cabd42067d7 100644
#endif
#define PUTS(fd, str) (void)_Py_write_noraise(fd, str, (int)strlen(str))
-@@ -114,6 +118,93 @@ GENERATE_DEBUG_SECTION(PyRuntime, _PyRuntimeState _PyRuntime)
+@@ -122,6 +126,93 @@ GENERATE_DEBUG_SECTION(PyRuntime, _PyRuntimeState _PyRuntime)
= _PyRuntimeState_INIT(_PyRuntime, _Py_Debug_Cookie);
_Py_COMP_DIAG_POP
@@ -141,7 +141,7 @@ index fe55ec7caff..cabd42067d7 100644
static int runtime_initialized = 0;
-@@ -131,6 +222,10 @@ _PyRuntime_Initialize(void)
+@@ -139,6 +230,10 @@ _PyRuntime_Initialize(void)
}
runtime_initialized = 1;
diff --git a/recipe/patches/0008-Doing-d1trimfile.patch b/recipe/patches/0008-Doing-d1trimfile.patch
index de0b80034..2e6a02868 100644
--- a/recipe/patches/0008-Doing-d1trimfile.patch
+++ b/recipe/patches/0008-Doing-d1trimfile.patch
@@ -1,11 +1,11 @@
-From efdb6286b645c1c277f4c12f468a7bde97e876cc Mon Sep 17 00:00:00 2001
+From 58cc3e9ea869f279ad53387ca1d4f5d963cfbed4 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
+Subject: [PATCH 08/27] Doing d1trimfile
---
PCbuild/_asyncio.vcxproj | 20 ++++++++++++++++++++
- PCbuild/_bz2.vcxproj | 6 +++++-
+ PCbuild/_bz2.vcxproj | 4 ++++
PCbuild/_ctypes.vcxproj | 4 ++++
PCbuild/_ctypes_test.vcxproj | 20 ++++++++++++++++++++
PCbuild/_decimal.vcxproj | 4 ++++
@@ -13,39 +13,48 @@ Subject: [PATCH 08/26] Doing d1trimfile
PCbuild/_freeze_module.vcxproj | 4 ++++
PCbuild/_hashlib.vcxproj | 12 ++++++++++++
PCbuild/_lzma.vcxproj | 4 ++++
- PCbuild/_multiprocessing.vcxproj | 14 +++++++++++++-
- PCbuild/_overlapped.vcxproj | 14 +++++++++++++-
+ PCbuild/_multiprocessing.vcxproj | 12 ++++++++++++
+ PCbuild/_overlapped.vcxproj | 12 ++++++++++++
PCbuild/_queue.vcxproj | 20 ++++++++++++++++++++
- PCbuild/_socket.vcxproj | 14 +++++++++++++-
+ PCbuild/_remote_debugging.vcxproj | 6 ++++++
+ PCbuild/_socket.vcxproj | 12 ++++++++++++
PCbuild/_sqlite3.vcxproj | 4 ++++
PCbuild/_ssl.vcxproj | 12 ++++++++++++
- PCbuild/_testbuffer.vcxproj | 22 +++++++++++++++++++++-
+ PCbuild/_testbuffer.vcxproj | 20 ++++++++++++++++++++
PCbuild/_testcapi.vcxproj | 20 ++++++++++++++++++++
- PCbuild/_testconsole.vcxproj | 6 +++++-
- PCbuild/_testembed.vcxproj | 6 +++++-
+ PCbuild/_testconsole.vcxproj | 4 ++++
+ PCbuild/_testembed.vcxproj | 4 ++++
PCbuild/_testimportmultiple.vcxproj | 20 ++++++++++++++++++++
PCbuild/_testinternalcapi.vcxproj | 20 ++++++++++++++++++++
- PCbuild/_testmultiphase.vcxproj | 6 +++++-
+ PCbuild/_testmultiphase.vcxproj | 4 ++++
+ PCbuild/_testsinglephase.vcxproj | 4 ++++
PCbuild/_tkinter.vcxproj | 4 ++++
+ PCbuild/_uuid.vcxproj | 6 ++++++
+ PCbuild/_wmi.vcxproj | 4 ++++
+ PCbuild/_zstd.vcxproj | 4 ++++
PCbuild/liblzma.vcxproj | 4 ++++
PCbuild/pyexpat.vcxproj | 4 ++++
PCbuild/pylauncher.vcxproj | 4 ++++
- PCbuild/pyshellext.vcxproj | 6 +++++-
+ PCbuild/pyshellext.vcxproj | 4 ++++
PCbuild/python.vcxproj | 4 ++++
- PCbuild/python3dll.vcxproj | 6 +++++-
+ PCbuild/python3dll.vcxproj | 4 ++++
+ PCbuild/python3tdll.vcxproj | 4 ++++
PCbuild/python_uwp.vcxproj | 2 +-
PCbuild/pythoncore.vcxproj | 2 +-
- PCbuild/pythonw.vcxproj | 14 +++++++++++++-
+ PCbuild/pythonw.vcxproj | 20 ++++++++++++--------
PCbuild/pythonw_uwp.vcxproj | 2 +-
- PCbuild/pywlauncher.vcxproj | 6 +++++-
- PCbuild/select.vcxproj | 14 +++++++++++++-
- PCbuild/unicodedata.vcxproj | 22 +++++++++++++++++++++-
+ PCbuild/pywlauncher.vcxproj | 4 ++++
+ PCbuild/select.vcxproj | 12 ++++++++++++
+ PCbuild/sqlite3.vcxproj | 4 ++++
+ PCbuild/unicodedata.vcxproj | 20 ++++++++++++++++++++
PCbuild/venvlauncher.vcxproj | 4 ++++
PCbuild/venvwlauncher.vcxproj | 4 ++++
- PCbuild/winsound.vcxproj | 14 +++++++++++++-
+ PCbuild/winsound.vcxproj | 12 ++++++++++++
PCbuild/xxlimited.vcxproj | 6 ++++++
PCbuild/xxlimited_35.vcxproj | 6 ++++++
- 41 files changed, 367 insertions(+), 19 deletions(-)
+ PCbuild/xxlimited_3_13.vcxproj | 6 ++++++
+ PCbuild/zlib-ng.vcxproj | 4 ++++
+ 50 files changed, 394 insertions(+), 12 deletions(-)
diff --git a/PCbuild/_asyncio.vcxproj b/PCbuild/_asyncio.vcxproj
index 76b0ffd660d..1402860e19b 100644
@@ -79,7 +88,7 @@ index 76b0ffd660d..1402860e19b 100644
diff --git a/PCbuild/_bz2.vcxproj b/PCbuild/_bz2.vcxproj
-index e0dc6ec187a..30ad0dc4864 100644
+index e0dc6ec187a..9e75e57cb6e 100644
--- a/PCbuild/_bz2.vcxproj
+++ b/PCbuild/_bz2.vcxproj
@@ -97,6 +97,10 @@
@@ -93,13 +102,6 @@ index e0dc6ec187a..30ad0dc4864 100644
-@@ -125,4 +129,4 @@
-
-
-
--
-\ No newline at end of file
-+
diff --git a/PCbuild/_ctypes.vcxproj b/PCbuild/_ctypes.vcxproj
index 63d5fa49cd4..6329f3d960f 100644
--- a/PCbuild/_ctypes.vcxproj
@@ -147,7 +149,7 @@ index f15b80852e3..e565441ca4c 100644
diff --git a/PCbuild/_decimal.vcxproj b/PCbuild/_decimal.vcxproj
-index ee7421484b5..e9d60b4db1a 100644
+index 3ba49370d58..921d22e47b3 100644
--- a/PCbuild/_decimal.vcxproj
+++ b/PCbuild/_decimal.vcxproj
@@ -99,6 +99,10 @@
@@ -179,7 +181,7 @@ index 46e34a5ea82..fb1589557da 100644
diff --git a/PCbuild/_freeze_module.vcxproj b/PCbuild/_freeze_module.vcxproj
-index 5ceddf759b8..6b113ad8c2e 100644
+index 17b98c9d9ec..b3998a47f22 100644
--- a/PCbuild/_freeze_module.vcxproj
+++ b/PCbuild/_freeze_module.vcxproj
@@ -93,6 +93,10 @@
@@ -232,7 +234,7 @@ index 40107d4b76c..321f41d8d27 100644
$(OutDir)liblzma$(PyDebugExt).lib;%(AdditionalDependencies)
diff --git a/PCbuild/_multiprocessing.vcxproj b/PCbuild/_multiprocessing.vcxproj
-index a65397f532a..451ca375990 100644
+index a65397f532a..58f1d506dc8 100644
--- a/PCbuild/_multiprocessing.vcxproj
+++ b/PCbuild/_multiprocessing.vcxproj
@@ -95,6 +95,18 @@
@@ -254,15 +256,8 @@ index a65397f532a..451ca375990 100644
-@@ -115,4 +127,4 @@
-
-
-
--
-\ No newline at end of file
-+
diff --git a/PCbuild/_overlapped.vcxproj b/PCbuild/_overlapped.vcxproj
-index 224bf05d530..f7efa63f562 100644
+index 224bf05d530..d3221fcce32 100644
--- a/PCbuild/_overlapped.vcxproj
+++ b/PCbuild/_overlapped.vcxproj
@@ -95,6 +95,18 @@
@@ -284,13 +279,6 @@ index 224bf05d530..f7efa63f562 100644
-@@ -111,4 +123,4 @@
-
-
-
--
-\ No newline at end of file
-+
diff --git a/PCbuild/_queue.vcxproj b/PCbuild/_queue.vcxproj
index 80a1c3c6a4a..8d4555299ae 100644
--- a/PCbuild/_queue.vcxproj
@@ -322,8 +310,25 @@ index 80a1c3c6a4a..8d4555299ae 100644
+diff --git a/PCbuild/_remote_debugging.vcxproj b/PCbuild/_remote_debugging.vcxproj
+index 41aadbd13d0..7fbaafdbe64 100644
+--- a/PCbuild/_remote_debugging.vcxproj
++++ b/PCbuild/_remote_debugging.vcxproj
+@@ -93,6 +93,12 @@
+ <_ProjectFileVersion>10.0.30319.1
+
+
++
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
++
+
+ ntdll.lib;%(AdditionalDependencies)
+
diff --git a/PCbuild/_socket.vcxproj b/PCbuild/_socket.vcxproj
-index 41af0895921..45ecbcc4641 100644
+index 41af0895921..993426d4cf8 100644
--- a/PCbuild/_socket.vcxproj
+++ b/PCbuild/_socket.vcxproj
@@ -95,6 +95,18 @@
@@ -345,15 +350,8 @@ index 41af0895921..45ecbcc4641 100644
-@@ -114,4 +126,4 @@
-
-
-
--
-\ No newline at end of file
-+
diff --git a/PCbuild/_sqlite3.vcxproj b/PCbuild/_sqlite3.vcxproj
-index f482734ba1d..70943daa021 100644
+index 9baaafed518..a850c5a8955 100644
--- a/PCbuild/_sqlite3.vcxproj
+++ b/PCbuild/_sqlite3.vcxproj
@@ -95,6 +95,10 @@
@@ -391,7 +389,7 @@ index ce21f992ff8..34561515c12 100644
diff --git a/PCbuild/_testbuffer.vcxproj b/PCbuild/_testbuffer.vcxproj
-index 4e721e8ce09..3fec7516ed5 100644
+index 4e721e8ce09..048adde0951 100644
--- a/PCbuild/_testbuffer.vcxproj
+++ b/PCbuild/_testbuffer.vcxproj
@@ -92,6 +92,26 @@
@@ -421,15 +419,8 @@ index 4e721e8ce09..3fec7516ed5 100644
-@@ -106,4 +126,4 @@
-
-
-
--
-\ No newline at end of file
-+
diff --git a/PCbuild/_testcapi.vcxproj b/PCbuild/_testcapi.vcxproj
-index 51c4bcc6b47..ccc81a417fa 100644
+index 64e50b67be4..83233bfe869 100644
--- a/PCbuild/_testcapi.vcxproj
+++ b/PCbuild/_testcapi.vcxproj
@@ -92,6 +92,26 @@
@@ -460,7 +451,7 @@ index 51c4bcc6b47..ccc81a417fa 100644
diff --git a/PCbuild/_testconsole.vcxproj b/PCbuild/_testconsole.vcxproj
-index 69d312b17a5..bee3326ef8d 100644
+index 69d312b17a5..ea230fa8126 100644
--- a/PCbuild/_testconsole.vcxproj
+++ b/PCbuild/_testconsole.vcxproj
@@ -92,6 +92,10 @@
@@ -474,15 +465,8 @@ index 69d312b17a5..bee3326ef8d 100644
Console
-@@ -112,4 +116,4 @@
-
-
-
--
-\ No newline at end of file
-+
diff --git a/PCbuild/_testembed.vcxproj b/PCbuild/_testembed.vcxproj
-index a7ea8787e0c..e8edb3dd752 100644
+index a7ea8787e0c..eab72171e3b 100644
--- a/PCbuild/_testembed.vcxproj
+++ b/PCbuild/_testembed.vcxproj
@@ -89,6 +89,10 @@
@@ -496,13 +480,6 @@ index a7ea8787e0c..e8edb3dd752 100644
Console
-@@ -109,4 +113,4 @@
-
-
-
--
-\ No newline at end of file
-+
diff --git a/PCbuild/_testimportmultiple.vcxproj b/PCbuild/_testimportmultiple.vcxproj
index c35ac83c1c7..c9d7f5d22b7 100644
--- a/PCbuild/_testimportmultiple.vcxproj
@@ -535,7 +512,7 @@ index c35ac83c1c7..c9d7f5d22b7 100644
diff --git a/PCbuild/_testinternalcapi.vcxproj b/PCbuild/_testinternalcapi.vcxproj
-index f7e050b7c74..58c3e10c0f0 100644
+index f3e423fa046..ac285717998 100644
--- a/PCbuild/_testinternalcapi.vcxproj
+++ b/PCbuild/_testinternalcapi.vcxproj
@@ -92,6 +92,26 @@
@@ -566,7 +543,7 @@ index f7e050b7c74..58c3e10c0f0 100644
diff --git a/PCbuild/_testmultiphase.vcxproj b/PCbuild/_testmultiphase.vcxproj
-index e730fe308ab..a6f13ef31dc 100644
+index e730fe308ab..625e50af7f6 100644
--- a/PCbuild/_testmultiphase.vcxproj
+++ b/PCbuild/_testmultiphase.vcxproj
@@ -92,6 +92,10 @@
@@ -580,13 +557,21 @@ index e730fe308ab..a6f13ef31dc 100644
Console
-@@ -112,4 +116,4 @@
-
-
-
--
-\ No newline at end of file
-+
+diff --git a/PCbuild/_testsinglephase.vcxproj b/PCbuild/_testsinglephase.vcxproj
+index bf4dabf66c1..6068fb3c204 100644
+--- a/PCbuild/_testsinglephase.vcxproj
++++ b/PCbuild/_testsinglephase.vcxproj
+@@ -92,6 +92,10 @@
+
+
+ _CONSOLE;%(PreprocessorDefinitions)
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
+
+
+ Console
diff --git a/PCbuild/_tkinter.vcxproj b/PCbuild/_tkinter.vcxproj
index 87f6005fffc..de9358312ac 100644
--- a/PCbuild/_tkinter.vcxproj
@@ -602,12 +587,59 @@ index 87f6005fffc..de9358312ac 100644
$(tcltkLib);%(AdditionalDependencies)
+diff --git a/PCbuild/_uuid.vcxproj b/PCbuild/_uuid.vcxproj
+index 50d81cc7916..64fcf61fa3a 100644
+--- a/PCbuild/_uuid.vcxproj
++++ b/PCbuild/_uuid.vcxproj
+@@ -93,6 +93,12 @@
+ <_ProjectFileVersion>10.0.30319.1
+
+
++
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
++
+
+ rpcrt4.lib;%(AdditionalDependencies)
+
+diff --git a/PCbuild/_wmi.vcxproj b/PCbuild/_wmi.vcxproj
+index 22fa8960982..516db060fb3 100644
+--- a/PCbuild/_wmi.vcxproj
++++ b/PCbuild/_wmi.vcxproj
+@@ -95,6 +95,10 @@
+
+
+ /std:c++20 %(AdditionalOptions)
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
+
+
+ wbemuuid.lib;propsys.lib;%(AdditionalDependencies)
+diff --git a/PCbuild/_zstd.vcxproj b/PCbuild/_zstd.vcxproj
+index 6f91b8d05cc..683a44535ca 100644
+--- a/PCbuild/_zstd.vcxproj
++++ b/PCbuild/_zstd.vcxproj
+@@ -96,6 +96,10 @@
+
+ WIN32;ZSTD_MULTITHREAD=1;%(PreprocessorDefinitions)
+ $(zstdDir)lib\;$(zstdDir)lib\common;$(zstdDir)lib\compress;$(zstdDir)lib\decompress;$(zstdDir)lib\dictBuilder;%(AdditionalIncludeDirectories)
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
+
+
+
diff --git a/PCbuild/liblzma.vcxproj b/PCbuild/liblzma.vcxproj
-index 97938692328..212fb5e1ebc 100644
+index 75d4e162346..d50534affa1 100644
--- a/PCbuild/liblzma.vcxproj
+++ b/PCbuild/liblzma.vcxproj
@@ -95,6 +95,10 @@
- $(lzmaDir)windows/vs2019;$(lzmaDir)src/liblzma/common;$(lzmaDir)src/common;$(lzmaDir)src/liblzma/api;$(lzmaDir)src/liblzma/check;$(lzmaDir)src/liblzma/delta;$(lzmaDir)src/liblzma/lz;$(lzmaDir)src/liblzma/lzma;$(lzmaDir)src/liblzma/rangecoder;$(lzmaDir)src/liblzma/simple;%(AdditionalIncludeDirectories)
+ $(lzmaDir)windows;$(lzmaDir)src/liblzma/common;$(lzmaDir)src/common;$(lzmaDir)src/liblzma/api;$(lzmaDir)src/liblzma/check;$(lzmaDir)src/liblzma/delta;$(lzmaDir)src/liblzma/lz;$(lzmaDir)src/liblzma/lzma;$(lzmaDir)src/liblzma/rangecoder;$(lzmaDir)src/liblzma/simple;%(AdditionalIncludeDirectories)
4244;4267;4996;%(DisableSpecificWarnings)
%(AdditionalOptions) -Wno-deprecated-declarations
+ /d1trimfile:%SRC_DIR%
@@ -618,13 +650,13 @@ index 97938692328..212fb5e1ebc 100644
diff --git a/PCbuild/pyexpat.vcxproj b/PCbuild/pyexpat.vcxproj
-index 8499402f0a9..833ab5e9f7e 100644
+index 8a60ee15eb4..6518e0e1b1c 100644
--- a/PCbuild/pyexpat.vcxproj
+++ b/PCbuild/pyexpat.vcxproj
@@ -92,6 +92,10 @@
$(PySourcePath)Modules\expat;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_WARNINGS;PYEXPAT_EXPORTS;XML_STATIC;%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;XML_STATIC;%(PreprocessorDefinitions)
+ /d1trimfile:%SRC_DIR%
+ /d1trimfile:%SRC_DIR%
+ /d1trimfile:%SRC_DIR%
@@ -648,7 +680,7 @@ index ca422ef4d02..0c692649ed6 100644
shell32.lib;pathcch.lib;%(AdditionalDependencies)
diff --git a/PCbuild/pyshellext.vcxproj b/PCbuild/pyshellext.vcxproj
-index ea432d6bc9a..50397324a20 100644
+index ea432d6bc9a..13bc6921030 100644
--- a/PCbuild/pyshellext.vcxproj
+++ b/PCbuild/pyshellext.vcxproj
@@ -92,6 +92,10 @@
@@ -662,15 +694,8 @@ index ea432d6bc9a..50397324a20 100644
version.lib;shlwapi.lib;%(AdditionalDependencies)
-@@ -114,4 +118,4 @@
-
-
-
--
-\ No newline at end of file
-+
diff --git a/PCbuild/python.vcxproj b/PCbuild/python.vcxproj
-index ac5f96ebafc..3d0caa906cf 100644
+index 75f2bd9984a..27ca69880a9 100644
--- a/PCbuild/python.vcxproj
+++ b/PCbuild/python.vcxproj
@@ -92,6 +92,10 @@
@@ -685,7 +710,7 @@ index ac5f96ebafc..3d0caa906cf 100644
Console
diff --git a/PCbuild/python3dll.vcxproj b/PCbuild/python3dll.vcxproj
-index 235ea1cf9d3..d861f6c6a43 100644
+index 3d8ac1b2353..8f8da3d0bb0 100644
--- a/PCbuild/python3dll.vcxproj
+++ b/PCbuild/python3dll.vcxproj
@@ -93,6 +93,10 @@
@@ -699,13 +724,21 @@ index 235ea1cf9d3..d861f6c6a43 100644
true
-@@ -107,4 +111,4 @@
-
-
-
--
-\ No newline at end of file
-+
+diff --git a/PCbuild/python3tdll.vcxproj b/PCbuild/python3tdll.vcxproj
+index 796712cca31..b2929246b44 100644
+--- a/PCbuild/python3tdll.vcxproj
++++ b/PCbuild/python3tdll.vcxproj
+@@ -93,6 +93,10 @@
+
+ PYTHON_DLL_NAME="$(PyDllName)";%(PreprocessorDefinitions)
+ false
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
+
+
+ true
diff --git a/PCbuild/python_uwp.vcxproj b/PCbuild/python_uwp.vcxproj
index 3f8772d30b4..d80968e351a 100644
--- a/PCbuild/python_uwp.vcxproj
@@ -720,7 +753,7 @@ index 3f8772d30b4..d80968e351a 100644
windowsapp.lib;%(AdditionalDependencies)
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj
-index b911c938563..8e45967a83c 100644
+index e255ed5af19..e2f8f42449a 100644
--- a/PCbuild/pythoncore.vcxproj
+++ b/PCbuild/pythoncore.vcxproj
@@ -99,7 +99,7 @@
@@ -733,7 +766,7 @@ index b911c938563..8e45967a83c 100644
$(zlibNgDir);$(GeneratedZlibNgDir);%(AdditionalIncludeDirectories)
$(GeneratedJitStencilsDir);%(AdditionalIncludeDirectories)
diff --git a/PCbuild/pythonw.vcxproj b/PCbuild/pythonw.vcxproj
-index 74bd19144f9..6fea2e1f70c 100644
+index 03ba2a20dd2..193eb2ecb88 100644
--- a/PCbuild/pythonw.vcxproj
+++ b/PCbuild/pythonw.vcxproj
@@ -96,6 +96,18 @@
@@ -755,13 +788,20 @@ index 74bd19144f9..6fea2e1f70c 100644
-@@ -118,4 +130,4 @@
+@@ -118,12 +130,4 @@
--
+-
+-
+-
+-
+
\ No newline at end of file
-+
diff --git a/PCbuild/pythonw_uwp.vcxproj b/PCbuild/pythonw_uwp.vcxproj
index f548d022642..fa4e75f9712 100644
--- a/PCbuild/pythonw_uwp.vcxproj
@@ -776,7 +816,7 @@ index f548d022642..fa4e75f9712 100644
windowsapp.lib;%(AdditionalDependencies)
diff --git a/PCbuild/pywlauncher.vcxproj b/PCbuild/pywlauncher.vcxproj
-index 1694548935a..9be580e2663 100644
+index 1694548935a..551dbc21bb1 100644
--- a/PCbuild/pywlauncher.vcxproj
+++ b/PCbuild/pywlauncher.vcxproj
@@ -93,6 +93,10 @@
@@ -790,15 +830,8 @@ index 1694548935a..9be580e2663 100644
shell32.lib;pathcch.lib;%(AdditionalDependencies)
-@@ -111,4 +115,4 @@
-
-
-
--
-\ No newline at end of file
-+
diff --git a/PCbuild/select.vcxproj b/PCbuild/select.vcxproj
-index d7448fd4d72..9fab5e8a638 100644
+index d7448fd4d72..a51c71d2b72 100644
--- a/PCbuild/select.vcxproj
+++ b/PCbuild/select.vcxproj
@@ -94,6 +94,18 @@
@@ -820,15 +853,23 @@ index d7448fd4d72..9fab5e8a638 100644
-@@ -110,4 +122,4 @@
-
-
-
--
-\ No newline at end of file
-+
+diff --git a/PCbuild/sqlite3.vcxproj b/PCbuild/sqlite3.vcxproj
+index f9e5e449a49..16ed999655a 100644
+--- a/PCbuild/sqlite3.vcxproj
++++ b/PCbuild/sqlite3.vcxproj
+@@ -101,6 +101,10 @@
+ SQLITE_ENABLE_MATH_FUNCTIONS;SQLITE_ENABLE_FTS4;SQLITE_ENABLE_FTS5;SQLITE_ENABLE_RTREE;SQLITE_OMIT_AUTOINIT;SQLITE_API=__declspec(dllexport);%(PreprocessorDefinitions)
+ Level1
+ %(AdditionalOptions) -Wno-unused
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
+
+
+ SQLITE_VERSION=$(SqliteVersion);SQLITE_MAJOR_VERSION=$(SqliteMajorVersion);SQLITE_MINOR_VERSION=$(SqliteMinorVersion);SQLITE_MICRO_VERSION=$(SqliteMicroVersion);SQLITE_PATCH_VERSION=$(SqlitePatchVersion);%(PreprocessorDefinitions)
diff --git a/PCbuild/unicodedata.vcxproj b/PCbuild/unicodedata.vcxproj
-index 781f938e2ab..3870c85adf7 100644
+index 781f938e2ab..714a2382c1e 100644
--- a/PCbuild/unicodedata.vcxproj
+++ b/PCbuild/unicodedata.vcxproj
@@ -91,6 +91,26 @@
@@ -858,20 +899,13 @@ index 781f938e2ab..3870c85adf7 100644
-@@ -110,4 +130,4 @@
-
-
-
--
-\ No newline at end of file
-+
diff --git a/PCbuild/venvlauncher.vcxproj b/PCbuild/venvlauncher.vcxproj
-index abaf3a979af..324aadcd782 100644
+index a2e8ffa82b1..705e507050f 100644
--- a/PCbuild/venvlauncher.vcxproj
+++ b/PCbuild/venvlauncher.vcxproj
-@@ -94,6 +94,10 @@
+@@ -97,6 +97,10 @@
- EXENAME=L"$(PyExeName)$(PyDebugExt).exe";_CONSOLE;%(PreprocessorDefinitions)
+ EXENAME=L"$(ExeName)";_CONSOLE;%(PreprocessorDefinitions)
MultiThreaded
+ /d1trimfile:%SRC_DIR%
+ /d1trimfile:%SRC_DIR%
@@ -881,12 +915,12 @@ index abaf3a979af..324aadcd782 100644
PY_ICON;%(PreprocessorDefinitions)
diff --git a/PCbuild/venvwlauncher.vcxproj b/PCbuild/venvwlauncher.vcxproj
-index c58280deb8a..4dacf7f2724 100644
+index f2aaf83fe2b..d9c47683f25 100644
--- a/PCbuild/venvwlauncher.vcxproj
+++ b/PCbuild/venvwlauncher.vcxproj
-@@ -94,6 +94,10 @@
+@@ -97,6 +97,10 @@
- EXENAME=L"$(PyWExeName)$(PyDebugExt).exe";_WINDOWS;%(PreprocessorDefinitions)
+ EXENAME=L"$(ExeName)";_WINDOWS;%(PreprocessorDefinitions)
MultiThreaded
+ /d1trimfile:%SRC_DIR%
+ /d1trimfile:%SRC_DIR%
@@ -896,7 +930,7 @@ index c58280deb8a..4dacf7f2724 100644
PYW_ICON;%(PreprocessorDefinitions)
diff --git a/PCbuild/winsound.vcxproj b/PCbuild/winsound.vcxproj
-index c26029b15a3..1e543b31c41 100644
+index c26029b15a3..d76a3fb8537 100644
--- a/PCbuild/winsound.vcxproj
+++ b/PCbuild/winsound.vcxproj
@@ -96,6 +96,18 @@
@@ -918,15 +952,8 @@ index c26029b15a3..1e543b31c41 100644
-@@ -112,4 +124,4 @@
-
-
-
--
-\ No newline at end of file
-+
diff --git a/PCbuild/xxlimited.vcxproj b/PCbuild/xxlimited.vcxproj
-index 093e6920c0b..19dd43c19c2 100644
+index f0c36166001..cc906a14cf4 100644
--- a/PCbuild/xxlimited.vcxproj
+++ b/PCbuild/xxlimited.vcxproj
@@ -93,6 +93,12 @@
@@ -943,7 +970,7 @@ index 093e6920c0b..19dd43c19c2 100644
wsock32.lib;%(AdditionalDependencies)
diff --git a/PCbuild/xxlimited_35.vcxproj b/PCbuild/xxlimited_35.vcxproj
-index 3f4d4463f24..2572449ba0c 100644
+index bfaf4e25366..4f8a3b37e35 100644
--- a/PCbuild/xxlimited_35.vcxproj
+++ b/PCbuild/xxlimited_35.vcxproj
@@ -93,6 +93,12 @@
@@ -959,3 +986,35 @@ index 3f4d4463f24..2572449ba0c 100644
wsock32.lib;%(AdditionalDependencies)
+diff --git a/PCbuild/xxlimited_3_13.vcxproj b/PCbuild/xxlimited_3_13.vcxproj
+index 7a9760fd431..cff5e4b6850 100644
+--- a/PCbuild/xxlimited_3_13.vcxproj
++++ b/PCbuild/xxlimited_3_13.vcxproj
+@@ -93,6 +93,12 @@
+ <_ProjectFileVersion>10.0.30319.1
+
+
++
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
++
+
+ wsock32.lib;%(AdditionalDependencies)
+
+diff --git a/PCbuild/zlib-ng.vcxproj b/PCbuild/zlib-ng.vcxproj
+index ffe8e70f2db..e92cdbca987 100644
+--- a/PCbuild/zlib-ng.vcxproj
++++ b/PCbuild/zlib-ng.vcxproj
+@@ -99,6 +99,10 @@
+ %(PreprocessorDefinitions);X86_FEATURES;X86_HAVE_XSAVE_INTRIN;X86_SSE2;X86_SSSE3;X86_SSE42;X86_PCLMULQDQ_CRC;X86_AVX2;X86_AVX512;X86_AVX512VNNI;X86_VPCLMULQDQ_CRC
+ %(PreprocessorDefinitions);ZLIB_DEBUG
+ %(PreprocessorDefinitions);HAVE_BUILTIN_CTZ
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
++ /d1trimfile:%SRC_DIR%
+
+
+
diff --git a/recipe/patches/0009-cross-compile-darwin.patch b/recipe/patches/0009-cross-compile-darwin.patch
index d9a8b6999..584aa475e 100644
--- a/recipe/patches/0009-cross-compile-darwin.patch
+++ b/recipe/patches/0009-cross-compile-darwin.patch
@@ -1,7 +1,7 @@
-From 91eb356ef711a6d9119a017f3572941e174360f9 Mon Sep 17 00:00:00 2001
+From 27a1c43342bdd71ab21655d58b98c21851028df2 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
+Subject: [PATCH 09/27] cross compile darwin
By Isuru Fernando.
---
@@ -11,10 +11,10 @@ By Isuru Fernando.
3 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/Lib/platform.py b/Lib/platform.py
-index b017b841311..f7821ae7f28 100644
+index 36489d4fdd9..37278847c0a 100644
--- a/Lib/platform.py
+++ b/Lib/platform.py
-@@ -477,7 +477,12 @@ def win32_ver(release='', version='', csd='', ptype=''):
+@@ -474,7 +474,12 @@ def win32_ver(release='', version='', csd='', ptype=''):
def _mac_ver_xml():
fn = '/System/Library/CoreServices/SystemVersion.plist'
if not os.path.exists(fn):
@@ -29,10 +29,10 @@ index b017b841311..f7821ae7f28 100644
try:
import plistlib
diff --git a/configure b/configure
-index 2cb22a7806f..ad513bfe5fd 100755
+index 08a7c663ce0..b3a36e07e38 100755
--- a/configure
+++ b/configure
-@@ -4112,6 +4112,9 @@ then
+@@ -4155,6 +4155,9 @@ then
*-*-linux*)
ac_sys_system=Linux
;;
@@ -42,21 +42,21 @@ index 2cb22a7806f..ad513bfe5fd 100755
*-*-cygwin*)
ac_sys_system=Cygwin
;;
-@@ -4591,6 +4594,9 @@ if test "$cross_compiling" = yes; then
- _host_ident=$host_cpu
+@@ -4638,6 +4641,9 @@ if test "$cross_compiling" = yes; then
esac
;;
-+ *-*-darwin*)
+ *-gnu)
+ _host_ident=$host_cpu
-+ ;;
- *-*-cygwin*)
- _host_ident=
++ ;;
++ *-*-darwin*)
+ _host_ident=$host_cpu
;;
+ *-*-cygwin*)
diff --git a/configure.ac b/configure.ac
-index 967d34d47a3..68998aedfbc 100644
+index ead82d6da0b..603549bd039 100644
--- a/configure.ac
+++ b/configure.ac
-@@ -324,6 +324,9 @@ then
+@@ -333,6 +333,9 @@ then
*-*-linux*)
ac_sys_system=Linux
;;
@@ -66,9 +66,9 @@ index 967d34d47a3..68998aedfbc 100644
*-*-cygwin*)
ac_sys_system=Cygwin
;;
-@@ -771,6 +774,9 @@ if test "$cross_compiling" = yes; then
- _host_ident=$host_cpu
- esac
+@@ -786,6 +789,9 @@ if test "$cross_compiling" = yes; then
+ *-gnu)
+ _host_ident=$host_cpu
;;
+ *-*-darwin*)
+ _host_ident=$host_cpu
diff --git a/recipe/patches/0010-Fix-TZPATH-on-windows.patch b/recipe/patches/0010-Fix-TZPATH-on-windows.patch
index 9fdb8a327..c788eefb4 100644
--- a/recipe/patches/0010-Fix-TZPATH-on-windows.patch
+++ b/recipe/patches/0010-Fix-TZPATH-on-windows.patch
@@ -1,14 +1,14 @@
-From 57cb150a6af3b99bdde019fbece1f751e839d68b Mon Sep 17 00:00:00 2001
+From fce019e7c00ed65a1c1b14ae3ee9b7531e6c354c 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
+Subject: [PATCH 10/27] Fix TZPATH on windows
---
Lib/sysconfig/__init__.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Lib/sysconfig/__init__.py b/Lib/sysconfig/__init__.py
-index faf8273bd0b..9e6d9257cf7 100644
+index 47415adce04..654a1ef225f 100644
--- a/Lib/sysconfig/__init__.py
+++ b/Lib/sysconfig/__init__.py
@@ -175,6 +175,7 @@ def joinuser(*args):
@@ -19,7 +19,7 @@ index faf8273bd0b..9e6d9257cf7 100644
_BASE_PREFIX = os.path.normpath(sys.base_prefix)
_BASE_EXEC_PREFIX = os.path.normpath(sys.base_exec_prefix)
# Mutex guarding initialization of _CONFIG_VARS.
-@@ -555,6 +556,7 @@ def _init_config_vars():
+@@ -550,6 +551,7 @@ def _init_config_vars():
if os.name == 'nt':
_init_non_posix(_CONFIG_VARS)
_CONFIG_VARS['VPATH'] = sys._vpath
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 bbb9e4b32..8be99f6b7 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,7 +1,7 @@
-From b35fc75f5d8900881707f9aed502d11afda49193 Mon Sep 17 00:00:00 2001
+From a3d547708bdce0eb9f17e6409293bf06fb2d5174 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
+Subject: [PATCH 11/27] Make dyld search work with SYSTEM_VERSION_COMPAT=1
In macOS Big Sur, if the executable was compiled with `MACOSX_DEPLOYMENT_TARGET=10.15`
or below, then SYSTEM_VERSION_COMPAT=1 is the default which means that Big Sur
@@ -18,10 +18,10 @@ and this code using 10.16
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Modules/_ctypes/callproc.c b/Modules/_ctypes/callproc.c
-index 27b99211ce6..1c9a3a88da5 100644
+index ccc57e347b0..443e36ac559 100644
--- a/Modules/_ctypes/callproc.c
+++ b/Modules/_ctypes/callproc.c
-@@ -1510,7 +1510,7 @@ copy_com_pointer(PyObject *self, PyObject *args)
+@@ -1503,7 +1503,7 @@ copy_com_pointer(PyObject *self, PyObject *args)
#ifdef HAVE_DYLD_SHARED_CACHE_CONTAINS_PATH
# ifdef HAVE_BUILTIN_AVAILABLE
# define HAVE_DYLD_SHARED_CACHE_CONTAINS_PATH_RUNTIME \
@@ -30,7 +30,7 @@ index 27b99211ce6..1c9a3a88da5 100644
# else
# define HAVE_DYLD_SHARED_CACHE_CONTAINS_PATH_RUNTIME \
(_dyld_shared_cache_contains_path != NULL)
-@@ -1553,8 +1553,10 @@ static PyObject *py_dyld_shared_cache_contains_path(PyObject *self, PyObject *ar
+@@ -1546,8 +1546,10 @@ static PyObject *py_dyld_shared_cache_contains_path(PyObject *self, PyObject *ar
if (PyUnicode_FSConverter(name, &name2) == 0)
return NULL;
name_str = PyBytes_AS_STRING(name2);
diff --git a/recipe/patches/0012-Unvendor-bzip2.patch b/recipe/patches/0012-Unvendor-bzip2.patch
index 7e39069f9..e8924c798 100644
--- a/recipe/patches/0012-Unvendor-bzip2.patch
+++ b/recipe/patches/0012-Unvendor-bzip2.patch
@@ -1,15 +1,15 @@
-From e0552ce78971ed4ad8f5e36bf4929812eb619f05 Mon Sep 17 00:00:00 2001
+From 7efa40ac8ac7d2a3f34203188392e2680c7a9ea9 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
+Subject: [PATCH 12/27] Unvendor bzip2
---
PCbuild/_bz2.vcxproj | 15 +++++----------
- PCbuild/_bz2.vcxproj.filters | 28 ++--------------------------
- 2 files changed, 7 insertions(+), 36 deletions(-)
+ PCbuild/_bz2.vcxproj.filters | 26 +-------------------------
+ 2 files changed, 6 insertions(+), 35 deletions(-)
diff --git a/PCbuild/_bz2.vcxproj b/PCbuild/_bz2.vcxproj
-index 30ad0dc4864..1d46cc8198f 100644
+index 9e75e57cb6e..01d637caa40 100644
--- a/PCbuild/_bz2.vcxproj
+++ b/PCbuild/_bz2.vcxproj
@@ -94,7 +94,7 @@
@@ -47,7 +47,7 @@ index 30ad0dc4864..1d46cc8198f 100644
diff --git a/PCbuild/_bz2.vcxproj.filters b/PCbuild/_bz2.vcxproj.filters
-index 7c0b5162537..ed9510978f1 100644
+index 7c0b5162537..c1f960608c3 100644
--- a/PCbuild/_bz2.vcxproj.filters
+++ b/PCbuild/_bz2.vcxproj.filters
@@ -21,33 +21,9 @@
@@ -85,10 +85,3 @@ index 7c0b5162537..ed9510978f1 100644
Header Files\bzip2
-@@ -56,4 +32,4 @@
- Resource Files
-
-
--
-\ No newline at end of file
-+
diff --git a/recipe/patches/0013-Unvendor-libffi.patch b/recipe/patches/0013-Unvendor-libffi.patch
index d9a79fdc5..fcb79a636 100644
--- a/recipe/patches/0013-Unvendor-libffi.patch
+++ b/recipe/patches/0013-Unvendor-libffi.patch
@@ -1,14 +1,14 @@
-From b166bc9151cfa8743e9a54ebd29db8634096fc1c Mon Sep 17 00:00:00 2001
+From 1de3976ee79619c64747cb1791849a4468629906 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
+Subject: [PATCH 13/27] Unvendor libffi
---
- PCbuild/libffi.props | 17 ++++-------------
- 1 file changed, 4 insertions(+), 13 deletions(-)
+ PCbuild/libffi.props | 15 +++------------
+ 1 file changed, 3 insertions(+), 12 deletions(-)
diff --git a/PCbuild/libffi.props b/PCbuild/libffi.props
-index 22c9550e2c0..40ddb08d2b0 100644
+index 22c9550e2c0..97fb5966bfb 100644
--- a/PCbuild/libffi.props
+++ b/PCbuild/libffi.props
@@ -2,20 +2,11 @@
@@ -34,6 +34,5 @@ index 22c9550e2c0..40ddb08d2b0 100644
-
-
-
--
+
\ No newline at end of file
-+
diff --git a/recipe/patches/0014-Unvendor-tcltk.patch b/recipe/patches/0014-Unvendor-tcltk.patch
index 1b9554834..8971139f4 100644
--- a/recipe/patches/0014-Unvendor-tcltk.patch
+++ b/recipe/patches/0014-Unvendor-tcltk.patch
@@ -1,18 +1,18 @@
-From 54643d97b98b2ef7e58a79ecc96eab2c678d6770 Mon Sep 17 00:00:00 2001
+From 69b3709de40a425c513ba888e40e9c826adcb74b Mon Sep 17 00:00:00 2001
From: Isuru Fernando
Date: Fri, 20 Aug 2021 10:23:51 -0700
-Subject: [PATCH] Unvendor tcltk
+Subject: [PATCH 14/27] Unvendor tcltk
---
PCbuild/_tkinter.vcxproj | 6 ------
- PCbuild/tcltk.props | 15 +++++++--------
- 2 files changed, 7 insertions(+), 14 deletions(-)
+ PCbuild/tcltk.props | 14 +++++---------
+ 2 files changed, 5 insertions(+), 15 deletions(-)
diff --git a/PCbuild/_tkinter.vcxproj b/PCbuild/_tkinter.vcxproj
-index 87f6005fffc..60a21115c55 100644
+index de9358312ac..3fe2c29c823 100644
--- a/PCbuild/_tkinter.vcxproj
+++ b/PCbuild/_tkinter.vcxproj
-@@ -124,12 +124,6 @@
+@@ -128,12 +128,6 @@
@@ -26,10 +26,10 @@ index 87f6005fffc..60a21115c55 100644
diff --git a/PCbuild/tcltk.props b/PCbuild/tcltk.props
-index 1ab8e96122a..8fbdfbb9a6b 100644
+index 28e8c0db4d1..f975a79829a 100644
--- a/PCbuild/tcltk.props
+++ b/PCbuild/tcltk.props
-@@ -12,14 +12,13 @@
+@@ -12,15 +12,13 @@
$([System.Version]::Parse($(TkVersion)).Minor)
$([System.Version]::Parse($(TkVersion)).Build)
$([System.Version]::Parse($(TkVersion)).Revision)
@@ -38,11 +38,10 @@ index 1ab8e96122a..8fbdfbb9a6b 100644
- $(ExternalsDir)tcl-$(TclVersion)\
- $(ExternalsDir)tk-$(TkVersion)\
- $(ExternalsDir)tcltk-$(TclVersion)\$(ArchName)\
-- $(tcltkDir)\bin\tclsh$(TclMajorVersion)$(TclMinorVersion)t.exe
-- $(tcltkDir)\..\win32\bin\tclsh$(TclMajorVersion)$(TclMinorVersion)t.exe
+ t
+ tcl9
+- TCLSH_NATIVE="$(tcltkDir)\..\win32\bin\tclsh$(TclMajorVersion)$(TclMinorVersion)$(tcltkSuffix).exe"
- TCL_WITH_EXTERNAL_TOMMATH;
-+ t
-+ tcl9
+ $(condaDir)
+ $(condaDir)
+ $(condaDir)
@@ -50,4 +49,4 @@ index 1ab8e96122a..8fbdfbb9a6b 100644
+ $(condaDir)\bin\tclsh$(TclMajorVersion)$(TclMinorVersion)t.exe
- t
+ tcl$(TclMajorVersion)$(TclMinorVersion)$(tcltkSuffix)$(TclDebugExt).dll
diff --git a/recipe/patches/0015-unvendor-xz.patch b/recipe/patches/0015-unvendor-xz.patch
index 180722a2b..9197faf44 100644
--- a/recipe/patches/0015-unvendor-xz.patch
+++ b/recipe/patches/0015-unvendor-xz.patch
@@ -1,7 +1,7 @@
-From 0ae25243be05283e8a83c99fa3a4f28a2e1cff46 Mon Sep 17 00:00:00 2001
+From 0affa1ab854a78115557b2515077085e7b0bfed6 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
+Subject: [PATCH 15/27] unvendor xz
---
PCbuild/_lzma.vcxproj | 10 +++-------
diff --git a/recipe/patches/0016-unvendor-zlib.patch b/recipe/patches/0016-unvendor-zlib.patch
index 2636253f9..15cbce181 100644
--- a/recipe/patches/0016-unvendor-zlib.patch
+++ b/recipe/patches/0016-unvendor-zlib.patch
@@ -1,7 +1,7 @@
-From e44bde2691911111f212ebe0ba71cfc0257e089c Mon Sep 17 00:00:00 2001
+From 20ffbea56b8882626cdc4efa661946d300ccc542 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
+Subject: [PATCH 16/27] unvendor zlib
---
PCbuild/pythoncore.vcxproj | 14 ++-----
@@ -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..3674ca1b267 100644
+index e2f8f42449a..7d5432d5428 100644
--- a/PCbuild/pythoncore.vcxproj
+++ b/PCbuild/pythoncore.vcxproj
@@ -82,7 +82,7 @@
@@ -26,22 +26,25 @@ index 8e45967a83c..3674ca1b267 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)
-@@ -112,8 +112,8 @@
- Py_REMOTE_DEBUG;%(PreprocessorDefinitions)
+@@ -113,11 +113,11 @@
+ Py_STACKREF_DEBUG;%(PreprocessorDefinitions)
- version.lib;ws2_32.lib;pathcch.lib;bcrypt.lib;%(AdditionalDependencies)
- zlib-ng$(PyDebugExt).lib;%(AdditionalDependencies)
+ version.lib;ws2_32.lib;pathcch.lib;bcrypt.lib;zlib.lib;%(AdditionalDependencies)
+ $(GeneratedJitStencilsDir)jit_shim-aarch64-pc-windows-msvc.o;%(AdditionalDependencies)
+ $(GeneratedJitStencilsDir)jit_shim-i686-pc-windows-msvc.o;%(AdditionalDependencies)
+ $(GeneratedJitStencilsDir)jit_shim-x86_64-pc-windows-msvc.o;%(AdditionalDependencies)
+ $(condaDir)\lib;%(AdditionalLibraryDirectories)
-@@ -681,12 +681,6 @@
+@@ -711,12 +711,6 @@
@@ -55,10 +58,10 @@ index 8e45967a83c..3674ca1b267 100644
diff --git a/PCbuild/pythoncore.vcxproj.filters b/PCbuild/pythoncore.vcxproj.filters
-index 0e6d42cc959..144a0e3425a 100644
+index 649ee1859ff..6fb1a6b5d0f 100644
--- a/PCbuild/pythoncore.vcxproj.filters
+++ b/PCbuild/pythoncore.vcxproj.filters
-@@ -900,39 +900,6 @@
+@@ -939,39 +939,6 @@
Include\internal\mimalloc
@@ -98,7 +101,7 @@ index 0e6d42cc959..144a0e3425a 100644
Include\internal
-@@ -1580,39 +1547,6 @@
+@@ -1643,39 +1610,6 @@
Objects
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 4ede08f67..9a54f6fee 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,7 +1,7 @@
-From 3ee4e754b55463e3c412e0bfeaeaa2894ca19aae Mon Sep 17 00:00:00 2001
+From 54038153d469b5a64ed5f7ba6c524ccf400a1b72 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
+Subject: [PATCH 17/27] Do not pass -g to GCC when not Py_DEBUG
This bloats our exe and our modules a lot.
---
@@ -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 ad513bfe5fd..b8c58985cc1 100755
+index b3a36e07e38..a88a92ffe0a 100755
--- a/configure
+++ b/configure
-@@ -5796,9 +5796,9 @@ if test $ac_test_CFLAGS; then
+@@ -5845,9 +5845,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 ad513bfe5fd..b8c58985cc1 100755
fi
else
if test "$GCC" = yes; then
-@@ -9679,7 +9679,7 @@ then
+@@ -9758,7 +9758,7 @@ then
if test "$Py_DEBUG" = 'true' ; then
OPT="-g $PYDEBUG_CFLAGS -Wall"
else
@@ -35,10 +35,10 @@ index ad513bfe5fd..b8c58985cc1 100755
;;
*)
diff --git a/configure.ac b/configure.ac
-index 68998aedfbc..0318563343a 100644
+index 603549bd039..b7224bff208 100644
--- a/configure.ac
+++ b/configure.ac
-@@ -2339,7 +2339,7 @@ then
+@@ -2376,7 +2376,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 0a12366c4..0c287d900 100644
--- a/recipe/patches/0018-Unvendor-expat.patch
+++ b/recipe/patches/0018-Unvendor-expat.patch
@@ -1,7 +1,7 @@
-From a0cb53ca8dca0fca3b85d8b4ee5090a13ddd541b Mon Sep 17 00:00:00 2001
+From ec1edcdf2b4ab8849899256cfa51ce77406d5ec4 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
+Subject: [PATCH 18/27] Unvendor expat
---
PCbuild/_elementtree.vcxproj | 26 ++----------
@@ -131,7 +131,7 @@ index f6b55d8ff82..88a13faa683 100644
diff --git a/PCbuild/pyexpat.vcxproj b/PCbuild/pyexpat.vcxproj
-index 833ab5e9f7e..ec5d4b64b3c 100644
+index 6518e0e1b1c..8bc1bcec7e8 100644
--- a/PCbuild/pyexpat.vcxproj
+++ b/PCbuild/pyexpat.vcxproj
@@ -90,25 +90,19 @@
@@ -140,7 +140,7 @@ index 833ab5e9f7e..ec5d4b64b3c 100644
- $(PySourcePath)Modules\expat;%(AdditionalIncludeDirectories)
+ $(condaDir)\include;%(AdditionalIncludeDirectories)
- _CRT_SECURE_NO_WARNINGS;PYEXPAT_EXPORTS;XML_STATIC;%(PreprocessorDefinitions)
+ _CRT_SECURE_NO_WARNINGS;XML_STATIC;%(PreprocessorDefinitions)
/d1trimfile:%SRC_DIR%
/d1trimfile:%SRC_DIR%
/d1trimfile:%SRC_DIR%
diff --git a/recipe/patches/0019-Remove-unused-readelf.patch b/recipe/patches/0019-Remove-unused-readelf.patch
index 949652595..552ca92c4 100644
--- a/recipe/patches/0019-Remove-unused-readelf.patch
+++ b/recipe/patches/0019-Remove-unused-readelf.patch
@@ -1,7 +1,7 @@
-From 662e8ba8079271ccd3fb0177fd6bb5db895192e8 Mon Sep 17 00:00:00 2001
+From 794a3c5afb0549e2a4f19463c8368736df454bf7 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
+Subject: [PATCH 19/27] Remove unused readelf
readelf has been dropped.
.. date: 2022-11-02-10-56-40
@@ -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 526d500fe08..91fcef7e427 100644
+index c2820741404..b1711d1d385 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 558dab52d..d726fb0dc 100644
--- a/recipe/patches/0020-Don-t-checksharedmods-if-cross-compiling.patch
+++ b/recipe/patches/0020-Don-t-checksharedmods-if-cross-compiling.patch
@@ -1,7 +1,7 @@
-From a738097607a2d95e2d31ce077d924146cf87a372 Mon Sep 17 00:00:00 2001
+From de8ce0d2b0a413ba8b5ebe5e20caac359f633033 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
+Subject: [PATCH 20/27] Don't checksharedmods if cross-compiling
---
Makefile.pre.in | 2 +-
@@ -10,13 +10,13 @@ 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 91fcef7e427..8a80c51ac78 100644
+index b1711d1d385..3aae0d606c1 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
-@@ -1603,7 +1603,7 @@ sharedmods: $(SHAREDMODS) pybuilddir.txt
- # dependency on BUILDPYTHON ensures that the target is run last
- .PHONY: checksharedmods
- checksharedmods: sharedmods $(PYTHON_FOR_BUILD_DEPS) $(BUILDPYTHON)
+@@ -1632,7 +1632,7 @@ checksharedmods: sharedmods $(PYTHON_FOR_BUILD_DEPS) $(BUILDPYTHON)
+ else \
+ $(RUNSHARED) $(PYTHON_FOR_BUILD) $(srcdir)/Tools/build/check_extension_modules.py --generate-missing-stdlib-info; \
+ fi
- @$(RUNSHARED) $(PYTHON_FOR_BUILD) $(srcdir)/Tools/build/check_extension_modules.py
+ @$(RUNSHARED) $(srcdir)/if_runnable.sh $(PYTHON_FOR_BUILD) $(srcdir)/Tools/build/check_extension_modules.py
diff --git a/recipe/patches/0021-Override-configure-LIBFFI.patch b/recipe/patches/0021-Override-configure-LIBFFI.patch
index 80ba75f7d..464579614 100644
--- a/recipe/patches/0021-Override-configure-LIBFFI.patch
+++ b/recipe/patches/0021-Override-configure-LIBFFI.patch
@@ -1,17 +1,17 @@
-From 8068e941c6afe8ca44773b277198d1bdb671851f Mon Sep 17 00:00:00 2001
+From 70897fdc6b76649ba3237fe0be1a488c79592823 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
+Subject: [PATCH 21/27] Override configure LIBFFI
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
-index b8c58985cc1..2b0cc1e4358 100755
+index a88a92ffe0a..37493df13e5 100755
--- a/configure
+++ b/configure
-@@ -15424,7 +15424,7 @@ if test "x$ac_cv_lib_ffi_ffi_call" = xyes
+@@ -15917,7 +15917,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 0c30559ff..bc6c775ba 100644
--- a/recipe/patches/0022-Unvendor-libmpdec.patch
+++ b/recipe/patches/0022-Unvendor-libmpdec.patch
@@ -1,17 +1,17 @@
-From 05b2d4adfea83d8057e016fceef693f7c4e99209 Mon Sep 17 00:00:00 2001
+From fceffd4d643ec1400a50dbe9cb04627c74cfa266 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
+Subject: [PATCH 22/27] Unvendor libmpdec
---
- PCbuild/_decimal.vcxproj | 50 +++++-----------------------------------
- 1 file changed, 6 insertions(+), 44 deletions(-)
+ PCbuild/_decimal.vcxproj | 51 ++++++----------------------------------
+ 1 file changed, 7 insertions(+), 44 deletions(-)
diff --git a/PCbuild/_decimal.vcxproj b/PCbuild/_decimal.vcxproj
-index e9d60b4db1a..0f49d7923f5 100644
+index 921d22e47b3..0f49d7923f5 100644
--- a/PCbuild/_decimal.vcxproj
+++ b/PCbuild/_decimal.vcxproj
-@@ -93,65 +93,27 @@
+@@ -93,64 +93,27 @@
@@ -40,7 +40,6 @@ index e9d60b4db1a..0f49d7923f5 100644
-
-
-
-
-
-
-
@@ -54,6 +53,7 @@ index e9d60b4db1a..0f49d7923f5 100644
-
-
-
++
diff --git a/recipe/patches/0023-Brand-conda-forge.patch b/recipe/patches/0023-Brand-conda-forge.patch
index cb5b992de..bc8a37371 100644
--- a/recipe/patches/0023-Brand-conda-forge.patch
+++ b/recipe/patches/0023-Brand-conda-forge.patch
@@ -1,7 +1,7 @@
-From 917c51dab6b2c7861edb8c3462963d9a6bd7c46d Mon Sep 17 00:00:00 2001
+From bdb99ff3e6a76fdfca612429330ce20b91087372 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
+Subject: [PATCH 23/27] Brand conda-forge
---
Lib/platform.py | 1 +
@@ -9,10 +9,10 @@ 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 f7821ae7f28..628af468297 100644
+index 37278847c0a..d419716825b 100644
--- a/Lib/platform.py
+++ b/Lib/platform.py
-@@ -1215,6 +1215,7 @@ def _sys_version(sys_version=None):
+@@ -1146,6 +1146,7 @@ def _sys_version(sys_version=None):
cpython_sys_version_parser = re.compile(
r'([\w.+]+)\s*' # "version"
r'(?:free-threading build\s+)?' # "free-threading-build"
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 591fffc57..4e8d6d672 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,7 +1,7 @@
-From 3170567ff2442f9460ae6da7f94883c9a7c5a445 Mon Sep 17 00:00:00 2001
+From 52267d279c5af48b68ce4d785b10139873b6cc2d 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
+Subject: [PATCH 24/27] Do not define pid_t as it might conflict with the
actual definition
---
@@ -15,7 +15,7 @@ Subject: [PATCH 24/26] Do not define pid_t as it might conflict with the
7 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/Modules/_testcapi/long.c b/Modules/_testcapi/long.c
-index 6313abf5485..bc8169e2f68 100644
+index 008a7d37726..7829e9cc714 100644
--- a/Modules/_testcapi/long.c
+++ b/Modules/_testcapi/long.c
@@ -6,6 +6,10 @@
@@ -30,10 +30,10 @@ index 6313abf5485..bc8169e2f68 100644
module _testcapi
[clinic start generated code]*/
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c
-index 5784482d389..6c1a2dfd399 100644
+index 799390c2705..c8454f866bf 100644
--- a/Modules/_testcapimodule.c
+++ b/Modules/_testcapimodule.c
-@@ -30,6 +30,10 @@
+@@ -26,6 +26,10 @@
# include // sysctlbyname()
#endif
@@ -41,9 +41,9 @@ index 5784482d389..6c1a2dfd399 100644
+typedef int pid_t;
+#endif
+
- #include "_testcapi/util.h"
-
-
+ #ifdef bool
+ # error "The public headers should not include , see gh-48924"
+ #endif
diff --git a/Modules/_testlimitedcapi/long.c b/Modules/_testlimitedcapi/long.c
index 99b9e96760d..932fef0497f 100644
--- a/Modules/_testlimitedcapi/long.c
@@ -60,7 +60,7 @@ index 99b9e96760d..932fef0497f 100644
module _testlimitedcapi
[clinic start generated code]*/
diff --git a/Modules/clinic/posixmodule.c.h b/Modules/clinic/posixmodule.c.h
-index 094580e7c23..02d74ec937d 100644
+index 45e509d0030..65b87843b20 100644
--- a/Modules/clinic/posixmodule.c.h
+++ b/Modules/clinic/posixmodule.c.h
@@ -10,6 +10,10 @@ preserve
@@ -75,10 +75,10 @@ index 094580e7c23..02d74ec937d 100644
"stat($module, /, path, *, dir_fd=None, follow_symlinks=True)\n"
"--\n"
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
-index 7bf8bc9e5d9..f995fc804a0 100644
+index 2a25be16e61..5fe43d52835 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
-@@ -219,6 +219,7 @@
+@@ -222,6 +222,7 @@
# if defined(MS_WINDOWS_DESKTOP) || defined(MS_WINDOWS_SYSTEM)
# define HAVE_SYMLINK
# endif /* MS_WINDOWS_DESKTOP | MS_WINDOWS_SYSTEM */
@@ -87,10 +87,10 @@ index 7bf8bc9e5d9..f995fc804a0 100644
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
-index 710a737ebcc..92d327b1e35 100644
+index 72a475777b7..5149fbcf301 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
-@@ -235,8 +235,6 @@ typedef _W64 int Py_ssize_t;
+@@ -240,8 +240,6 @@ typedef _W64 int Py_ssize_t;
#endif
#endif /* MS_WIN32 && !MS_WIN64 */
@@ -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 ed0c4e2c85c..97f79087497 100644
+index 7b7380d25bf..0d89e46d054 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 28d4a622d..6f3c04329 100644
--- a/recipe/patches/0025-Unvendor-zstd.patch
+++ b/recipe/patches/0025-Unvendor-zstd.patch
@@ -1,7 +1,7 @@
-From e1a36beb37bcc740dd29bcd671550677ad9fc520 Mon Sep 17 00:00:00 2001
+From edda9d185e32eef8592264398e83e95f117b15d1 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
+Subject: [PATCH 25/27] Unvendor zstd
---
PCbuild/_zstd.vcxproj | 58 +------------
@@ -9,15 +9,19 @@ Subject: [PATCH 25/26] Unvendor zstd
2 files changed, 6 insertions(+), 209 deletions(-)
diff --git a/PCbuild/_zstd.vcxproj b/PCbuild/_zstd.vcxproj
-index 6f91b8d05cc..cc6f99cb002 100644
+index 683a44535ca..fa113b0cd87 100644
--- a/PCbuild/_zstd.vcxproj
+++ b/PCbuild/_zstd.vcxproj
-@@ -95,72 +95,22 @@
+@@ -95,76 +95,26 @@
WIN32;ZSTD_MULTITHREAD=1;%(PreprocessorDefinitions)
- $(zstdDir)lib\;$(zstdDir)lib\common;$(zstdDir)lib\compress;$(zstdDir)lib\decompress;$(zstdDir)lib\dictBuilder;%(AdditionalIncludeDirectories)
+ $(condaDir)\include;%(AdditionalIncludeDirectories)
+ /d1trimfile:%SRC_DIR%
+ /d1trimfile:%SRC_DIR%
+ /d1trimfile:%SRC_DIR%
+ /d1trimfile:%SRC_DIR%
+
+ $(condaDir)\lib\zstd.lib;%(AdditionalDependencies)
@@ -195,9 +199,8 @@ index eec666e5eaf..5028bb5592d 100644
Header Files
-
-+
- Header Files\zstd
-
+- Header Files\zstd
+-
-
- Header Files\zstd
-
@@ -259,8 +262,9 @@ 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 24457778a..dc2d37bbf 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,7 +1,7 @@
-From e43404b376775691f6b51e671f5ad53abf99c0d9 Mon Sep 17 00:00:00 2001
+From 11f11d345af9c01aa41399952a9ecd7f6ab13b8e 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
+Subject: [PATCH 26/27] Set Py_GIL_DISABLED in windows to match unix
This is not set upstream because the windows distribution supports
free-threaded and default builds at the same time. We have the
@@ -11,10 +11,10 @@ luxury of not having to do that.
1 file changed, 2 insertions(+)
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
-index 92d327b1e35..ed0d9c0592b 100644
+index 5149fbcf301..52892d685cc 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
-@@ -105,6 +105,8 @@ WIN32 is still required for the locale module.
+@@ -110,6 +110,8 @@ WIN32 is still required for the locale module.
#if Py_GIL_DISABLED == 0
#undef Py_GIL_DISABLED
#endif
diff --git a/recipe/patches/0027-More-unixy-layout-for-windows.patch b/recipe/patches/0027-More-unixy-layout-for-windows.patch
new file mode 100644
index 000000000..005c7ddd3
--- /dev/null
+++ b/recipe/patches/0027-More-unixy-layout-for-windows.patch
@@ -0,0 +1,84 @@
+From 853e54ebe2cd914b719dc274be11211d72883a32 Mon Sep 17 00:00:00 2001
+From: Isuru Fernando
+Date: Fri, 22 May 2026 14:21:19 -0700
+Subject: [PATCH 27/27] More unixy layout for windows
+
+See https://github.com/conda-forge/cfep/pull/65
+---
+ Lib/site.py | 1 +
+ Lib/sysconfig/__init__.py | 12 +++++++++++-
+ Modules/getpath.py | 4 ++--
+ PCbuild/pythoncore.vcxproj | 2 +-
+ 4 files changed, 15 insertions(+), 4 deletions(-)
+
+diff --git a/Lib/site.py b/Lib/site.py
+index d06549b8df8..4ec8fab1450 100644
+--- a/Lib/site.py
++++ b/Lib/site.py
+@@ -764,6 +764,7 @@ def getsitepackages(prefixes=None):
+ "site-packages")
+ sitepackages.append(path)
+ else:
++ sitepackages.append(os.path.join(prefix, "lib", "python", "site-packages"))
+ sitepackages.append(prefix)
+ sitepackages.append(os.path.join(prefix, "Lib", "site-packages"))
+ return sitepackages
+diff --git a/Lib/sysconfig/__init__.py b/Lib/sysconfig/__init__.py
+index 654a1ef225f..9021d40e809 100644
+--- a/Lib/sysconfig/__init__.py
++++ b/Lib/sysconfig/__init__.py
+@@ -58,6 +58,16 @@
+ 'scripts': '{base}/Scripts',
+ 'data': '{base}',
+ },
++ 'nt_conda': {
++ 'stdlib': '{installed_base}/{platlibdir}/{implementation_lower}',
++ 'platstdlib': '{base}/{platlibdir}/{implementation_lower}',
++ 'purelib': '{base}/lib/{implementation_lower}/site-packages',
++ 'platlib': '{base}/{platlibdir}/{implementation_lower}/site-packages',
++ 'include': '{installed_base}/include/{implementation_lower}',
++ 'platinclude': '{installed_platbase}/include/{implementation_lower}',
++ 'scripts': '{base}/Scripts',
++ 'data': '{base}',
++ },
+
+ # Downstream distributors can overwrite the default install scheme.
+ # This is done to support downstream modifications where distributors change
+@@ -279,7 +289,7 @@ def _expand_vars(scheme, vars):
+ def _get_preferred_schemes():
+ if os.name == 'nt':
+ return {
+- 'prefix': 'nt',
++ 'prefix': 'nt_conda',
+ 'home': 'posix_home',
+ 'user': 'nt_user',
+ }
+diff --git a/Modules/getpath.py b/Modules/getpath.py
+index ea370c2f686..c7f85c5c5c1 100644
+--- a/Modules/getpath.py
++++ b/Modules/getpath.py
+@@ -190,9 +190,9 @@
+ elif os_name == 'nt':
+ BUILDDIR_TXT = 'pybuilddir.txt'
+ DEFAULT_PROGRAM_NAME = f'python'
+- STDLIB_SUBDIR = 'Lib'
++ STDLIB_SUBDIR = f'{platlibdir}\\python'
+ STDLIB_LANDMARKS = [f'{STDLIB_SUBDIR}\\os.py', f'{STDLIB_SUBDIR}\\os.pyc']
+- PLATSTDLIB_LANDMARK = f'{platlibdir}'
++ PLATSTDLIB_LANDMARK = f'{platlibdir}\\python\\lib-dynload'
+ BUILDSTDLIB_LANDMARKS = ['Lib\\os.py']
+ VENV_LANDMARK = 'pyvenv.cfg'
+ ZIP_LANDMARK = f'python{VERSION_MAJOR}{VERSION_MINOR}{PYDEBUGEXT or ""}.zip'
+diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj
+index 7d5432d5428..aaf80b13a89 100644
+--- a/PCbuild/pythoncore.vcxproj
++++ b/PCbuild/pythoncore.vcxproj
+@@ -129,7 +129,7 @@
+ VERSION=NULL;
+ VPATH="$(PyVPath)";
+ PYDEBUGEXT="$(PyDebugExt)";
+- PLATLIBDIR="DLLs";
++ PLATLIBDIR="lib";
+ %(PreprocessorDefinitions)
+
+
diff --git a/recipe/patches/make-mixed-crlf-patch.py b/recipe/patches/make-mixed-crlf-patch.py
index ccf46fa2f..445e01db2 100644
--- a/recipe/patches/make-mixed-crlf-patch.py
+++ b/recipe/patches/make-mixed-crlf-patch.py
@@ -8,6 +8,8 @@
# header lines are given LF line endings and the rest CRLF line endings.
# Does not currently deal with the prelude (up to the -- in git patches).
+extensions = [".bat", ".vcxproj", ".props", ".sln"]
+
def main(argv):
filename = argv[1]
lines = []
@@ -26,17 +28,21 @@ def main(argv):
text = "\n".join(lines)
- if ".bat" not in text and ".vcxproj" not in text and ".props" not in text:
+ if all(ext not in text for ext in extensions):
+ return
return
with open(filename, 'wb') as fo:
for i, line in enumerate(lines):
if not in_real_patch:
fo.write((line + '\n').encode('utf-8'))
- if line.startswith('diff --git'):
+ if line.startswith('diff --git') and any(ext in line for ext in extensions):
in_real_patch = True
else:
- if line.startswith('diff ') or \
+ if line.startswith('diff --git') and not any(ext in line for ext in extensions):
+ in_real_patch = False
+ fo.write((line + '\r\n').encode('utf-8'))
+ elif line.startswith('diff ') or \
line.startswith('diff --git') or \
line.startswith('--- ') or \
line.startswith('+++ ') or \
diff --git a/recipe/run_test.py b/recipe/run_test.py
index 33be79209..79a5df6a6 100644
--- a/recipe/run_test.py
+++ b/recipe/run_test.py
@@ -2,6 +2,7 @@
import platform
import sys
import subprocess
+import site
armv6l = bool(platform.machine() == 'armv6l')
armv7l = bool(platform.machine() == 'armv7l')
@@ -11,16 +12,18 @@
else:
osx105 = False
-print('sys.version:', sys.version)
-print('sys.platform:', sys.platform)
-print('tuple.__itemsize__:', tuple.__itemsize__)
+print(f"{sys.version=}")
+print(f"{sys.platform=}")
+print(f"{tuple.__itemsize__=}")
if sys.platform == 'win32':
assert 'MSC v.19' in sys.version
if hasattr(sys, "abiflags"):
- print('sys.abiflags', sys.abiflags)
-print('sys.maxunicode:', sys.maxunicode)
-print('platform.architecture:', platform.architecture())
-print('platform.python_version:', platform.python_version())
+ print(f"{sys.abiflags=}")
+print(f"{sys.maxunicode=}")
+print(f"{platform.architecture=}")
+print(f"{platform.python_version=}")
+print(f"{site.getsitepackages()=}")
+print(f"{site.getusersitepackages()=}")
import _bisect
import _codecs_cn
diff --git a/recipe/tests/cmake/CMakeLists.txt b/recipe/tests/cmake/CMakeLists.txt
index f3e41560c..42ce64fd1 100644
--- a/recipe/tests/cmake/CMakeLists.txt
+++ b/recipe/tests/cmake/CMakeLists.txt
@@ -7,4 +7,8 @@ project(mymath)
option(PY_VER "Python version to use")
option(EXTRA_COMPONENTS "Additional Python components to check for")
+# Since 3.16, CMake does not accept freethreaded interpreter by default
+# anymore. Allow it explicitly.
+# https://cmake.org/cmake/help/latest/module/FindPython.html#hints
+set(Python_FIND_ABI ANY ANY ANY ANY)
find_package(Python ${PY_VER} COMPONENTS Interpreter ${EXTRA_COMPONENTS} REQUIRED)
diff --git a/recipe/tests/prefix-replacement/build-and-test.sh b/recipe/tests/prefix-replacement/build-and-test.sh
index 670d76d63..d710bde75 100644
--- a/recipe/tests/prefix-replacement/build-and-test.sh
+++ b/recipe/tests/prefix-replacement/build-and-test.sh
@@ -3,7 +3,7 @@
set -ex
case ${PKG_NAME} in
- python)
+ libpython)
# see bpo44182 for why -L${CONDA_PREFIX}/lib is added
${CC} a.c $(python3-config --cflags) \
$(python3-config --embed --ldflags) \