Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ bzip2:
c_compiler:
- gcc
c_compiler_version:
- '14'
- '15'
c_stdlib:
- sysroot
c_stdlib_version:
Expand All @@ -17,7 +17,7 @@ channel_targets:
cxx_compiler:
- gxx
cxx_compiler_version:
- '14'
- '15'
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma10
expat:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ bzip2:
c_compiler:
- gcc
c_compiler_version:
- '14'
- '15'
c_stdlib:
- sysroot
c_stdlib_version:
Expand All @@ -17,7 +17,7 @@ channel_targets:
cxx_compiler:
- gxx
cxx_compiler_version:
- '14'
- '15'
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma10
expat:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ bzip2:
c_compiler:
- gcc
c_compiler_version:
- '14'
- '15'
c_stdlib:
- sysroot
c_stdlib_version:
Expand All @@ -17,7 +17,7 @@ channel_targets:
cxx_compiler:
- gxx
cxx_compiler_version:
- '14'
- '15'
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma10
expat:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ bzip2:
c_compiler:
- gcc
c_compiler_version:
- '14'
- '15'
c_stdlib:
- sysroot
c_stdlib_version:
Expand All @@ -17,7 +17,7 @@ channel_targets:
cxx_compiler:
- gxx
cxx_compiler_version:
- '14'
- '15'
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma10
expat:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ bzip2:
c_compiler:
- gcc
c_compiler_version:
- '14'
- '15'
c_stdlib:
- sysroot
c_stdlib_version:
Expand All @@ -17,7 +17,7 @@ channel_targets:
cxx_compiler:
- gxx
cxx_compiler_version:
- '14'
- '15'
docker_image:
- quay.io/condaforge/linux-anvil-aarch64:alma10
expat:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ bzip2:
c_compiler:
- gcc
c_compiler_version:
- '14'
- '15'
c_stdlib:
- sysroot
c_stdlib_version:
Expand All @@ -17,7 +17,7 @@ channel_targets:
cxx_compiler:
- gxx
cxx_compiler_version:
- '14'
- '15'
docker_image:
- quay.io/condaforge/linux-anvil-aarch64:alma10
expat:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ bzip2:
c_compiler:
- gcc
c_compiler_version:
- '14'
- '15'
c_stdlib:
- sysroot
c_stdlib_version:
Expand All @@ -17,7 +17,7 @@ channel_targets:
cxx_compiler:
- gxx
cxx_compiler_version:
- '14'
- '15'
docker_image:
- quay.io/condaforge/linux-anvil-aarch64:alma10
expat:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ bzip2:
c_compiler:
- gcc
c_compiler_version:
- '14'
- '15'
c_stdlib:
- sysroot
c_stdlib_version:
Expand All @@ -17,7 +17,7 @@ channel_targets:
cxx_compiler:
- gxx
cxx_compiler_version:
- '14'
- '15'
docker_image:
- quay.io/condaforge/linux-anvil-aarch64:alma10
expat:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ bzip2:
c_compiler:
- gcc
c_compiler_version:
- '14'
- '15'
c_stdlib:
- sysroot
c_stdlib_version:
Expand All @@ -17,7 +17,7 @@ channel_targets:
cxx_compiler:
- gxx
cxx_compiler_version:
- '14'
- '15'
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma10
expat:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ bzip2:
c_compiler:
- gcc
c_compiler_version:
- '14'
- '15'
c_stdlib:
- sysroot
c_stdlib_version:
Expand All @@ -17,7 +17,7 @@ channel_targets:
cxx_compiler:
- gxx
cxx_compiler_version:
- '14'
- '15'
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma10
expat:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ bzip2:
c_compiler:
- gcc
c_compiler_version:
- '14'
- '15'
c_stdlib:
- sysroot
c_stdlib_version:
Expand All @@ -17,7 +17,7 @@ channel_targets:
cxx_compiler:
- gxx
cxx_compiler_version:
- '14'
- '15'
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma10
expat:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ bzip2:
c_compiler:
- gcc
c_compiler_version:
- '14'
- '15'
c_stdlib:
- sysroot
c_stdlib_version:
Expand All @@ -17,7 +17,7 @@ channel_targets:
cxx_compiler:
- gxx
cxx_compiler_version:
- '14'
- '15'
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma10
expat:
Expand Down
13 changes: 10 additions & 3 deletions recipe/build_base.bat
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ if "%PY_FREETHREADING%" == "yes" (
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
Expand All @@ -79,14 +86,14 @@ if "%CONDA_BUILD_CROSS_COMPILATION%" == "1" (
REM No PGO. No externals, i.e. remove building extension modules
REM we don't need.
set LIBRARY_PREFIX=%BUILD_PREFIX%\\Library
call build.bat %CONFIG% %FREETHREADING% -m -E -v -p %BUILD_PLATFORM%
call build.bat %CONFIG% %FREETHREADING% -m -E -v -p %BUILD_PLATFORM% %TCLTK_MSBUILD_PROPS%
if errorlevel 1 exit 1
)
endlocal
:: Twice because:
:: error : importlib_zipimport.h updated. You will need to rebuild pythoncore to see the changes.
call build.bat %PGO% %CONFIG% %FREETHREADING% -m -e -v -p %HOST_PLATFORM%
call build.bat %PGO% %CONFIG% %FREETHREADING% -m -e -v -p %HOST_PLATFORM%
call build.bat %PGO% %CONFIG% %FREETHREADING% -m -e -v -p %HOST_PLATFORM% %TCLTK_MSBUILD_PROPS%
call build.bat %PGO% %CONFIG% %FREETHREADING% -m -e -v -p %HOST_PLATFORM% %TCLTK_MSBUILD_PROPS%
if errorlevel 1 exit 1
cd ..

Expand Down
21 changes: 19 additions & 2 deletions recipe/build_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -399,10 +399,27 @@ SYSCONFIG=$(find ${_buildd_static}/$(cat ${_buildd_static}/pybuilddir.txt) -name
cat ${SYSCONFIG} | ${SYS_PYTHON} "${RECIPE_DIR}"/replace-word-pairs.py \
"${_FLAGS_REPLACE[@]}" \
> ${PREFIX}/lib/python${VERABI_NO_DBG}/$(basename ${SYSCONFIG})
BUILD_DETAILS=${_buildd_shared}/$(cat ${_buildd_shared}/pybuilddir.txt)/build-details.json
cp ${BUILD_DETAILS} ${PREFIX}/lib/python${VERABI_NO_DBG}/

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}
Expand Down
6 changes: 3 additions & 3 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{% set version = "3.14.6" %}
{% set version = "3.14.7" %}
{% set dev = "" %}
{% set dev_ = "" %}
{% set ver2 = '.'.join(version.split('.')[0:2]) %}
{% set ver2nd = ''.join(version.split('.')[0:2]) %}
{% set ver3nd = ''.join(version.split('.')[0:3]) %}
{% set build_number = 2 %}
{% set build_number = 0 %}

# this makes the linter happy
{% set channel_targets = channel_targets or 'conda-forge main' %}
Expand Down Expand Up @@ -46,7 +46,7 @@ package:
source:
- url: https://www.python.org/ftp/python/{{ version }}/Python-{{ version }}{{ dev }}.tar.xz
# sha256 from: https://www.python.org/downloads/release/python-{{ ver3nd }}{{ dev }}/
sha256: 143b1dddefaec3bd2e21e3b839b34a2b7fb9842272883c576420d605e9f30c63
sha256: 3b48dac8fb59f62eaa67ac83c1eb12bda1b7a08406dd286e252c11a66be27f81
patches:
- patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch
- patches/0002-Win32-Do-not-download-externals.patch
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 48fcc7c4d3d88ca7ffab052cfbee27512901d458 Mon Sep 17 00:00:00 2001
From 204c40c00697419f29b214864bab80a8f01d804f Mon Sep 17 00:00:00 2001
From: Ray Donnelly <mingw.android@gmail.com>
Date: Wed, 16 Aug 2017 11:53:55 +0100
Subject: [PATCH 01/26] Win32: Change FD_SETSIZE from 512 to 2048
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From d27b283f6f7b7372271cc862a0a0ae426815010e Mon Sep 17 00:00:00 2001
From aaa85ea3a1edeb2e93ae12b60c7958084814df37 Mon Sep 17 00:00:00 2001
From: Ray Donnelly <mingw.android@gmail.com>
Date: Thu, 7 Sep 2017 11:35:47 +0100
Subject: [PATCH 02/26] Win32: Do not download externals
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 8eec70e4cde56e34cef8d23083a08b9b4833d20d Mon Sep 17 00:00:00 2001
From 43ac24ca1c1083b50966846f07969a9c6454e22f Mon Sep 17 00:00:00 2001
From: Ray Donnelly <mingw.android@gmail.com>
Date: Tue, 5 Dec 2017 22:47:59 +0000
Subject: [PATCH 03/26] Fix find_library so that it looks in sys.prefix/lib
Expand All @@ -25,7 +25,7 @@ index 583c47daff3..ab9b01c87e2 100644
yield os.path.join(executable_path, name[len('@executable_path/'):])

diff --git a/Lib/ctypes/util.py b/Lib/ctypes/util.py
index 3b21658433b..2c900c1e2cf 100644
index cd67fd87efc..9acb6e8c25f 100644
--- a/Lib/ctypes/util.py
+++ b/Lib/ctypes/util.py
@@ -135,7 +135,8 @@ def dllist():
Expand All @@ -38,7 +38,7 @@ index 3b21658433b..2c900c1e2cf 100644
'%s.dylib' % name,
'%s.framework/%s' % (name, name)]
for name in possible:
@@ -436,10 +437,30 @@ def _findLib_ld(name):
@@ -435,10 +436,30 @@ def _findLib_ld(name):
pass # result will be None
return result

