Skip to content

Commit 64b2193

Browse files
authored
Sync upstream tag 20260320
2 parents f61a648 + bce2b0d commit 64b2193

19 files changed

+116
-135
lines changed

.github/workflows/linux.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
persist-credentials: false
7373

7474
- name: Set up uv
75-
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
75+
uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0
7676
with:
7777
enable-cache: false
7878

@@ -151,7 +151,7 @@ jobs:
151151
persist-credentials: false
152152

153153
- name: Set up uv
154-
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
154+
uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0
155155
with:
156156
enable-cache: false
157157

@@ -226,7 +226,7 @@ jobs:
226226
persist-credentials: false
227227

228228
- name: Set up uv
229-
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
229+
uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0
230230
with:
231231
enable-cache: false
232232

.github/workflows/macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
persist-credentials: false
6565

6666
- name: Set up uv
67-
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
67+
uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0
6868
with:
6969
enable-cache: false
7070

@@ -131,7 +131,7 @@ jobs:
131131
persist-credentials: false
132132

133133
- name: Set up uv
134-
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
134+
uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0
135135
with:
136136
enable-cache: false
137137

.github/workflows/publish-versions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
persist-credentials: false
3333

3434
- name: "Install uv"
35-
uses: astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b # v7.2.0
35+
uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0
3636

3737
- name: "Download SHA256SUMS"
3838
env:

.github/workflows/windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
persist-credentials: false
6565

6666
- name: Set up uv
67-
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
67+
uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0
6868
with:
6969
enable-cache: false
7070

@@ -137,7 +137,7 @@ jobs:
137137
packages: autoconf automake libtool
138138

139139
- name: Set up uv
140-
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
140+
uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0
141141
with:
142142
enable-cache: false
143143

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ rayon = "1.11.0"
3030
reqwest = { version = "0.12.24", features = ["rustls-tls-webpki-roots", "stream"] }
3131
reqwest-middleware = "0.4.2"
3232
reqwest-retry = "0.7.0"
33+
rustls = { version = "0.23" , default-features = false, features = ["aws_lc_rs"] }
3334
scroll = "0.13.0"
3435
semver = "1.0.27"
3536
serde = { version = "1.0.228", features = ["derive"] }

cpython-unix/Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,6 @@ $(OUTDIR)/mpdecimal-$(MPDECIMAL_VERSION)-$(PACKAGE_SUFFIX).tar: $(PYTHON_DEP_DEP
171171
$(OUTDIR)/ncurses-$(NCURSES_VERSION)-$(PACKAGE_SUFFIX).tar: $(PYTHON_DEP_DEPENDS) $(HERE)/build-ncurses.sh
172172
$(RUN_BUILD) --docker-image $(DOCKER_IMAGE_BUILD) ncurses
173173

174-
$(OUTDIR)/openssl-1.1-$(OPENSSL_1.1_VERSION)-$(PACKAGE_SUFFIX).tar: $(PYTHON_DEP_DEPENDS) $(HERE)/build-openssl-1.1.sh
175-
$(RUN_BUILD) --docker-image $(DOCKER_IMAGE_BUILD) openssl-1.1
176-
177174
$(OUTDIR)/openssl-3.5-$(OPENSSL_3.5_VERSION)-$(PACKAGE_SUFFIX).tar: $(PYTHON_DEP_DEPENDS) $(HERE)/build-openssl-3.5.sh
178175
$(RUN_BUILD) --docker-image $(DOCKER_IMAGE_BUILD) openssl-3.5
179176

cpython-unix/build-cpython.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,11 @@ if [ "${PYTHON_MAJMIN_VERSION}" = 3.12 ] || [ "${PYTHON_MAJMIN_VERSION}" = 3.13
306306
patch -p1 -i "${ROOT}/patch-test-embed-prevent-segfault.patch"
307307
fi
308308

309+
# RHEL 8 (supported until 2029) and below, including Fedora 33 and below, do not
310+
# ship an /etc/ssl/cert.pem or a hashed /etc/ssl/cert/ directory. Patch to look at
311+
# /etc/pki/tls/cert.pem instead, if that file exists and /etc/ssl/cert.pem does not.
312+
patch -p1 -i ${ROOT}/patch-cpython-redhat-cert-file.patch
313+
309314
# Cherry-pick an upstream change in Python 3.15 to build _asyncio as
310315
# static (which we do anyway in our own fashion) and more importantly to
311316
# take this into account when finding the AsyncioDebug section.
@@ -1096,6 +1101,8 @@ replace_in_all("-I%s/deps/include/ncursesw" % tools_path, "")
10961101
replace_in_all("-I%s/deps/include/uuid" % tools_path, "")
10971102
replace_in_all("-I%s/deps/include" % tools_path, "")
10981103
replace_in_all("-L%s/deps/lib" % tools_path, "")
1104+
# See https://github.com/python/cpython/issues/145810#issuecomment-4068139183
1105+
replace_in_all("-LModules/_hacl", "")
10991106
11001107
EOF
11011108

cpython-unix/build-openssl-1.1.sh

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

cpython-unix/build.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1172,7 +1172,6 @@ def main():
11721172
"m4",
11731173
"mpdecimal",
11741174
"ncurses",
1175-
"openssl-1.1",
11761175
"openssl-3.5",
11771176
"patchelf",
11781177
"sqlite",

0 commit comments

Comments
 (0)