summaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* [3.13] gh-133410: Fix PR detection in build workflow (GH-133671) (#134054)Miss Islington (bot)2025-05-151-1/+1
| | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* [3.13] gh-133403: Check `Tools/build/deepfreeze.py` with mypy (GH-133802) ↵sobolevn2025-05-153-26/+43
| | | | | (#134040) (cherry picked from commit 7eaa09739059aaac4812395f8d6bb586af8eadcc)
* [3.13] gh-133412: amend docs for the `inst` definition (GH-133708) (#133730)Miss Islington (bot)2025-05-091-1/+1
| | | | | | | | gh-133412: amend docs for the `inst` definition (GH-133708) The `stack_effect` is incorrectly documented as being allowed to be optional. (cherry picked from commit f77dac66e1867cfdf6f7549822dd64416f6063bc) Co-authored-by: Nybblista <170842536+nybblista@users.noreply.github.com>
* gh-133626: Ensure the traditional Windows installer doesn't accidentally ↵Steve Dower2025-05-081-2/+1
| | | | pick up site-packages (GH-133693)
* [3.13] gh-133403: Check `Tools/build/verify_ensurepip_wheels.py` with mypy ↵Miss Islington (bot)2025-05-082-2/+8
| | | | | | | | | | (GH-133453) (#133690) gh-133403: Check `Tools/build/verify_ensurepip_wheels.py` with mypy (GH-133453) (cherry picked from commit 5f3d3f2a6c8ddf7a6be340c3f4c696e2a5eb51f0) Co-authored-by: Flosckow <66554425+Flosckow@users.noreply.github.com> Co-authored-by: Daniil Dumchenko <dumchenko.de@sibvaleo.com> Co-authored-by: sobolevn <mail@sobolevn.me>
* [3.13] gh-133403: Type `Tools/build/update_file.py` and check it with `mypy` ↵sobolevn2025-05-082-4/+28
| | | | | (GH-133404) (#133637) (cherry picked from commit 50b52cba2d13a1854bc835412ac3f3c0ad42b5ba)
* [3.13] gh-132921: Fix setuptools._distutils.dep_util deprecation (#133522)Victor Stinner2025-05-061-1/+4
| | | | | | gh-132921: Fix setuptools._distutils.dep_util deprecation Get newer_group from setuptools.modified on recent setuptools versions, but keep support for old setuptools versions.
* [3.13] GH-133410: Use commit hashes for change detection (gh-133416) (#133427)Miss Islington (bot)2025-05-051-13/+11
| | | | | | GH-133410: Use commit hashes for change detection (gh-133416) (cherry picked from commit d530e74e444fc483f6d2077f701160e55d3003d8) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.13] Bump mypy to 1.15 (GH-133405) (#133429)Miss Islington (bot)2025-05-051-1/+1
| | | | | | Bump mypy to 1.15 (GH-133405) (cherry picked from commit 8467026ed66ca3abefe3a13860d2633eae3d7164) Co-authored-by: sobolevn <mail@sobolevn.me>
* [3.13] Revert "[3.13] gh-132921: Fix setuptools._distutils.dep_util ↵Victor Stinner2025-04-261-1/+1
| | | | | | | | | | deprecation (GH-132923) (#132926)" (#133004) Revert "[3.13] gh-132921: Fix setuptools._distutils.dep_util deprecation (GH-132923) (#132926)" This reverts commit 3776ade2e86010d638c538c5d3f225887d714478. setuptools.modified module is not available on old setuptools versions.
* [3.13] gh-132921: Fix setuptools._distutils.dep_util deprecation (GH-132923) ↵Miss Islington (bot)2025-04-251-1/+1
| | | | | | | | | | | (#132926) gh-132921: Fix setuptools._distutils.dep_util deprecation (GH-132923) Replace setuptools._distutils.dep_util with setuptools.modified in peg_generator compile_c_extension(). (cherry picked from commit 1a70f66ea856de1b1b0ca47baf9ee8ba6799ae18) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.13] Update `pre-commit` repos (GH-132792) (#132804)sobolevn2025-04-221-3/+3
| | | (cherry picked from commit 87b1ea016b1454b1e83b9113fa9435849b7743aa)
* [3.13] gh-132753: Argument Clinic: Fix support of c_default for the bool ↵Serhiy Storchaka2025-04-211-1/+2
| | | | | converter (GH-132754) (GH-132766) (cherry picked from commit 78cfee6f0920ac914ed179c013f61c53ede16fa9)
* [3.13] gh-130834: Fix free-threaded build with JIT for aarch64 linux (#132368)Donghee Na2025-04-111-1/+6
| | | | | * [3.13] gh-130834: Fix free-threaded build with JIT for arm * lint
* [3.13] GH-130673: Gracefully handle missing sections in JIT build (GH-131749)Miss Islington (bot)2025-04-082-1/+6
| | | | | (cherry picked from commit a26a301f8b09c1825b288fc8649f8174576361f4) Co-authored-by: Bojun Ren <bj.ren.coding@outlook.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* [3.13] gh-131852: Filter out POT-Creation-Date in msgfmt (GH-131880) (GH-132217)Miss Islington (bot)2025-04-071-2/+7
| | | | | | (cherry picked from commit ad6a032cebf59d1668caa7e726aa5da72e1cbb5c) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
* [3.13] gh-130197: pygettext: Test the --escape option (GH-131902) (GH-132032)Tomas R.2025-04-021-1/+1
| | | (cherry picked from commit 87d9983994e9a423e9e0050b1bbee52ebaf84367)
* [3.13] gh-128446: Run Windows CI tests on each commit (GH-131702) (#131705)Miss Islington (bot)2025-03-281-1/+1
| | | | | | gh-128446: Run Windows CI tests on each commit (GH-131702) (cherry picked from commit 7d9442f0d55a7169940b9371d6e58a7c2ec1fa8a) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.13] gh-130587: Add hand-written docs for non-OP tokens (GH-130588) ↵Petr Viktorin2025-03-241-13/+48
| | | | | | | (GH-131465) Co-authored-by: Blaise Pabon <blaise@gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
* [3.13] gh-85012: Properly reset msgctxt when compiling messages with msgfmt ↵Serhiy Storchaka2025-03-131-0/+1
| | | | | | | | (GH-130525) (GH-131205) Add also human-readable snapshots for tests. (cherry picked from commit 7ea6e88eb490635518c63c3305c03baf3e151555) Co-authored-by: Tomas R <tomas.roun8@gmail.com>
* [3.13] gh-124878: Add temporary TSAN suppression for free_threadstate ↵Sam Gross2025-02-282-1/+5
| | | | | | | | (gh-130602) (gh-130687) The race condition with `free_threadstate` and daemon threads exists in both the free threading and default builds. We were missing a suppression in the default build. (cherry picked from commit cc17307faaa248535c65f6a7668e06dc8ef04575)
* [3.13] gh-117657: Enable test_opcache under TSAN (GH-129831) (GH-130597)Sam Gross2025-02-261-0/+3
| | | | | | | | | | Fix a few thread-safety bugs to enable test_opcache when run with TSAN: * Use relaxed atomics when clearing `ht->_spec_cache.getitem` (gh-115999) * Add temporary suppression for type slot modifications (gh-127266) * Use atomic load when reading `*dictptr` (cherry picked from commit f151d271591ec525eaf01fa7b128e575374888b9)
* [3.13] gh-128446: Skip Windows CI for Unix build system changes (GH-128450) ↵Miss Islington (bot)2025-02-221-0/+25
| | | | | | | | | | (#130434) gh-128446: Skip Windows CI for Unix build system changes (GH-128450) (cherry picked from commit b05fa90b21dd01bb836285cdd41920320b09e681) Authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com> Co-authored-by: Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి) <thatiparthysreenivas@gmail.com> Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
* [3.13] Convert change detection to a Python script (GH-129627) (#130367)Hugo van Kemenade2025-02-221-0/+183
| | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
* [3.13] gh-129805: Fix `bytes` annotation in `Tools/jit` (GH-129806) (#130216)sobolevn2025-02-171-4/+13
| | | (cherry picked from commit 422f8e9e02e68d45aee3846751a003a70fca13b6)
* [3.13] Merge TSAN test matrices in CI (#123278) (#129673)🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко)2025-02-061-0/+0
|
* [3.13] gh-129438: Update ``--enable-experimental-jit`` section with install ↵Miss Islington (bot)2025-01-301-1/+3
| | | | | | | | | | | | requirements (GH-129450) (#129472) gh-129438: Update ``--enable-experimental-jit`` section with install requirements (GH-129450) Add a note to the `JIT` docs that building CPython with `JIT` requires Python 3.11 or newer. (cherry picked from commit 652f66ac386dad5992c6f7c494871907272503f8) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
* [3.13] Replace `strict_concatenate = True` with `extra_checks = True` ↵Miss Islington (bot)2025-01-253-3/+3
| | | | | | | | (GH-126391) (#129286) Replace `strict_concatenate = True` with `extra_checks = True` (GH-126391) (cherry picked from commit cc4f0a27704ba1401bd66931f5234be9c6b92ba5) Co-authored-by: sobolevn <mail@sobolevn.me>
* [3.13] gh-109413: Add more type hints to `libregrtest` (GH-126352) (#126388)Miss Islington (bot)2025-01-081-1/+1
| | | | | | gh-109413: Add more type hints to `libregrtest` (GH-126352) (cherry picked from commit bfc1d2504c183a9464e65c290e48516d176ea41f) Co-authored-by: sobolevn <mail@sobolevn.me>
* [3.13] gh-128152: Argument Clinic: ignore pre-processor directives inside C ↵Miss Islington (bot)2025-01-041-0/+3
| | | | | | | comments (GH-128464) (#128478) (cherry picked from commit a4e773c540cfd3a9c2bb3b5033d2f79ef50962c8) Co-authored-by: Erlend E. Aasland <erlend@python.org>
* [3.13] gh-128083: Fix macro redefinition warning in clinic. (GH-127950) ↵Peter Bierma2024-12-191-0/+3
| | | | | | | (#128102) (cherry picked from commit b5d1e4552f0ba40d8380368e1b099261686a89cf) Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
* [3.13] gh-122907: Fix Builds Without HAVE_DYNAMIC_LOADING Set (gh-122952) ↵Miss Islington (bot)2024-12-031-0/+9
| | | | | | | | | | | (#122984) gh-122907: Fix Builds Without HAVE_DYNAMIC_LOADING Set (gh-122952) As of 529a160 (gh-118204), building with HAVE_DYNAMIC_LOADING stopped working. This is a minimal fix just to get builds working again. There are actually a number of long-standing deficiencies with HAVE_DYNAMIC_LOADING builds that need to be resolved separately. (cherry picked from commit ee1b8ce26e700350e47a5f65201097121c41912e) Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
* [3.13] gh-127341: Argument Clinic: fix compiler warnings for getters with ↵Peter Bierma2024-11-301-7/+3
| | | | | | | docstrings (GH-127310) (#127431) (cherry picked from commit 99490913a08adcf2fe5e69b82772a829ec462275) Co-authored-by: Erlend E. Aasland <erlend@python.org>
* [3.13] summarize: Fix typo in stats (GH-127450) (#127454)Miss Islington (bot)2024-11-301-1/+1
| | | | Co-authored-by: alm <alonme@users.noreply.github.com>
* [3.13] gh-127303: Add docs for token.EXACT_TOKEN_TYPES (GH-127304) (#127390)Miss Islington (bot)2024-11-301-1/+2
| | | | | | | | | | | | gh-127303: Add docs for token.EXACT_TOKEN_TYPES (GH-127304) --------- (cherry picked from commit dd3a87d2a8f8750978359a99de2c5cb2168351d1) Co-authored-by: Илья Любавский <100635212+lubaskinc0de@users.noreply.github.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Tomas R. <tomas.roun8@gmail.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* [3.13] gh-126316: Make grp.getgrall() thread-safe: add a mutex (#127055) ↵Victor Stinner2024-11-261-0/+1
| | | | | | | | | | | | | | | | (#127104) * gh-126316: Make grp.getgrall() thread-safe: add a mutex (#127055) grpmodule.c is no longer built with the limited C API, since PyMutex is excluded from the limited C API. (cherry picked from commit 3c2bd66e21bd8de69a89ebf09ff9d8e78ddfb839) * Revert ABI changes Don't use Argument Clinic for grp.getgrgid() to avoid changing the ABI (change PyInterpreterState structure by adding an "id" identifier).
* gh-118973: Add _tkinter to freethreaded MSI (GH-126768)Miss Islington (bot)2024-11-151-1/+1
| | | | | (cherry picked from commit 9332a6f82506f819f591466eb03213be2c8d1808) Co-authored-by: Steve Dower <steve.dower@python.org>
* [3.13] gh-126807: pygettext: Do not attempt to extract messages from ↵Miss Islington (bot)2024-11-141-0/+6
| | | | | | | | | | | | | | | | | | function definitions. (GH-126808) (GH-126846) Fixes a bug where pygettext would attempt to extract a message from a code like this: def _(x): pass This is because pygettext only looks at one token at a time and '_(x)' looks like a function call. However, since 'x' is not a string literal, it would erroneously issue a warning. (cherry picked from commit 9a456383bed52010b90bd491277ea855626a7bba) Co-authored-by: Tomas R <tomas.roun8@gmail.com>
* [3.13] gh-126623: Update libexpat to 2.6.4, make future updates easier ↵Miss Islington (bot)2024-11-131-0/+28
| | | | | | | | | | (GH-126792) (GH-126796) gh-126623: Update libexpat to 2.6.4, make future updates easier (GH-126792) Update libexpat to 2.6.4, make future updates easier. (cherry picked from commit 3c9996909402fadc98e6ca2a64e75a71a7427352) Co-authored-by: Seth Michael Larson <seth@python.org>
* [3.13] gh-126525: Fix `makeunicodedata.py` output on macOS and Windows ↵Miss Islington (bot)2024-11-121-1/+1
| | | | | | | | (GH-126526) (#126725) gh-126525: Fix `makeunicodedata.py` output on macOS and Windows (GH-126526) (cherry picked from commit f223efb2a2d6a3e86556be7295cbbd3ef839f489) Co-authored-by: sobolevn <mail@sobolevn.me>
* gh-126497: Add missing venv redirectors to freethreaded installer (GH-126556)Miss Islington (bot)2024-11-081-4/+6
| | | | | (cherry picked from commit fd5580cd151e07c690e9d7594513be5fa3102a2e) Co-authored-by: Steve Dower <steve.dower@python.org>
* [3.13] GH-123877: make `wasm32-wasip1` the target triple for WASI (#126561)Brett Cannon2024-11-081-1/+1
|
* [3.13] gh-89640: harden float word ordering (#125571 and #126387) (#126429)Erlend E. Aasland2024-11-051-1/+1
| | | | | | | | | | | Properly detect float word ordering on Linux (gh-125571) autoconf-archive patch by Dan Amelang. (cherry picked from commit 26d627779f79d8d5650fe7be348432eccc28f8f9) Hardcode WASM float word ordering to little endian (gh-126387) (cherry picked from commit 532fc08102d62c04d55f5b8aac00bd9e7e12ff4b)
* [3.13] gh-124612: Use ghcr.io/python/autoconf instead of public image ↵Miss Islington (bot)2024-10-301-4/+2
| | | | | | | (GH-124657) (#126183) (cherry picked from commit b502573f7f800dbb2e401fa2a7a05eceac692c7a) Co-authored-by: Donghee Na <donghee.na@python.org>
* [3.13] gh-125741: Update `build.yml` for the new check_autoconf_regen job ↵Miss Islington (bot)2024-10-211-1/+1
| | | | | | | (GH-125772) (#125779) (cherry picked from commit f36d37bbafcee711c765a8cda9ac3ca00b8258c8) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.13] CI: Bump Python to 3.13 and mypy to 1.12 in mypy workflow (GH-… ↵Kirill Podoprigora2024-10-161-1/+1
| | | | | | | (#125596) [3.13] CI: Bump Python to 3.13 and mypy to 1.12 in mypy workflow (GH-125592) (cherry picked from commit d83fcf8371f2f33c7797bc8f5423a8bca8c46e5c)
* [3.13] GH-121634: have `wasi.py` accept the host target triple as an ↵Miss Islington (bot)2024-10-101-6/+12
| | | | | | | | argument (GH-123030) (GH-123042) GH-121634: have `wasi.py` accept the host target triple as an argument (GH-123030) (cherry picked from commit b15b81ed4f58196b35e3dd13b484f4c7a73e5bb8) Co-authored-by: Brett Cannon <brett@python.org>
* [3.13] Fix typos (#123775) (#123866)Victor Stinner2024-10-071-1/+1
| | | | | | | Fix typos (#123775) (cherry picked from commit 9017b95ff2dcff16bcb0b0a609ed2b0daa845943) Co-authored-by: algonell <algonell@gmail.com>
* [3.13] gh-123915: Ensure that Windows AMD64 and ARM64 release builds use ↵Miss Islington (bot)2024-09-301-1/+1
| | | | | | | | different directories (GH-123918) (#123921) gh-123915: Ensure that Windows AMD64 and ARM64 release builds use different directories (GH-123918) (cherry picked from commit 00ffdf27367fb9aef247644a96f1a9ffb5be1efe) Co-authored-by: adang1345 <adang1345@gmail.com>
* [3.13] gh-123892: Add "_wmi" to sys.stdlib_module_names (GH-123893) (#123896)Miss Islington (bot)2024-09-301-0/+1
| | | | | | gh-123892: Add "_wmi" to sys.stdlib_module_names (GH-123893) (cherry picked from commit fb1b51a58df4315f7ef3171a5abeb74f132b0971) Co-authored-by: Victor Stinner <vstinner@python.org>