Expand Down Expand Up @@ -70,4 +70,4 @@ index 3b21658433b..2c900c1e2cf 100644
+ _get_soname(_findLib_gcc(name)) or _get_soname(_findLib_ld(name))


# Listing loaded libraries on other systems will try to use
# On platforms which provide dl_iterate_phdr(), dllist() is implemented
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 6ef047bc92544cc2bb50f89d6f1746397efb4b04 Mon Sep 17 00:00:00 2001
From 21533f279cfe2060e7aa355b860547e7982b5c89 Mon Sep 17 00:00:00 2001
From: Ray Donnelly <mingw.android@gmail.com>
Date: Sat, 27 Oct 2018 18:48:30 +0100
Subject: [PATCH 04/26] Disable registry lookup unless CONDA_PY_ALLOW_REG_PATHS
Expand All @@ -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 b89d7427e3f..21df0efac12 100644
index 0e4f1e87e73..df5d89d857a 100644
--- a/Modules/getpath.py
+++ b/Modules/getpath.py
@@ -52,6 +52,7 @@
Expand All @@ -34,7 +34,7 @@ index b89d7427e3f..21df0efac12 100644

# ** Values calculated at runtime **
# config -- [in/out] dict of the PyConfig structure
@@ -704,7 +705,7 @@ def search_up(prefix, *landmarks, test=isfile):
@@ -697,7 +698,7 @@ def search_up(prefix, *landmarks, test=isfile):
else:
pythonpath.append(joinpath(base_prefix, ZIP_LANDMARK))

