Skip to content

Commit

Permalink
python v3.12.5 (#696)
Browse files Browse the repository at this point in the history
automerged PR by conda-forge/automerge-action
  • Loading branch information
github-actions[bot] authored Aug 8, 2024
2 parents c4bb3c9 + 8001887 commit 27ebc9f
Show file tree
Hide file tree
Showing 18 changed files with 85 additions and 92 deletions.
20 changes: 20 additions & 0 deletions .azure-pipelines/azure-pipelines-linux.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .azure-pipelines/azure-pipelines-win.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ c_compiler_version:
c_stdlib:
- sysroot
c_stdlib_version:
- '2.12'
- '2.17'
cdt_name:
- cos6
- cos7
channel_sources:
- conda-forge
channel_targets:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ c_compiler_version:
c_stdlib:
- sysroot
c_stdlib_version:
- '2.12'
- '2.17'
cdt_name:
- cos6
- cos7
channel_sources:
- conda-forge
channel_targets:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ cxx_compiler:
cxx_compiler_version:
- '12'
docker_image:
- quay.io/condaforge/linux-anvil-aarch64
- quay.io/condaforge/linux-anvil-cos7-x86_64
expat:
- '2'
libffi:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ cxx_compiler:
cxx_compiler_version:
- '12'
docker_image:
- quay.io/condaforge/linux-anvil-aarch64
- quay.io/condaforge/linux-anvil-cos7-x86_64
expat:
- '2'
libffi:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ cxx_compiler:
cxx_compiler_version:
- '12'
docker_image:
- quay.io/condaforge/linux-anvil-ppc64le
- quay.io/condaforge/linux-anvil-cos7-x86_64
expat:
- '2'
libffi:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ cxx_compiler:
cxx_compiler_version:
- '12'
docker_image:
- quay.io/condaforge/linux-anvil-ppc64le
- quay.io/condaforge/linux-anvil-cos7-x86_64
expat:
- '2'
libffi:
Expand Down
12 changes: 9 additions & 3 deletions .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .scripts/run_osx_build.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 0 additions & 40 deletions .travis.yml

This file was deleted.

25 changes: 9 additions & 16 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build-locally.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion conda-forge.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
build_platform: {osx_arm64: osx_64}
build_platform: {osx_arm64: osx_64, linux_ppc64le: linux_64, linux_aarch64: linux_64}
conda_forge_output_validation: true
provider: {linux_aarch64: default, linux_ppc64le: native}
bot:
Expand Down
16 changes: 9 additions & 7 deletions recipe/build_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,12 @@ if [[ "${CONDA_BUILD_CROSS_COMPILATION}" == "1" ]]; then
BUILD_PYTHON_PREFIX=${PWD}/build-python-install
mkdir build-python-build
pushd build-python-build
(unset CPPFLAGS;
export CC=${CC_FOR_BUILD} \
(export CC=${CC_FOR_BUILD} \
CXX=${CXX_FOR_BUILD} \
CPP="${CC_FOR_BUILD} -E" \
CFLAGS="-O2" \
LDFLAGS=${LDFLAGS//${PREFIX}/${CONDA_PREFIX}} \
CFLAGS="-O2 -I${BUILD_PREFIX}/include" \
CPPFLAGS="-O2 -I${BUILD_PREFIX}/include" \
LDFLAGS=${LDFLAGS//${PREFIX}/${BUILD_PREFIX}} \
PKG_CONFIG_PATH=${BUILD_PREFIX}/lib/pkgconfig \
AR="$(${CC_FOR_BUILD} --print-prog-name=ar)" \
RANLIB="$(${CC_FOR_BUILD} --print-prog-name=ranlib)" \
Expand All @@ -174,15 +174,17 @@ if [[ "${CONDA_BUILD_CROSS_COMPILATION}" == "1" ]]; then
ln -s ${BUILD_PYTHON_PREFIX}/bin/python${VER} ${BUILD_PYTHON_PREFIX}/bin/python
popd
echo "ac_cv_file__dev_ptmx=yes" > config.site
echo "ac_cv_file__dev_ptc=yes" >> config.site
echo "ac_cv_file__dev_ptc=no" >> config.site
echo "ac_cv_pthread=yes" >> config.site
echo "ac_cv_little_endian_double=yes" >> config.site
if [[ ${target_platform} == osx-arm64 ]]; then
if [[ "${target_platform}" == "osx-arm64" || "${target_platform}" == "linux-ppc64le" || "${target_platform}" == "linux-aarch64" ]]; then
echo "ac_cv_aligned_required=no" >> config.site
echo "ac_cv_file__dev_ptc=no" >> config.site
echo "ac_cv_pthread_is_default=yes" >> config.site
echo "ac_cv_working_tzset=yes" >> config.site
echo "ac_cv_pthread_system_supported=yes" >> config.site
else
echo "unknown cross compiling platform"
exit 1
fi
export CONFIG_SITE=${PWD}/config.site
# This is needed for libffi:
Expand Down
21 changes: 15 additions & 6 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% set version = "3.12.4" %}
{% set version = "3.12.5" %}
{% set dev = "" %}
{% set dev_ = "" %}
{% set ver2 = '.'.join(version.split('.')[0:2]) %}
Expand Down Expand Up @@ -46,7 +46,7 @@ source:
{% else %}
- url: https://www.python.org/ftp/python/{{ version }}/Python-{{ version }}{{ dev }}.tar.xz
# md5 from: https://www.python.org/downloads/release/python-{{ ver3nd }}{{ dev }}/
md5: d68f25193eec491eb54bc2ea664a05bd
md5: 02c7d269e077f4034963bba6befdc715
{% endif %}
patches:
- patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch
Expand Down Expand Up @@ -160,10 +160,19 @@ outputs:
{% if 'conda-forge' in channel_targets %}
- binutils_impl_{{ target_platform }} # [linux]
{% endif %}
- tk # [build_platform != target_platform]
- readline # [build_platform != target_platform]
- ncurses # [build_platform != target_platform]
- zlib # [build_platform != target_platform]
- bzip2 # [build_platform != target_platform]
- sqlite # [build_platform != target_platform]
- xz # [build_platform != target_platform]
- zlib # [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]
- libnsl # [linux and build_platform != target_platform]
- libuuid # [linux and build_platform != target_platform]
- libxcrypt # [linux and build_platform != target_platform]
- expat # [build_platform != target_platform]
host:
- bzip2
- sqlite
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,14 @@ new file mode 100755
index 0000000000..14f84a8597
--- /dev/null
+++ b/if_runnable.sh
@@ -0,0 +1,5 @@
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+if [[ "${target_platform}" == "${build_platform}" || "${CROSSCOMPILING_EMULATOR:-}" != "" ]]; then
+ exec $*
+ if [[ "$1" == "./"* ]]; then
+ exec $@
+ else
+ export ${@:1:$#-2}
+ exec ${@: -2}
+ fi
+fi
8 changes: 3 additions & 5 deletions recipe/yum_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
libx11
libXext-devel
libXrender-devel
libSM-devel
libX11-devel
libX11
libxcb
libxau

0 comments on commit 27ebc9f

Please sign in to comment.