]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-136264: Fix ``--relative-paths`` for PEP 739's build-details.json (GH-13851...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 9 Sep 2025 16:15:40 +0000 (18:15 +0200)
committerGitHub <noreply@github.com>
Tue, 9 Sep 2025 16:15:40 +0000 (19:15 +0300)
commit389450399afacb899b511ee6fdbde06b2ec2863d
tree3f58b0c1d6993a2fe19a1bff3e302158aa095a67
parent829c81ae214d8716744e76ee931a68a7ff4b3b64
[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 057ee1741015067b46446e46eab467c1fa82610d)

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>
Lib/test/test_build_details.py
Tools/build/generate-build-details.py