Emma Smith
acc20a83f4
gh-134262: Catch both URLError and ConnectionError in retries ( #135365 )
2025-06-17 14:51:23 +03:00
Michał Górny
0d582def34
gh-134632: Fix build-details.json
to use INCLUDEPY
path ( #134633 )
...
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / Cross build Linux (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run
mypy / Run mypy on Lib/_pyrepl (push) Waiting to run
mypy / Run mypy on Lib/test/libregrtest (push) Waiting to run
mypy / Run mypy on Lib/tomllib (push) Waiting to run
mypy / Run mypy on Tools/build (push) Waiting to run
mypy / Run mypy on Tools/cases_generator (push) Waiting to run
mypy / Run mypy on Tools/clinic (push) Waiting to run
mypy / Run mypy on Tools/jit (push) Waiting to run
mypy / Run mypy on Tools/peg_generator (push) Waiting to run
* gh-134632: Fix `build-details.json` to use `INCLUDEPY` path
Fix ``build-details.json`` generation to use ``INCLUDEPY``, in order to
reference the ``pythonX.Y`` subdirectory of the include directory, as
required in :pep:`739`, instead of the top-level include directory.
* test_build_details: Add tests for the c_api section
* test_build_details: Expect pkgconfig for CPython unconditionally
2025-06-17 08:05:04 +00:00
Emma Smith
e64395e8eb
gh-134262: Fix off by one errors in download retry functions (GH-134867)
2025-05-28 18:15:39 -05:00
Emma Smith
3f9eb55e09
gh-134262: increase retries in Tools/build/generate_sbom.py
( #134558 )
2025-05-27 19:02:17 +03:00
Michał Górny
d706eb9e0f
gh-134455: Fix build-details.json
to use the `c_api.headers
` key ( #134456 )
...
Fix `build-details.json` generation to use the correct `c_api.headers`
key as defined in PEP 739, instead of `c_api.include`.
Co-authored-by: Filipe Laíns 🇵🇸 <lains@riseup.net>
2025-05-22 11:28:35 +00:00
Emma Smith
0c5a8b0b55
gh-134262: Add retries to generate_sbom.py ( #134263 )
...
Co-authored-by: Semyon Moroz <donbarbos@proton.me>
2025-05-21 16:14:36 +03:00
Hugo van Kemenade
319acf3d6c
gh-133410: Fix PR detection in build workflow ( #133671 )
2025-05-15 16:10:56 +03:00
sobolevn
7eaa097390
gh-133403: Check Tools/build/deepfreeze.py
with mypy ( #133802 )
2025-05-15 12:13:03 +03:00
sobolevn
cd2f234ad2
gh-133403: Check Tools/build/generate-build-details.py
with mypy ( #133735 )
2025-05-09 17:21:49 +03:00
Flosckow
5f3d3f2a6c
gh-133403: Check Tools/build/verify_ensurepip_wheels.py
with mypy ( #133453 )
...
Co-authored-by: Daniil Dumchenko <dumchenko.de@sibvaleo.com>
Co-authored-by: sobolevn <mail@sobolevn.me>
2025-05-08 17:53:47 +00:00
Serhiy Storchaka
dcf93c4c93
gh-133595: Clean up sqlite3.Connection APIs (GH-133605)
...
* All parameters of sqlite3.connect() except "database" are now keyword-only.
* The first three parameters of methods create_function() and
create_aggregate() are now positional-only.
* The first parameter of methods set_authorizer(), set_progress_handler()
and set_trace_callback() is now positional-only.
2025-05-08 15:42:00 +03:00
Zachary Ware
74e2acddf6
Test fixes for 3.15 (GH-133599)
...
Followup to 942673ed19
(GH-133588)
* Update configure for Python 3.15
* Update magic number for 3.15
* Remove deprecated 'check_home' argument from sysconfig.is_python_build
* Add warningignore entries for Modules/_sqlite/clinic/connection.c.h
* Work around c-analyzer complaints about _testclinic deprecation tests
---------
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-05-07 14:50:39 -05:00
sobolevn
50b52cba2d
gh-133403: Type Tools/build/update_file.py
and check it with mypy
( #133404 )
2025-05-07 22:11:04 +03:00
Adam Turner
d530e74e44
GH-133410: Use commit hashes for change detection (gh-133416)
2025-05-05 10:49:12 +02:00
Adam Turner
3f80165a26
GH-91048: Minor fixes for `_remotedebugging
& rename to
_remote_debugging
` ( #133398 )
2025-05-05 02:30:14 +02:00
Pablo Galindo Salgado
2bc8365231
GH-91048: Add utils for printing the call stack for asyncio tasks ( #133284 )
2025-05-04 00:51:57 +00:00
Adam Turner
49ea8a0b2d
Lint: Use Ruff to format `Tools/build/check_warnings.py
` ( #133317 )
2025-05-02 21:26:32 +01:00
Łukasz Langa
fac41f56d4
gh-131507: Add support for syntax highlighting in PyREPL (GH-133247)
...
Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-05-02 20:22:31 +02:00
Adam Turner
fe3c7e10d9
Lint: Create a project-wide `.ruff.toml
` settings file ( #133124 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2025-05-01 08:28:44 +00:00
Lysandros Nikolaou
60202609a2
gh-132661: Implement PEP 750 ( #132662 )
...
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Wingy <git@wingysam.xyz>
Co-authored-by: Koudai Aono <koxudaxi@gmail.com>
Co-authored-by: Dave Peck <davepeck@gmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Paul Everitt <pauleveritt@me.com>
Co-authored-by: sobolevn <mail@sobolevn.me>
2025-04-30 11:46:41 +02:00
Eric Snow
9be3645688
gh-132777: Fix Error Message for Duplicates in generate_global_scripts.py (gh-132780)
...
The fstring would actually raise a KeyError, which we fix. We also adjust the text to be correct.
2025-04-21 16:58:10 +00:00
Bénédikt Tran
5d8e432d9f
gh-132390: Apply Ruff linting to Tools/build
( #132391 )
...
---------
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-04-20 11:21:41 +02:00
Adam Turner
7d9442f0d5
gh-128446: Run Windows CI tests on each commit ( #131702 )
2025-03-25 09:06:15 +02:00
Petr Viktorin
4bced29a74
gh-130587: Add hand-written docs for non-OP tokens (GH-130588)
...
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>
2025-03-19 16:42:11 +01:00
Petr Viktorin
51d309988b
gh-131261: expat/refresh.sh: Expand list of manual steps (GH-131359)
2025-03-18 13:17:43 +01:00
Gregory P. Smith
bb0268f60d
gh-131261: Update libexpat to 2.7.0 (CVE-2024-8176) ( #131272 )
2025-03-17 14:55:02 +01:00
Mark Shannon
a1aeec61c4
GH-131238: Core header refactor (GH-131250)
...
* Moves most structs in pycore_ header files into pycore_structs.h and pycore_runtime_structs.h
* Removes many cross-header dependencies
2025-03-17 09:19:04 +00:00
Victor Stinner
85cabed260
gh-131152: Remove unused imports from Tools/{build,wasm}
( #131155 )
2025-03-13 10:58:28 +01:00
Tomasz Pytel
aeb2327386
gh-130574: renumber RESUME opcode from 149 to 128 (GH-130685)
2025-03-06 08:59:36 +00:00
Filipe Laíns 🇵🇸
1eb3ade6e5
GH-107956: install build-details.json (PEP 739) ( #130069 )
2025-02-13 13:58:00 +00:00
Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి)
b05fa90b21
gh-128446: Skip Windows CI for Unix build system changes ( #128450 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
Authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-02-12 01:53:29 +00:00
sobolevn
8b2fb62933
gh-129707: Check Tools/build/compute-changes.py
with mypy
( #129708 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-02-06 15:47:29 +00:00
Adam Turner
7d9a22f509
Convert change detection to a Python script ( #129627 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
2025-02-05 16:39:42 +00:00
sobolevn
cc4f0a2770
Replace strict_concatenate = True
with extra_checks = True
( #126391 )
2025-01-25 12:44:23 +03:00
Erlend E. Aasland
8abd6cef68
gh-115765: Upgrade to GNU Autoconf 2.72 ( #128411 )
2025-01-03 11:37:54 +00:00
Илья Любавский
dd3a87d2a8
gh-127303: Add docs for token.EXACT_TOKEN_TYPES ( #127304 )
...
---------
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>
2024-11-29 04:00:50 -05:00
Filipe Laíns 🇵🇸
a264637654
GH-89435: os.path should not be a frozen module ( #126924 )
2024-11-22 18:50:30 +00:00
Hood Chatham
142104ce78
gh-89640: Pull in update to float word order detection in autoconf-archive ( #126747 )
2024-11-13 21:57:33 +01:00
Seth Michael Larson
3c99969094
gh-126623: Update libexpat to 2.6.4, make future updates easier (GH-126792)
...
Update libexpat to 2.6.4, make future updates easier.
2024-11-13 18:31:20 +00:00
Erlend E. Aasland
26d627779f
gh-89640: properly detect float word ordering on Linux ( #125571 )
...
autoconf-archive patch by Dan Amelang.
2024-10-26 15:46:46 +00:00
Adam Turner
f36d37bbaf
gh-125741: Update build.yml
for the new check_autoconf_regen job ( #125772 )
2024-10-21 11:54:54 +01:00
Donghee Na
08f6bf7171
gh-124612: Update autoconf container image ( #125320 )
2024-10-12 00:27:26 +09:00
Donghee Na
b502573f7f
gh-124612: Use ghcr.io/python/autoconf instead of public image ( #124657 )
...
* gh-124612: Use ghcr.io/python/autoconf instead of public image
* Update
2024-10-09 09:33:18 +09:00
Jelle Zijlstra
25189188bf
generate_global_objects.py: Fix name of macro in error message ( #124464 )
...
_PyID does not exist but _Py_ID does.
2024-09-26 21:37:21 -07:00
Hugo van Kemenade
e256a7590a
Lint and format Tools/build/check-warnings.py ( #124382 )
2024-09-24 02:47:05 +03:00
Nate Ohlson
81480e6edb
gh-124190: Ignore files directories check warning tooling ( #124193 )
...
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
2024-09-18 10:49:43 +03:00
Nate Ohlson
29a1a6e3ed
gh-124191: Disable -Wconversion in enable safety (gh-124192)
2024-09-18 12:55:09 +09:00
Victor Stinner
3aff1d0260
gh-124064: Fix -Wconversion warnings in Parser/pegen.c ( #124181 )
2024-09-17 15:58:43 +00:00
Victor Stinner
ec08aa1fe4
gh-124064: Fix -Wconversion warnings in pycore_{long,object}.h ( #124177 )
...
Change also the fix for pycore_gc.h and pycore_stackref.h:
declare constants as uintptr_t, rather than casting constants.
2024-09-17 15:35:40 +00:00
Victor Stinner
98f93a32f3
gh-124064: Fix -Wconversion warnings in pycore_{gc,list,stackref}.h ( #124174 )
2024-09-17 14:43:39 +00:00