Skip to content

Commit d45a876

Browse files
authored
Merge pull request #115 from AnacondaRecipes/PKG-2182
Update to 3.10.12
2 parents 17ce8ae + 838b47b commit d45a876

File tree

4 files changed

+33
-104
lines changed

4 files changed

+33
-104
lines changed

recipe/meta.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
{% set version = "3.10.11" %}
1+
{% set version = "3.10.12" %}
22
{% set dev = "" %}
33
{% set dev_ = "" %}
44
{% set ver2 = '.'.join(version.split('.')[0:2]) %}
55
{% set ver2nd = ''.join(version.split('.')[0:2]) %}
66
{% set ver3nd = ''.join(version.split('.')[0:3]) %}
7-
{% set build_number = "3" %}
7+
{% set build_number = "0" %}
88
{% set channel_targets = ('abc', 'def') %}
99

1010
# this makes the linter happy
@@ -48,7 +48,7 @@ source:
4848
{% else %}
4949
- url: https://www.python.org/ftp/python/{{ version }}/Python-{{ version }}{{ dev }}.tar.xz
5050
# md5 from: https://www.python.org/downloads/release/python-{{ ver3nd }}/
51-
sha256: 3c3bc3048303721c904a03eb8326b631e921f11cc3be2988456a42f115daf04c
51+
sha256: afb74bf19130e7a47d10312c8f5e784f24e0527981eab68e20546cfb865830b8
5252
{% endif %}
5353
patches:
5454
- patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch
@@ -84,6 +84,9 @@ source:
8484
- patches/0023-unvendor-xz.patch
8585
- patches/0024-unvendor-zlib.patch
8686
- patches/0025-Do-not-pass-g-to-GCC-when-not-Py_DEBUG.patch
87+
{% if (openssl | string).startswith('3.0') %}
88+
- patches/0026-Use-OpenSSL-3-instead-of-1_1.patch
89+
{% endif %}
8790

8891
build:
8992
number: {{ build_number }}

recipe/patches/0010-Unvendor-openssl.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ index 57360e57ba..51b2d8cc0a 100644
160160
- <libffiDir Condition="$(libffiDir) == ''">$(ExternalsDir)libffi-3.3.0\</libffiDir>
161161
- <libffiOutDir Condition="$(libffiOutDir) == ''">$(libffiDir)$(ArchName)\</libffiOutDir>
162162
- <libffiIncludeDir Condition="$(libffiIncludeDir) == ''">$(libffiOutDir)include</libffiIncludeDir>
163-
- <opensslDir Condition="$(opensslDir) == ''">$(ExternalsDir)openssl-1.1.1t\</opensslDir>
164-
- <opensslOutDir Condition="$(opensslOutDir) == ''">$(ExternalsDir)openssl-bin-1.1.1t\$(ArchName)\</opensslOutDir>
163+
- <opensslDir Condition="$(opensslDir) == ''">$(ExternalsDir)openssl-1.1.1u\</opensslDir>
164+
- <opensslOutDir Condition="$(opensslOutDir) == ''">$(ExternalsDir)openssl-bin-1.1.1u\$(ArchName)\</opensslOutDir>
165165
- <opensslIncludeDir Condition="$(opensslIncludeDir) == ''">$(opensslOutDir)include</opensslIncludeDir>
166166
+ <!-- <sqlite3Dir Condition="$(sqlite3Dir) == ''">$(ExternalsDir)sqlite-3.40.1.0\</sqlite3Dir> -->
167167
+ <!-- <bz2Dir Condition="$(bz2Dir) == ''">$(ExternalsDir)bzip2-1.0.8\</bz2Dir> -->
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
From c12df60ecaa0be147bb57f03fd031ca0776eb24c Mon Sep 17 00:00:00 2001
2+
From: Charles Bousseau <[email protected]>
3+
Date: Fri, 16 Jun 2023 13:14:12 -0400
4+
Subject: [PATCH] [PATCH] Use OpenSSL 3 instead of 1_1
5+
6+
---
7+
PCbuild/openssl.props | 2 +-
8+
1 file changed, 1 insertion(+), 1 deletion(-)
9+
10+
diff --git a/PCbuild/openssl.props b/PCbuild/openssl.props
11+
index 7071bb57c0..b336a193ef 100644
12+
--- a/PCbuild/openssl.props
13+
+++ b/PCbuild/openssl.props
14+
@@ -10,7 +10,7 @@
15+
</Link>
16+
</ItemDefinitionGroup>
17+
<PropertyGroup>
18+
- <_DLLSuffix>-1_1</_DLLSuffix>
19+
+ <_DLLSuffix>-3</_DLLSuffix>
20+
<_DLLSuffix Condition="$(Platform) == 'ARM'">$(_DLLSuffix)-arm</_DLLSuffix>
21+
<_DLLSuffix Condition="$(Platform) == 'ARM64'">$(_DLLSuffix)-arm64</_DLLSuffix>
22+
<OpenSSLDLLSuffix>$(_DLLSuffix)</OpenSSLDLLSuffix>
23+
--
24+
2.32.1 (Apple Git-133)
25+

recipe/patches/0026-revert-windows-build-changes.patch

Lines changed: 0 additions & 99 deletions
This file was deleted.

0 commit comments

Comments
 (0)