Skip to content

[wasm] Bump CPython to v3.13.3 for Emsdk 5.0.6 - #210

Merged
akoeplinger merged 10000 commits into
dotnet:dotnet/mainfrom
pavelsavara:bump-python-3.13.3
Jun 8, 2026
Merged

akoeplinger merged 10000 commits into
dotnet:dotnet/mainfrom
pavelsavara:bump-python-3.13.3

Conversation

@pavelsavara

@pavelsavara pavelsavara commented Apr 30, 2026 •

Copy link
Copy Markdown
Member

Contributes to dotnet/runtime#113786

Summary

Bumps dotnet/cpython to upstream python/cpython tag v3.13.3 at 6280bb547840b609feedb78887c6491af75548e8.

Branch contents

https://github.com/pavelsavara/cpython/commits/bump-python-3.13.3/

Merge strategy

The previous dotnet/main was based on CPython 3.11. This PR replaces it entirely with 3.13.3.
A policy merge (git merge -s ours) was used to establish dotnet/main as an ancestor so GitHub can merge cleanly. The tree content is 100% from the 3.13.3 branch (plus Arcade scaffolding restored from latest dotnet/main).

Validation

  • linux-x64 build from source + pack succeeded (0 errors)
  • Package: runtime.linux-x64.Microsoft.NETCore.Runtime.Wasm.Python.Transport.11.0.0-alpha.1.26253.2.nupkg (30M)

Note

Emsdk does NOT consume a Linux Python transport package (uses system python3). Python transport packages are only for macOS and Windows.

