Skip to content

Commit 2de2ecb

Browse files
authored
Merge branch '3.14' into gh-150743-http-client-line-reading-limits-314
2 parents 2041687 + 7d6fc2b commit 2de2ecb

433 files changed

Lines changed: 16732 additions & 2653 deletions

File tree

Some content is hidden

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

.editorconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
root = true
22

3-
[*.{py,c,cpp,h,js,rst,md,yml,yaml,gram}]
3+
[*.{py,c,cpp,h,js,rst,md,yml,yaml,toml,gram}]
44
trim_trailing_whitespace = true
55
insert_final_newline = true
66
indent_style = space
77

8-
[*.{py,c,cpp,h,gram}]
8+
[*.{py,c,cpp,h,toml,gram}]
99
indent_size = 4
1010

1111
[*.rst]

.github/workflows/build.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -305,11 +305,10 @@ jobs:
305305
# unsupported as it most resembles other 1.1.1-work-a-like ssl APIs
306306
# supported by important vendors such as AWS-LC.
307307
- { name: openssl, version: 1.1.1w }
308-
- { name: openssl, version: 3.0.20 }
309-
- { name: openssl, version: 3.3.7 }
310-
- { name: openssl, version: 3.4.5 }
311-
- { name: openssl, version: 3.5.6 }
312-
- { name: openssl, version: 3.6.2 }
308+
- { name: openssl, version: 3.0.21 }
309+
- { name: openssl, version: 3.4.6 }
310+
- { name: openssl, version: 3.5.7 }
311+
- { name: openssl, version: 3.6.3 }
313312
env:
314313
SSLLIB_VER: ${{ matrix.ssllib.version }}
315314
MULTISSL_DIR: ${{ github.workspace }}/multissl
@@ -423,7 +422,7 @@ jobs:
423422
needs: build-context
424423
if: needs.build-context.outputs.run-ubuntu == 'true'
425424
env:
426-
OPENSSL_VER: 3.5.6
425+
OPENSSL_VER: 3.5.7
427426
PYTHONSTRICTEXTENSIONBUILD: 1
428427
steps:
429428
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -531,7 +530,7 @@ jobs:
531530
matrix:
532531
os: [ubuntu-24.04]
533532
env:
534-
OPENSSL_VER: 3.5.6
533+
OPENSSL_VER: 3.5.7
535534
PYTHONSTRICTEXTENSIONBUILD: 1
536535
ASAN_OPTIONS: detect_leaks=0:allocator_may_return_null=1:handle_segv=0
537536
steps:
@@ -626,6 +625,9 @@ jobs:
626625
run: ./configure --prefix="$BUILD_DIR/cross-python" --with-build-python="$BUILD_DIR/host-python/bin/python3"
627626
- name: Install cross Python
628627
run: make -j8 install
628+
- name: Display build info
629+
run: |
630+
"$BUILD_DIR/cross-python/bin/python3" -m test.pythoninfo
629631
- name: Run test subset with host build
630632
run: |
631633
"$BUILD_DIR/cross-python/bin/python3" -m test test_sysconfig test_site test_embed

.github/workflows/reusable-emscripten.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,17 @@ jobs:
6363
run: python3 Platforms/emscripten configure-build-python -- --config-cache --with-pydebug
6464
- name: "Make build Python"
6565
run: python3 Platforms/emscripten make-build-python
66+
- name: "Display build info of the build Python"
67+
run: python3 Platforms/emscripten pythoninfo-build
6668
- name: "Make dependencies"
6769
run: >-
6870
python3 Platforms/emscripten make-dependencies
6971
${{ steps.emsdk-cache.outputs.cache-hit == 'true' && '--check-up-to-date' || '' }}
70-
- name: "Configure host Python"
72+
- name: "Configure host/Emscripten Python"
7173
run: python3 Platforms/emscripten configure-host --host-runner node -- --config-cache
72-
- name: "Make host Python"
74+
- name: "Make host/Emscripten Python"
7375
run: python3 Platforms/emscripten make-host
74-
- name: "Display build info"
75-
run: python3 Platforms/emscripten run --pythoninfo
76+
- name: "Display build info of the host/Emscripten Python"
77+
run: python3 Platforms/emscripten pythoninfo-host
7678
- name: "Test"
7779
run: python3 Platforms/emscripten run --test

