Skip to content

Commit 7f789f1

Browse files
authored
Merge branch 'main' into shutil_unpack_archive_false_positives
2 parents 0f66cb3 + 9263173 commit 7f789f1

File tree

737 files changed

+29926
-13361
lines changed

Some content is hidden

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

737 files changed

+29926
-13361
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ENV WASI_SDK_VERSION=20
66
ENV WASI_SDK_PATH=/opt/wasi-sdk
77

88
ENV WASMTIME_HOME=/opt/wasmtime
9-
ENV WASMTIME_VERSION=9.0.1
9+
ENV WASMTIME_VERSION=14.0.4
1010
ENV WASMTIME_CPU_ARCH=x86_64
1111

1212
RUN dnf -y --nodocs --setopt=install_weak_deps=False install /usr/bin/{blurb,clang,curl,git,ln,tar,xz} 'dnf-command(builddep)' && \

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ Include/internal/pycore_ast_state.h generated
7676
Include/internal/pycore_opcode.h generated
7777
Include/internal/pycore_opcode_metadata.h generated
7878
Include/internal/pycore_*_generated.h generated
79+
Include/internal/pycore_uop_ids.h generated
7980
Include/opcode.h generated
8081
Include/opcode_ids.h generated
8182
Include/token.h generated
@@ -84,6 +85,7 @@ Lib/keyword.py generated
8485
Lib/test/levenshtein_examples.json generated
8586
Lib/test/test_stable_abi_ctypes.py generated
8687
Lib/token.py generated
88+
Misc/sbom.spdx.json generated
8789
Objects/typeslots.inc generated
8890
PC/python3dll.c generated
8991
Parser/parser.c generated

.github/CODEOWNERS

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ Python/traceback.c @iritkatriel
7878
**/*importlib/resources/* @jaraco @warsaw @FFY00
7979
**/importlib/metadata/* @jaraco @warsaw
8080

81+
# Subinterpreters
82+
Lib/test/support/interpreters/** @ericsnowcurrently
83+
Modules/_xx*interp*module.c @ericsnowcurrently
84+
Lib/test/test_interpreters/** @ericsnowcurrently
85+
8186
# Dates and times
8287
**/*datetime* @pganssle @abalkin
8388
**/*str*time* @pganssle @abalkin
@@ -148,7 +153,15 @@ Doc/c-api/stable.rst @encukou
148153
**/*itertools* @rhettinger
149154
**/*collections* @rhettinger
150155
**/*random* @rhettinger
151-
**/*queue* @rhettinger
156+
Doc/**/*queue* @rhettinger
157+
PCbuild/**/*queue* @rhettinger
158+
Modules/_queuemodule.c @rhettinger
159+
Lib/*queue*.py @rhettinger
160+
Lib/asyncio/*queue*.py @rhettinger
161+
Lib/multiprocessing/*queue*.py @rhettinger
162+
Lib/test/*queue*.py @rhettinger
163+
Lib/test_asyncio/*queue*.py @rhettinger
164+
Lib/test_multiprocessing/*queue*.py @rhettinger
152165
**/*bisect* @rhettinger
153166
**/*heapq* @rhettinger
154167
**/*functools* @rhettinger
@@ -190,3 +203,7 @@ Doc/howto/clinic.rst @erlend-aasland
190203

191204
# WebAssembly
192205
/Tools/wasm/ @brettcannon
206+
207+
# SBOM
208+
/Misc/sbom.spdx.json @sethmlarson
209+
/Tools/build/generate_sbom.py @sethmlarson

.github/workflows/add-issue-header.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
permissions:
2020
issues: write
2121
steps:
22-
- uses: actions/github-script@v6
22+
- uses: actions/github-script@v7
2323
with:
2424
# language=JavaScript
2525
script: |

.github/workflows/build.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ jobs:
190190
build_windows_free_threaded:
191191
name: 'Windows (free-threaded)'
192192
needs: check_source
193-
if: needs.check_source.outputs.run_tests == 'true' && contains(github.event.pull_request.labels.*.name, 'topic-free-threaded')
193+
if: needs.check_source.outputs.run_tests == 'true'
194194
uses: ./.github/workflows/reusable-windows.yml
195195
with:
196196
free-threaded: true
@@ -206,7 +206,7 @@ jobs:
206206
build_macos_free_threaded:
207207
name: 'macOS (free-threaded)'
208208
needs: check_source
209-
if: needs.check_source.outputs.run_tests == 'true' && contains(github.event.pull_request.labels.*.name, 'topic-free-threaded')
209+
if: needs.check_source.outputs.run_tests == 'true'
210210
uses: ./.github/workflows/reusable-macos.yml
211211
with:
212212
config_hash: ${{ needs.check_source.outputs.config_hash }}
@@ -228,7 +228,7 @@ jobs:
228228
build_ubuntu_free_threaded:
229229
name: 'Ubuntu (free-threaded)'
230230
needs: check_source
231-
if: needs.check_source.outputs.run_tests == 'true' && contains(github.event.pull_request.labels.*.name, 'topic-free-threaded')
231+
if: needs.check_source.outputs.run_tests == 'true'
232232
uses: ./.github/workflows/reusable-ubuntu.yml
233233
with:
234234
config_hash: ${{ needs.check_source.outputs.config_hash }}
@@ -521,10 +521,7 @@ jobs:
521521
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe
522522
with:
523523
allowed-failures: >-
524-
build_macos_free_threaded,
525-
build_ubuntu_free_threaded,
526524
build_ubuntu_ssltests,
527-
build_windows_free_threaded,
528525
cifuzz,
529526
test_hypothesis,
530527
allowed-skips: >-

.github/workflows/mypy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
pull_request:
99
paths:
1010
- ".github/workflows/mypy.yml"
11+
- "Lib/test/libregrtest/**"
12+
- "Tools/build/generate_sbom.py"
1113
- "Tools/cases_generator/**"
1214
- "Tools/clinic/**"
1315
- "Tools/peg_generator/**"
@@ -32,6 +34,8 @@ jobs:
3234
strategy:
3335
matrix:
3436
target: [
37+
"Lib/test/libregrtest",
38+
"Tools/build/",
3539
"Tools/cases_generator",
3640
"Tools/clinic",
3741
"Tools/peg_generator",

.github/workflows/new-bugs-announce-notifier.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
node-version: 20
1919
- run: npm install mailgun.js form-data
2020
- name: Send notification
21-
uses: actions/github-script@v6
21+
uses: actions/github-script@v7
2222
env:
2323
MAILGUN_API_KEY: ${{ secrets.MAILGUN_PYTHON_ORG_MAILGUN_KEY }}
2424
with:

.github/workflows/posix-deps-apt.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ apt-get -yq install \
2121
libssl-dev \
2222
lzma \
2323
lzma-dev \
24+
strace \
2425
tk-dev \
2526
uuid-dev \
2627
xvfb \

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ Tools/unicode/data/
125125
/config.status.lineno
126126
# hendrikmuhs/ccache-action@v1
127127
/.ccache
128+
/cross-build/
128129
/platform
129130
/profile-clean-stamp
130131
/profile-run-stamp

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.1.2
3+
rev: v0.1.7
44
hooks:
55
- id: ruff
66
name: Run Ruff on Lib/test/
@@ -24,7 +24,7 @@ repos:
2424
types_or: [c, inc, python, rst]
2525

2626
- repo: https://github.com/sphinx-contrib/sphinx-lint
27-
rev: v0.8.1
27+
rev: v0.9.1
2828
hooks:
2929
- id: sphinx-lint
3030
args: [--enable=default-role]

0 commit comments

Comments
 (0)