]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-136264: Fix ``--relative-paths`` for PEP 739's build-details.json (#138510)
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>
Mon, 8 Sep 2025 09:14:05 +0000 (10:14 +0100)
committerGitHub <noreply@github.com>
Mon, 8 Sep 2025 09:14:05 +0000 (10:14 +0100)
commit057ee1741015067b46446e46eab467c1fa82610d
tree0fc14d17cbac051adea06354fdaa4aabb7fb3a18
parent6401823db3fb9549352da8c1d487725828dbdeff
gh-136264: Fix ``--relative-paths`` for PEP 739's build-details.json (#138510)

* KeyError is not raised for defaultdict
* Fix relative paths on different drives on Windows
* Add a round-trip test

Co-authored-by: Itamar Oren <itamarost@gmail.com>
Lib/test/test_build_details.py
Tools/build/generate-build-details.py