Skip to content

Commit c6c0d2f

Browse files
Merge branch 'main' into jit-yml-cleanup
2 parents 7bc9fa7 + 852ec18 commit c6c0d2f

File tree

674 files changed

+27938
-18047
lines changed

Some content is hidden

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

674 files changed

+27938
-18047
lines changed

.github/CODEOWNERS

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,10 @@
6363
.azure-pipelines/ @AA-Turner
6464

6565
# GitHub & related scripts
66-
.github/ @ezio-melotti @hugovk @AA-Turner @webknjaz
67-
Tools/build/compute-changes.py @AA-Turner @hugovk @webknjaz
68-
Tools/build/verify_ensurepip_wheels.py @AA-Turner @pfmoore @pradyunsg
66+
.github/ @ezio-melotti @hugovk @AA-Turner @webknjaz
67+
Tools/build/compute-changes.py @AA-Turner @hugovk @webknjaz
68+
Lib/test/test_tools/test_compute_changes.py @AA-Turner @hugovk @webknjaz
69+
Tools/build/verify_ensurepip_wheels.py @AA-Turner @pfmoore @pradyunsg
6970

7071
# Pre-commit
7172
.pre-commit-config.yaml @hugovk
@@ -110,6 +111,7 @@ Doc/tools/ @AA-Turner @hugovk
110111
.readthedocs.yml @AA-Turner
111112

112113
# Sections
114+
Doc/c-api/ @ZeroIntensity
113115
Doc/reference/ @willingc @AA-Turner
114116
Doc/whatsnew/ @AA-Turner
115117

@@ -292,6 +294,12 @@ Python/jit.c @brandtbucher @savannahostrowski @diegorusso
292294
Tools/jit/ @brandtbucher @savannahostrowski @diegorusso
293295
InternalDocs/jit.md @brandtbucher @savannahostrowski @diegorusso @AA-Turner
294296

297+
# Lazy imports (PEP 810)
298+
Objects/lazyimportobject.c @twouters @DinoV @pablogsal
299+
Include/internal/pycore_lazyimportobject.h @twouters @DinoV @pablogsal
300+
Lib/test/test_import/test_lazy_imports.py @twouters @DinoV @pablogsal
301+
Lib/test/test_import/data/lazy_imports/ @twouters @DinoV @pablogsal
302+
295303
# Micro-op / μop / Tier 2 Optimiser
296304
Python/optimizer.c @markshannon @Fidget-Spinner
297305
Python/optimizer_analysis.c @markshannon @tomasr8 @Fidget-Spinner @savannahostrowski
@@ -418,6 +426,7 @@ Lib/test/test_dataclasses/ @ericvsmith
418426

419427
# Dates and times
420428
Doc/**/*time.rst @pganssle @abalkin
429+
Doc/library/datetime-* @pganssle
421430
Doc/library/zoneinfo.rst @pganssle
422431
Include/datetime.h @pganssle @abalkin
423432
Include/internal/pycore_time.h @pganssle @abalkin
@@ -467,8 +476,9 @@ Lib/test/test_functools.py @rhettinger
467476
Modules/_functoolsmodule.c @rhettinger
468477

469478
# Garbage collector
470-
Modules/gcmodule.c @pablogsal
471-
Doc/library/gc.rst @pablogsal
479+
Modules/gcmodule.c @pablogsal
480+
Doc/library/gc.rst @pablogsal
481+
InternalDocs/garbage_collector.md @pablogsal
472482

473483
# Gettext
474484
Doc/library/gettext.rst @tomasr8

.github/ISSUE_TEMPLATE/documentation.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ body:
88
> [!NOTE]
99
> Trivial changes (for example typos) don’t require an issue before opening a PR.
1010
- type: textarea
11+
id: description
1112
attributes:
1213
label: "Documentation"
13-
description: "A clear and concise description of the issue."
14+
description: "A clear and concise description of the issue. Include a link to the page."
1415
validations:
1516
required: true

