Skip to content

Commit c900a22

Browse files
authored
Merge branch 'main' into optimize/add_RETURN_VALUE_HEAP_SAFE
2 parents b23b1cc + 645f5c4 commit c900a22

File tree

384 files changed

+9664
-1317
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

384 files changed

+9664
-1317
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ jobs:
261261
# Keep 1.1.1w in our list despite it being upstream EOL and otherwise
262262
# unsupported as it most resembles other 1.1.1-work-a-like ssl APIs
263263
# supported by important vendors such as AWS-LC.
264-
openssl_ver: [1.1.1w, 3.0.18, 3.3.5, 3.4.3, 3.5.4, 3.6.0]
264+
openssl_ver: [1.1.1w, 3.0.19, 3.3.6, 3.4.4, 3.5.5, 3.6.1]
265265
# See Tools/ssl/make_ssl_data.py for notes on adding a new version
266266
env:
267267
OPENSSL_VER: ${{ matrix.openssl_ver }}
@@ -428,7 +428,7 @@ jobs:
428428
needs: build-context
429429
if: needs.build-context.outputs.run-ubuntu == 'true'
430430
env:
431-
OPENSSL_VER: 3.0.18
431+
OPENSSL_VER: 3.5.5
432432
PYTHONSTRICTEXTENSIONBUILD: 1
433433
steps:
434434
- uses: actions/checkout@v6
@@ -539,7 +539,7 @@ jobs:
539539
matrix:
540540
os: [ubuntu-24.04]
541541
env:
542-
OPENSSL_VER: 3.0.18
542+
OPENSSL_VER: 3.5.5
543543
PYTHONSTRICTEXTENSIONBUILD: 1
544544
ASAN_OPTIONS: detect_leaks=0:allocator_may_return_null=1:handle_segv=0
545545
steps:
@@ -574,7 +574,7 @@ jobs:
574574
run: |
575575
echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
576576
- name: Configure CPython
577-
run: ./configure --config-cache --with-address-sanitizer --without-pymalloc
577+
run: ./configure --config-cache --with-address-sanitizer --without-pymalloc --with-openssl="$OPENSSL_DIR"
578578
- name: Build CPython
579579
run: make -j4
580580
- name: Display build info

.github/workflows/jit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ jobs:
7474
include:
7575
- target: i686-pc-windows-msvc/msvc
7676
architecture: Win32
77-
runner: windows-2022
77+
runner: windows-2025
7878
- target: x86_64-pc-windows-msvc/msvc
7979
architecture: x64
80-
runner: windows-2022
80+
runner: windows-2025
8181
- target: aarch64-pc-windows-msvc/msvc
8282
architecture: ARM64
8383
runner: windows-11-arm

.github/workflows/reusable-macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
run: echo "IMAGE_OS_VERSION=${ImageOS}-${ImageVersion}" >> "$GITHUB_ENV"
3636
- name: Install Homebrew dependencies
3737
run: |
38-
brew install pkg-config openssl@3.0 xz gdbm tcl-tk@9 make
38+
brew install pkg-config openssl@3.5 xz gdbm tcl-tk@9 make
3939
# Because alternate versions are not symlinked into place by default:
4040
brew link --overwrite tcl-tk@9
4141
- name: Configure CPython
@@ -50,7 +50,7 @@ jobs:
5050
--enable-safety \
5151
${{ inputs.free-threading && '--disable-gil' || '' }} \
5252
--prefix=/opt/python-dev \
53-
--with-openssl="$(brew --prefix openssl@3.0)"
53+
--with-openssl="$(brew --prefix openssl@3.5)"
5454
- name: Build CPython
5555
if : ${{ inputs.free-threading || inputs.os != 'macos-15-intel' }}
5656
run: gmake -j8

.github/workflows/reusable-ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
runs-on: ${{ inputs.os }}
2828
timeout-minutes: 60
2929
env:
30-
OPENSSL_VER: 3.0.18
30+
OPENSSL_VER: 3.5.5
3131
PYTHONSTRICTEXTENSIONBUILD: 1
3232
TERM: linux
3333
steps:

.github/workflows/reusable-wasi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
timeout-minutes: 60
1414
env:
1515
WASMTIME_VERSION: 38.0.3
16-
WASI_SDK_VERSION: 29
16+
WASI_SDK_VERSION: 30
1717
WASI_SDK_PATH: /opt/wasi-sdk
1818
CROSS_BUILD_PYTHON: cross-build/build
1919
CROSS_BUILD_WASI: cross-build/wasm32-wasip1

.github/workflows/reusable-windows-msi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717
jobs:
1818
build:
1919
name: installer for ${{ inputs.arch }}
20-
runs-on: ${{ inputs.arch == 'arm64' && 'windows-11-arm' || 'windows-2022' }}
20+
runs-on: ${{ inputs.arch == 'arm64' && 'windows-11-arm' || 'windows-2025' }}
2121
timeout-minutes: 60
2222
env:
2323
ARCH: ${{ inputs.arch }}

.github/workflows/reusable-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ env:
2121
jobs:
2222
build:
2323
name: Build and test (${{ inputs.arch }})
24-
runs-on: ${{ inputs.arch == 'arm64' && 'windows-11-arm' || 'windows-2022' }}
24+
runs-on: ${{ inputs.arch == 'arm64' && 'windows-11-arm' || 'windows-2025' }}
2525
timeout-minutes: 60
2626
env:
2727
ARCH: ${{ inputs.arch }}

0 commit comments

Comments
 (0)