Skip to content

Commit 0df6e72

Browse files
Set Py_GIL_DISABLED in windows to match unix (#836)
automerged PR by conda-forge/automerge-action
2 parents 01446da + 9aefbcf commit 0df6e72

28 files changed

Lines changed: 55 additions & 27 deletions

recipe/meta.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
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 = 2 %}
7+
{% set build_number = 3 %}
88

99
# this makes the linter happy
1010
{% set channel_targets = channel_targets or 'conda-forge main' %}
@@ -77,6 +77,9 @@ source:
7777
{% endif %}
7878
- patches/0024-Do-not-define-pid_t-as-it-might-conflict-with-the-ac.patch
7979
- patches/0025-Unvendor-zstd.patch
80+
{% if freethreading == "yes" %}
81+
- patches/0026-Set-Py_GIL_DISABLED-in-windows-to-match-unix.patch
82+
{% endif %}
8083

8184
build:
8285
number: {{ build_number }}

recipe/patches/0001-Win32-Change-FD_SETSIZE-from-512-to-2048.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 3dff368f2f15764584cd9d90234ae7e8248e4e4d Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <mingw.android@gmail.com>
33
Date: Wed, 16 Aug 2017 11:53:55 +0100
4-
Subject: [PATCH 01/25] Win32: Change FD_SETSIZE from 512 to 2048
4+
Subject: [PATCH 01/26] Win32: Change FD_SETSIZE from 512 to 2048
55

66
https://github.com/ContinuumIO/anaconda-issues/issues/1241
77
---

recipe/patches/0002-Win32-Do-not-download-externals.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 15bfc5e613ae654bd685f65d975d79ce88d3853d Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <mingw.android@gmail.com>
33
Date: Thu, 7 Sep 2017 11:35:47 +0100
4-
Subject: [PATCH 02/25] Win32: Do not download externals
4+
Subject: [PATCH 02/26] Win32: Do not download externals
55

66
---
77
PCbuild/build.bat | 2 +-

recipe/patches/0003-Fix-find_library-so-that-it-looks-in-sys.prefix-lib-.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 2e9e95c2e3aa8d212a302de52f19d129c5068d57 Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <mingw.android@gmail.com>
33
Date: Tue, 5 Dec 2017 22:47:59 +0000
4-
Subject: [PATCH 03/25] Fix find_library so that it looks in sys.prefix/lib
4+
Subject: [PATCH 03/26] Fix find_library so that it looks in sys.prefix/lib
55
first
66

77
---

recipe/patches/0004-Disable-registry-lookup-unless-CONDA_PY_ALLOW_REG_PA.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 12999f1ec012f5c3859aa23070a5d293b852afda Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <mingw.android@gmail.com>
33
Date: Sat, 27 Oct 2018 18:48:30 +0100
4-
Subject: [PATCH 04/25] Disable registry lookup unless CONDA_PY_ALLOW_REG_PATHS
4+
Subject: [PATCH 04/26] Disable registry lookup unless CONDA_PY_ALLOW_REG_PATHS
55
is not 0
66

77
Co-authored-by: Isuru Fernando<isuruf@gmail.com>

recipe/patches/0005-Unvendor-openssl.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From f3da6c061da6528ac2aa9069418e2abec3e81bec Mon Sep 17 00:00:00 2001
22
From: Nehal J Wani <nehaljw.kkd1@gmail.com>
33
Date: Sat, 24 Nov 2018 20:38:02 -0600
4-
Subject: [PATCH 05/25] Unvendor openssl
4+
Subject: [PATCH 05/26] Unvendor openssl
55

66
Co-authored-by: Isuru Fernando <isuruf@gmail.com>
77
---

recipe/patches/0006-Unvendor-sqlite3.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 73585456429c8ce96c088d3403afd7e430bdeb85 Mon Sep 17 00:00:00 2001
22
From: Nehal J Wani <nehaljw.kkd1@gmail.com>
33
Date: Tue, 5 Oct 2021 12:42:06 -0700
4-
Subject: [PATCH 06/25] Unvendor sqlite3
4+
Subject: [PATCH 06/26] Unvendor sqlite3
55

66
---
77
PCbuild/_sqlite3.vcxproj | 11 +++++------

recipe/patches/0007-Add-CondaEcosystemModifyDllSearchPath.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 966dfbe7e1972661885959ec72d34d52af373698 Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <mingw.android@gmail.com>
33
Date: Tue, 24 Dec 2019 18:37:17 +0100
4-
Subject: [PATCH 07/25] Add CondaEcosystemModifyDllSearchPath()
4+
Subject: [PATCH 07/26] Add CondaEcosystemModifyDllSearchPath()
55

66
The python interpreter is modifed so that it works as if the python interpreter
77
was called with the following conda directories.

recipe/patches/0008-Doing-d1trimfile.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 17412eb7031d69a13c749f5d6a5f9cdef01c1188 Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <mingw.android@gmail.com>
33
Date: Tue, 31 Dec 2019 21:47:47 +0100
4-
Subject: [PATCH 08/25] Doing d1trimfile
4+
Subject: [PATCH 08/26] Doing d1trimfile
55

66
---
77
PCbuild/_asyncio.vcxproj | 20 ++++++++++++++++++++

recipe/patches/0009-cross-compile-darwin.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 4a750134d0e82bf5e843bcde03a28c4ef7e6c036 Mon Sep 17 00:00:00 2001
22
From: Ray Donnelly <mingw.android@gmail.com>
33
Date: Fri, 2 Oct 2020 00:03:12 +0200
4-
Subject: [PATCH 09/25] cross compile darwin
4+
Subject: [PATCH 09/26] cross compile darwin
55

66
By Isuru Fernando.
77
---

0 commit comments

Comments
 (0)