Skip to content

Commit 0cb4a36

Browse files
authored
Merge branch 'main' into fix-test-windows-platform
2 parents d63344e + a6e1b83 commit 0cb4a36

296 files changed

Lines changed: 2310 additions & 18273 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.

.azure-pipelines/windows-layout-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ steps:
1212
displayName: Show layout info (${{ parameters.kind }})
1313

1414
- ${{ if eq(parameters.fulltest, 'true') }}:
15-
- script: .\python.exe -m test -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0 --junit-xml="$(Build.BinariesDirectory)\test-results-${{ parameters.kind }}.xml" --tempdir "$(Build.BinariesDirectory)\tmp-${{ parameters.kind }}-$(arch)" -i test_launcher
15+
- script: .\python.exe -m test -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0 --junit-xml="$(Build.BinariesDirectory)\test-results-${{ parameters.kind }}.xml" --tempdir "$(Build.BinariesDirectory)\tmp-${{ parameters.kind }}-$(arch)"
1616
workingDirectory: $(Build.BinariesDirectory)\layout-${{ parameters.kind }}-$(arch)
1717
displayName: ${{ parameters.kind }} Tests
1818
env:

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*.zip binary
2020

2121
# Specific binary files
22-
PC/classicAppCompat.* binary
22+
# -- None right now --
2323

2424
# Text files that should not be subject to eol conversion
2525
[attr]noeol -text

.github/CODEOWNERS

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,8 @@ Tools/wasm/wasi @brettcannon @emmatyping @savannahostrowski
188188
PC/ @python/windows-team
189189
PCbuild/ @python/windows-team
190190

191-
# Windows installer packages
192-
Tools/msi/ @python/windows-team
193-
Tools/nuget/ @python/windows-team
194-
195-
# Windows Launcher
196-
PC/launcher.c @python/windows-team @vsajip
191+
# Windows Venv launcher/redirector
192+
PC/venvlauncher.c @python/windows-team @vsajip
197193

198194

199195
# ----------------------------------------------------------------------------

.github/workflows/build.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -181,22 +181,6 @@ jobs:
181181
free-threading: ${{ matrix.free-threading }}
182182
interpreter: ${{ matrix.interpreter }}
183183

184-
build-windows-msi:
185-
# ${{ '' } is a hack to nest jobs under the same sidebar category.
186-
name: Windows MSI${{ '' }} # zizmor: ignore[obfuscation]
187-
needs: build-context
188-
if: fromJSON(needs.build-context.outputs.run-windows-msi)
189-
strategy:
190-
fail-fast: false
191-
matrix:
192-
arch:
193-
- x86
194-
- x64
195-
- arm64
196-
uses: ./.github/workflows/reusable-windows-msi.yml
197-
with:
198-
arch: ${{ matrix.arch }}
199-
200184
build-macos:
201185
name: >-
202186
macOS
@@ -650,7 +634,6 @@ jobs:
650634
- check-generated-files
651635
- check-c-api-docs
652636
- build-windows
653-
- build-windows-msi
654637
- build-macos
655638
- build-ubuntu
656639
- build-ubuntu-ssltests
@@ -671,7 +654,6 @@ jobs:
671654
allowed-failures: >-
672655
build-android,
673656
build-emscripten,
674-
build-windows-msi,
675657
build-ubuntu-ssltests,
676658
test-hypothesis,
677659
cifuzz,

.github/workflows/reusable-context.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ on: # yamllint disable-line rule:truthy
4747
run-wasi:
4848
description: Whether to run the WASI tests
4949
value: ${{ jobs.compute-changes.outputs.run-wasi }} # bool
50-
run-windows-msi:
51-
description: Whether to run the MSI installer smoke tests
52-
value: ${{ jobs.compute-changes.outputs.run-windows-msi }} # bool
5350
run-windows-tests:
5451
description: Whether to run the Windows tests
5552
value: ${{ jobs.compute-changes.outputs.run-windows-tests }} # bool
@@ -73,7 +70,6 @@ jobs:
7370
run-ubuntu: ${{ steps.changes.outputs.run-ubuntu }}
7471
run-emscripten: ${{ steps.changes.outputs.run-emscripten }}
7572
run-wasi: ${{ steps.changes.outputs.run-wasi }}
76-
run-windows-msi: ${{ steps.changes.outputs.run-windows-msi }}
7773
run-windows-tests: ${{ steps.changes.outputs.run-windows-tests }}
7874
steps:
7975
- name: Set up Python

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

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

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ gmon.out
5050

5151
*.exe
5252

53-
# Ignore core dumps... but not Tools/msi/core/ or the like.
53+
# Ignore core dumps... but not .../core/ subdirectories
5454
core
5555
!core/
5656

@@ -158,7 +158,6 @@ Tools/unicode/data/
158158
/coverage/
159159
/externals/
160160
/htmlcov/
161-
Tools/msi/obj
162161
Tools/ssl/amd64
163162
Tools/ssl/win32
164163
Tools/freeze/test/outdir

Doc/c-api/type.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ Type Objects
3737
3838
Clear the internal lookup cache. Return the current version tag.
3939
40+
.. versionchanged:: 3.16
41+
This function is now a no-op as the type cache is now implemented
42+
per-type. It still returns the current version tag.
43+
4044
.. c:function:: unsigned long PyType_GetFlags(PyTypeObject* type)
4145
4246
Return the :c:member:`~PyTypeObject.tp_flags` member of *type*. This function is primarily

Doc/c-api/typeobj.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3051,7 +3051,7 @@ Buffer Object Structures
30513051

30523052
* Resource cleanup when the counter reaches zero must be done atomically,
30533053
as the final release may race with concurrent releases from other
3054-
threads and dellocation must only happen once.
3054+
threads and deallocation must only happen once.
30553055

30563056
The exporter MUST use the :c:member:`~Py_buffer.internal` field to keep
30573057
track of buffer-specific resources. This field is guaranteed to remain

Doc/faq/general.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,11 @@ Alpha, beta and release candidate versions have an additional suffix:
152152
In other words, all versions labeled *2.0aN* precede the versions labeled
153153
*2.0bN*, which precede versions labeled *2.0rcN*, and *those* precede 2.0.
154154

155-
You may also find version numbers with a "+" suffix, e.g. "2.2+". These are
156-
unreleased versions, built directly from the CPython development repository. In
157-
practice, after a final minor release is made, the version is incremented to the
158-
next minor version, which becomes the "a0" version, e.g. "2.4a0".
155+
You may also find version numbers with a "+dev" suffix, such as "3.15.0b3+dev".
156+
These are unreleased versions, built directly from the CPython development
157+
repository. After the first beta release is made, the version is
158+
incremented to the next feature version, which becomes the "a0" version,
159+
such as "3.16.0a0".
159160

160161
See the `Developer's Guide
161162
<https://devguide.python.org/developer-workflow/development-cycle/>`__

0 commit comments

Comments
 (0)