cpython/Tools/build
Miss Islington (bot) 389450399a
[3.14] gh-136264: Fix `--relative-paths` for PEP 739's build-details.json (GH-138510) (#138638)
* gh-136264: Fix ``--relative-paths`` for PEP 739's build-details.json (GH-138510)

* KeyError is not raised for defaultdict
* Fix relative paths on different drives on Windows
* Add a round-trip test
(cherry picked from commit 057ee17410)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Itamar Oren <itamarost@gmail.com>

* Update test_build_details.py

* Update Lib/test/test_build_details.py

---------

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Itamar Oren <itamarost@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-09-09 19:15:40 +03:00
..
.ruff.toml [3.14] gh-133403: Check Tools/build/deepfreeze.py with mypy (GH-133802) (#134038) 2025-05-15 09:39:20 +00:00
.warningignore_macos gh-131261: Update libexpat to 2.7.0 (CVE-2024-8176) (#131272) 2025-03-17 14:55:02 +01:00
.warningignore_ubuntu gh-124190: Ignore files directories check warning tooling (#124193) 2024-09-18 10:49:43 +03:00
check_extension_modules.py [3.14] gh-133403: Check generate_stdlib_module_names and check_extension_modules with mypy (GH-137546) (#137679) 2025-08-13 13:42:26 +03:00
check_warnings.py [3.14] gh-133403: Run mypy on Tools/build/check_warnings.py (GH-137700) (#137763) 2025-08-27 18:37:56 +03:00
compute-changes.py [3.14] gh-133410: Fix PR detection in build workflow (GH-133671) (#134055) 2025-05-15 13:37:41 +00:00
deepfreeze.py [3.14] gh-133403: Check Tools/build/deepfreeze.py with mypy (GH-133802) (#134038) 2025-05-15 09:39:20 +00:00
freeze_modules.py gh-132390: Apply Ruff linting to Tools/build (#132391) 2025-04-20 11:21:41 +02:00
generate-build-details.py [3.14] gh-136264: Fix `--relative-paths` for PEP 739's build-details.json (GH-138510) (#138638) 2025-09-09 19:15:40 +03:00
generate_global_objects.py gh-132777: Fix Error Message for Duplicates in generate_global_scripts.py (gh-132780) 2025-04-21 16:58:10 +00:00
generate_levenshtein_examples.py gh-132390: Apply Ruff linting to Tools/build (#132391) 2025-04-20 11:21:41 +02:00
generate_re_casefix.py gh-132390: Apply Ruff linting to Tools/build (#132391) 2025-04-20 11:21:41 +02:00
generate_sbom.py [3.14] gh-134262: Catch both URLError and ConnectionError in retries (GH-135365) (#135611) 2025-06-17 12:16:17 +00:00
generate_sre_constants.py gh-132390: Apply Ruff linting to Tools/build (#132391) 2025-04-20 11:21:41 +02:00
generate_stdlib_module_names.py [3.14] gh-133403: Check generate_stdlib_module_names and check_extension_modules with mypy (GH-137546) (#137679) 2025-08-13 13:42:26 +03:00
generate_token.py gh-131507: Add support for syntax highlighting in PyREPL (GH-133247) 2025-05-02 20:22:31 +02:00
mypy.ini [3.14] gh-133403: Run mypy on Tools/build/check_warnings.py (GH-137700) (#137763) 2025-08-27 18:37:56 +03:00
parse_html5_entities.py gh-132390: Apply Ruff linting to Tools/build (#132391) 2025-04-20 11:21:41 +02:00
regen-configure.sh gh-115765: Upgrade to GNU Autoconf 2.72 (#128411) 2025-01-03 11:37:54 +00:00
smelly.py gh-132390: Apply Ruff linting to Tools/build (#132391) 2025-04-20 11:21:41 +02:00
stable_abi.py gh-132390: Apply Ruff linting to Tools/build (#132391) 2025-04-20 11:21:41 +02:00
umarshal.py [3.14] gh-133403: Check Tools/build/deepfreeze.py with mypy (GH-133802) (#134038) 2025-05-15 09:39:20 +00:00
update_file.py [3.14] gh-133403: Type Tools/build/update_file.py and check it with mypy (GH-133404) (#133603) 2025-05-08 09:32:05 +03:00
verify_ensurepip_wheels.py [3.14] gh-133403: Check Tools/build/verify_ensurepip_wheels.py with mypy (GH-133453) (#133689) 2025-05-08 18:20:13 +00:00