Miss Islington (bot) and others added 30 commits February 21, 2025 00:22
…nGH-129476) (python#130405)

pythongh-129363: Change regrtest sequential mode output (pythonGH-129476)

First, write the test name without color. Then, write the test name
and the result with color. Each test is displayed twice.
(cherry picked from commit f1b81c4)

Co-authored-by: Victor Stinner <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
…python#130414)

pythongh-126332: Add tests for _pyrepl.utils (pythonGH-129325)
(cherry picked from commit 0c4248f)

Co-authored-by: Pieter Eendebak <[email protected]>
…ython#130367)

Co-authored-by: Adam Turner <[email protected]>
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
…pythonGH-128450) (python#130434)

pythongh-128446: Skip Windows CI for Unix build system changes (pythonGH-128450)
(cherry picked from commit b05fa90)

Authored-by: Adam Turner <[email protected]>
Co-authored-by: Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్  రెడ్డి) <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
…onGH-130165) (python#130437)

pythongh-130159: Fix list indentation in collections.abc (pythonGH-130165)
(cherry picked from commit 8e96adf)

Co-authored-by: Adam Turner <[email protected]>
…h universal SDK. (pythonGH-130389) (python#130449)

Document the architectures supported by macOS universal SDK configuration flags,
and add details on wheel tag naming.
(cherry picked from commit 474c388)

Co-authored-by: Russell Keith-Magee <[email protected]>
…30457) (python#130458)

Add measuring unit to `sys.getswitchinterval` docs (pythonGH-130457)
(cherry picked from commit 89d8b2d)

Co-authored-by: sobolevn <[email protected]>
…`:async:` (pythonGH-130448) (python#130465)

(cherry picked from commit 5ec4bf8)

Co-authored-by: sobolevn <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
…hen there is an assignment in the class body. (pythonGH-130460) (python#130462)

Add test checking value of a TypedDict's __total__ attribute when there is an assignment in the class body. (pythonGH-130460)

In relation to pythonGH-109544 which changed this behavior.
(cherry picked from commit d8ce092)

Signed-off-by: Daniel Sperber <[email protected]>
Co-authored-by: Daraan <[email protected]>
…`__annotations__` and `__type_params__` in free-threading build (pythonGH-129016) (python#129729)

* pythongh-128714: Fix function object races in `__annotate__`, `__annotations__` and `__type_params__` in  free-threading build (python#129016)

(cherry picked from commit 55f17b7)

---------

Co-authored-by: Hugo van Kemenade <[email protected]>
…`idle` CLI (pythonGH-130278) (python#130494)

pythongh-130160: use `.. program::` directive for documenting `idle` CLI (pythonGH-130278)

---------




(cherry picked from commit 0ff1611)

Co-authored-by: Kanishk Pachauri <[email protected]>
…st. (pythonGH-127850) (python#130392)

(cherry picked from commit 5d66c55)

Co-authored-by: UV <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
…gest}` (pythonGH-130152) (python#130491)

pythongh-130151: Fix reference leaks in `_hashlib.hmac_{new,digest}` (pythonGH-130152)

* fix leak in `_hashlib.hmac_new`
* fix leak in `hmac_digest`
* fix exception type in `_hashlib.HMAC.copy`
(cherry picked from commit 0718201)

Co-authored-by: Bénédikt Tran <[email protected]>
…ts should follow a specific protocol (pythonGH-127525) (pythonGH-130504)

(cherry picked from commit 39ba4b6)

Co-authored-by: Bénédikt Tran <[email protected]>
…ult, and add test (pythonGH-129406) (pythonGH-130507)

(cherry picked from commit fc8d2cb)

Co-authored-by: Petr Viktorin <[email protected]>
pythonGH-130335) (pythonGH-130511)

* Clarify sys.getdefaultencoding() documentation

* Add missing documentation for PyUnicode_GetDefaultEncoding,
  the C equivalent of sys.getdefaultencoding
(cherry picked from commit 9f25c1f)

Co-authored-by: RUANG (James Roy) <[email protected]>
…OS testbed (pythonGH-130388) (python#130532)

Adds error handling when there are no pre-existing test simulators.
(cherry picked from commit 99088ab)

Co-authored-by: Russell Keith-Magee <[email protected]>
…ectives in Doc/library/uuid.rst (python#130526) (python#130548)

Co-authored-by: Bénédikt Tran <[email protected]>
Fix a typo in code module test (pythonGH-130530)
(cherry picked from commit 56e337d)

Co-authored-by: Tian Gao <[email protected]>
…honGH-130503) (pythonGH-130556)

The use of PySys_GetObject() and _PySys_GetAttr(), which return a borrowed
reference, has been replaced by using one of the following functions, which
return a strong reference and distinguish a missing attribute from an error:
_PySys_GetOptionalAttr(), _PySys_GetOptionalAttrString(),
_PySys_GetRequiredAttr(), and _PySys_GetRequiredAttrString().
(cherry picked from commit 0ef4ffe)
…H-130172) (pythonGH-130543)

These references to an `__iter__` method mean `object.__iter__`, not `iterator.__iter__`.
(cherry picked from commit 4d3a7ea)

Co-authored-by: Yuki Kobayashi <[email protected]>
Miss Islington (bot) and others added 10 commits April 8, 2025 10:45
…honGH-116519) (python#131676)

pythongh-115684: Clarify datetime `replace` documentation (pythonGH-116519)

* Clarify datetime `replace` documentation

In pythonGH-115684, HopedForLuck noted that `datetime.date.replace()`
documentation was confusing because it looked like it would be changing
immutable objects.

This documentation change specifies that the `replace()` methods in
`datetime` return new objects. This uses similar wording to the
documentation for `datetime.combine()`, which specifies that a new
datetime is returned. This is also similar to wording for
`string.replace()`, except `string.replace()` emphasizes that a "copy"
is returned.

Resolves pythonGH-115684.

* Include reviewer comments

Thanks Privat33r-dev for the comments!

---------
(cherry picked from commit d2d8862)

Co-authored-by: David Lowry-Duda <[email protected]>
Co-authored-by: Paul Ganssle <[email protected]>
…preters.run_string` (pythonGH-132175) (python#132209)

pythongh-132174: Fix function name in error message of `_interpreters.run_string` (pythonGH-132175)
(cherry picked from commit f2daa96)

Co-authored-by: sobolevn <[email protected]>
Co-authored-by: Brian Schubert <[email protected]>
… types (pythonGH-132048) (python#132255)

pythongh-132021: Add bool type to the list of allowed JSON key types (pythonGH-132048)
(cherry picked from commit 403886c)

Co-authored-by: Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్  రెడ్డి) <[email protected]>
Co-authored-by: Eric V. Smith <[email protected]>
…tional-only args without defaults (pythonGH-130192) (pythonGH-130271)

Follow-up to 9c15202.
(cherry picked from commit dab456d)

Co-authored-by: Jacob Walls <[email protected]>
…est_importlib (pythonGH-129052) (python#129123)

(cherry picked from commit f7cc7d2)

Co-authored-by: Serhiy Storchaka <[email protected]>
…method descriptor in a specialized code path (pythonGH-132000) (python#132262)

(cherry picked from commit ac3c439)

Co-authored-by: Peter Bierma <[email protected]>
Co-authored-by: sobolevn <[email protected]>
Co-authored-by: Victor Stinner <[email protected]>
Co-authored-by: Mark Shannon <[email protected]>
Pavel Savara added 2 commits May 3, 2026 22:41
Scope: Lib/test/, Lib/idlelib/idle_test/, Doc/, Misc/NEWS.d/,
       Tools/buildbot/, Tools/msi/, Modules/_test* test extension modules
Reason: not consumed by linux-x64 .NET workload artefacts.
- Arcade infrastructure (eng/common/, global.json, NuGet.config, build.sh/cmd)
- PythonHexVersion = 0x030D03F0, PythonMajorVersion = 3.13
- cgmanifest.json commitHash → ac3d5ea (v3.13.3)
- eng/launchscript.sh shebang → [email protected]
- PCbuild patches not applied: all superseded by upstream v3.13.3
@pavelsavara
pavelsavara force-pushed the bump-python-3.13.3 branch from 08f98ac to 024e29f Compare May 4, 2026 19:32
@pavelsavara pavelsavara changed the title Bump dotnet/cpython to Python 3.13.3 [wasm] Bump CPython to v3.13.3 for Emsdk 5.0.6 May 4, 2026
@pavelsavara
pavelsavara requested a review from akoeplinger May 4, 2026 20:21
@pavelsavara
pavelsavara marked this pull request as ready for review May 7, 2026 13:18
@akoeplinger
akoeplinger merged commit 6bf227b into dotnet:dotnet/main Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.