.github/workflows/reusable-san.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ jobs:
8686
run: >-
8787
./python -m test
8888
${{ inputs.sanitizer == 'TSan' && '--tsan' || '' }}
89-
-j4
89+
-j4 -W --timeout=900 --slowest
9090
- name: Parallel tests
9191
if: >-
9292
inputs.sanitizer == 'TSan'
9393
&& fromJSON(inputs.free-threading)
94-
run: ./python -m test --tsan-parallel --parallel-threads=4 -j4
94+
run: ./python -m test --tsan-parallel --parallel-threads=4 -j4 -W --timeout=600 --slowest
9595
- name: Display logs
9696
if: always()
9797
run: find "${GITHUB_WORKSPACE}" -name 'san_log.*' | xargs head -n 1000

.github/workflows/reusable-ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ${{ inputs.os }}
3131
timeout-minutes: 60
3232
env:
33-
OPENSSL_VER: 3.5.6
33+
OPENSSL_VER: 3.5.7
3434
PYTHONSTRICTEXTENSIONBUILD: 1
3535
TERM: linux
3636
steps:

.github/workflows/reusable-wasi.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ jobs:
1515
runs-on: ubuntu-24.04
1616
timeout-minutes: 60
1717
env:
18-
WASMTIME_VERSION: 22.0.0
18+
WASMTIME_VERSION: 38.0.3
1919
WASI_SDK_VERSION: 24
2020
WASI_SDK_PATH: /opt/wasi-sdk
21-
CROSS_BUILD_PYTHON: cross-build/build
2221
CROSS_BUILD_WASI: cross-build/wasm32-wasip1
2322
steps:
2423
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -51,12 +50,14 @@ jobs:
5150
run: python3 Tools/wasm/wasi configure-build-python -- --config-cache --with-pydebug
5251
- name: "Make build Python"
5352
run: python3 Tools/wasm/wasi make-build-python
54-
- name: "Configure host"
53+
- name: "Display build info of the build Python"
54+
run: python3 Tools/wasm/wasi pythoninfo-build
55+
- name: "Configure host/WASI Python"
5556
# `--with-pydebug` inferred from configure-build-python
5657
run: python3 Tools/wasm/wasi configure-host -- --config-cache
57-
- name: "Make host"
58+
- name: "Make host/WASI Python"
5859
run: python3 Tools/wasm/wasi make-host
59-
- name: "Display build info"
60-
run: make --directory "${CROSS_BUILD_WASI}" pythoninfo
60+
- name: "Display build info of the host/WASI Python"
61+
run: python3 Tools/wasm/wasi pythoninfo-host
6162
- name: "Test"
6263
run: make --directory "${CROSS_BUILD_WASI}" test

Android/android.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def unpack_deps(host, prefix_dir, cache_dir):
216216
for name_ver in [
217217
"bzip2-1.0.8-3",
218218
"libffi-3.4.4-3",
219-
"openssl-3.5.6-0",
219+
"openssl-3.5.7-0",
220220
"sqlite-3.50.4-0",
221221
"xz-5.4.6-1",
222222
"zstd-1.5.7-2"

Android/testbed/app/build.gradle.kts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,13 @@ android {
105105

106106
// This controls the API level of the maxVersion managed emulator, which is used
107107
// by CI and cibuildwheel.
108+
// * 32 has intermittent failures accessing the internet (#142387).
108109
// * 33 has excessive buffering in the logcat client
109110
// (https://cs.android.com/android/_/android/platform/system/logging/+/d340721894f223327339010df59b0ac514308826).
110-
// * 34 consumes too much disk space on GitHub Actions (#142289).
111-
// * 35 has issues connecting to the internet (#142387).
111+
// * 34 consumes too much disk space on GitHub Actions (#142289), though switching to the
112+
// "default" image may be a workaround.
112113
// * 36 and later are not available as aosp_atd images yet.
113-
targetSdk = 32
114+
targetSdk = 35
114115

115116
versionCode = 1
116117
versionName = "1.0"

Apple/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ def unpack_deps(
319319
for name_ver in [
320320
"BZip2-1.0.8-2",
321321
"libFFI-3.4.7-2",
322-
"OpenSSL-3.5.6-1",
322+
"OpenSSL-3.5.7-1",
323323
"XZ-5.6.4-2",
324324
"mpdecimal-4.0.0-2",
325325
"zstd-1.5.7-1",

Doc/c-api/exceptions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ an error value).
412412
413413
.. c:function:: int PyErr_WarnFormat(PyObject *category, Py_ssize_t stack_level, const char *format, ...)
414414
415-
Function similar to :c:func:`PyErr_WarnEx`, but use
415+
Function similar to :c:func:`PyErr_WarnEx`, but uses
416416
:c:func:`PyUnicode_FromFormat` to format the warning message. *format* is
417417
an ASCII-encoded string.
418418

0 commit comments

Comments
 (0)