Expand Down
2 changes: 1 addition & 1 deletion recipe/patches/0005-Unvendor-openssl.patch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From aabd5c80763b1ce8c1220b9febccccc590ca7611 Mon Sep 17 00:00:00 2001
From 91c3e5bdab6497eca2cfcb6838df9dc3d8317726 Mon Sep 17 00:00:00 2001
From: Nehal J Wani <nehaljw.kkd1@gmail.com>
Date: Sat, 24 Nov 2018 20:38:02 -0600
Subject: [PATCH 05/26] Unvendor openssl
Expand Down
2 changes: 1 addition & 1 deletion recipe/patches/0006-Unvendor-sqlite3.patch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From ef9755d84ef3dfd8fdbe8e10363528da21afe502 Mon Sep 17 00:00:00 2001
From 6fa5924da6eddfc530015bef11bc498913c630b1 Mon Sep 17 00:00:00 2001
From: Nehal J Wani <nehaljw.kkd1@gmail.com>
Date: Tue, 5 Oct 2021 12:42:06 -0700
Subject: [PATCH 06/26] Unvendor sqlite3
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From aeb6945890d75f21e022290f811bb0bd000e3369 Mon Sep 17 00:00:00 2001
From e2a8b753a8c2420a2f0b793a40725264a116bbda Mon Sep 17 00:00:00 2001
From: Ray Donnelly <mingw.android@gmail.com>
Date: Tue, 24 Dec 2019 18:37:17 +0100
Subject: [PATCH 07/26] Add CondaEcosystemModifyDllSearchPath()
Expand Down Expand Up @@ -33,7 +33,7 @@ Co-authored-by: Isuru Fernando <isuruf@gmail.com>
1 file changed, 95 insertions(+)

diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c
index 6241d6ddca1..fe2120940d2 100644
index fe55ec7caff..cabd42067d7 100644
--- a/Python/pylifecycle.c
+++ b/Python/pylifecycle.c
@@ -80,6 +80,10 @@
Expand Down
Loading
Loading