.github/workflows/build.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,11 +242,18 @@ jobs:
242242
# BOLT currently crashes during instrumentation on aarch64
243243
- os: ubuntu-24.04-arm
244244
bolt: true
245+
include:
246+
# Enable CPU-intensive tests on ARM (default build only)
247+
- os: ubuntu-24.04-arm
248+
bolt: false
249+
free-threading: false
250+
test-opts: '-u cpu'
245251
uses: ./.github/workflows/reusable-ubuntu.yml
246252
with:
247253
bolt-optimizations: ${{ matrix.bolt }}
248254
free-threading: ${{ matrix.free-threading }}
249255
os: ${{ matrix.os }}
256+
test-opts: ${{ matrix.test-opts || '' }}
250257

251258
build-ubuntu-ssltests-openssl:
252259
name: 'Ubuntu SSL tests with OpenSSL'
@@ -261,7 +268,7 @@ jobs:
261268
# Keep 1.1.1w in our list despite it being upstream EOL and otherwise
262269
# unsupported as it most resembles other 1.1.1-work-a-like ssl APIs
263270
# 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]
271+
openssl_ver: [1.1.1w, 3.0.19, 3.3.6, 3.4.4, 3.5.5, 3.6.1]
265272
# See Tools/ssl/make_ssl_data.py for notes on adding a new version
266273
env:
267274
OPENSSL_VER: ${{ matrix.openssl_ver }}
@@ -428,7 +435,7 @@ jobs:
428435
needs: build-context
429436
if: needs.build-context.outputs.run-ubuntu == 'true'
430437
env:
431-
OPENSSL_VER: 3.0.18
438+
OPENSSL_VER: 3.5.5
432439
PYTHONSTRICTEXTENSIONBUILD: 1
433440
steps:
434441
- uses: actions/checkout@v6
@@ -539,7 +546,7 @@ jobs:
539546
matrix:
540547
os: [ubuntu-24.04]
541548
env:
542-
OPENSSL_VER: 3.0.18
549+
OPENSSL_VER: 3.5.5
543550
PYTHONSTRICTEXTENSIONBUILD: 1
544551
ASAN_OPTIONS: detect_leaks=0:allocator_may_return_null=1:handle_segv=0
545552
steps:
@@ -574,7 +581,7 @@ jobs:
574581
run: |
575582
echo "PATH=/usr/lib/ccache:$PATH" >> "$GITHUB_ENV"
576583
- name: Configure CPython
577-
run: ./configure --config-cache --with-address-sanitizer --without-pymalloc
584+
run: ./configure --config-cache --with-address-sanitizer --without-pymalloc --with-openssl="$OPENSSL_DIR"
578585
- name: Build CPython
579586
run: make -j4
580587
- name: Display build info

.github/workflows/jit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ jobs:
6161
include:
6262
- target: i686-pc-windows-msvc/msvc
6363
architecture: Win32
64-
runner: windows-2022
64+
runner: windows-2025-vs2026
6565
- target: x86_64-pc-windows-msvc/msvc
6666
architecture: x64
67-
runner: windows-2022
67+
runner: windows-2025-vs2026
6868
- target: aarch64-pc-windows-msvc/msvc
6969
architecture: ARM64
7070
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: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ on:
1717
description: OS to run the job
1818
required: true
1919
type: string
20+
test-opts:
21+
description: Extra options to pass to the test runner via TESTOPTS
22+
required: false
23+
type: string
24+
default: ''
2025

2126
env:
2227
FORCE_COLOR: 1
@@ -27,7 +32,7 @@ jobs:
2732
runs-on: ${{ inputs.os }}
2833
timeout-minutes: 60
2934
env:
30-
OPENSSL_VER: 3.0.18
35+
OPENSSL_VER: 3.5.5
3136
PYTHONSTRICTEXTENSIONBUILD: 1
3237
TERM: linux
3338
steps:
@@ -111,4 +116,6 @@ jobs:
111116
run: sudo mount "$CPYTHON_RO_SRCDIR" -oremount,rw
112117
- name: Tests
113118
working-directory: ${{ env.CPYTHON_BUILDDIR }}
114-
run: xvfb-run make ci
119+
run: xvfb-run make ci EXTRATESTOPTS="${TEST_OPTS}"
120+
env:
121+
TEST_OPTS: ${{ inputs.test-opts }}

.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-vs2026' }}
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-vs2026' }}
2525
timeout-minutes: 60
2626
env:
2727
ARCH: ${{ inputs.arch }}

0 commit comments

Comments
 (0)