Whole file
pypa/distlib
The author described this change as “Fix #238: Add build tag to wheel metadata if specified.”. It counts as a record because the check below fails on the code as it stood at c6fc08e9f and passes on c768e3666, with nothing else changed between the two runs.
Projectpypa/distlib
Fix saved2025-02-08
Sharing licencePSF-2.0 · LICENSE.txt
Change size+2 −0
What the code was meant to do, written into the code itself as a save note
Fix #238: Add build tag to wheel metadata if specified.
The change
| 453 | 453 | 'Generator: distlib %s' % __version__, | |
| 454 | 454 | 'Root-Is-Purelib: %s' % is_pure, | |
| 455 | 455 | ] | |
| 456 | + | if self.buildver: | |
| 457 | + | wheel_metadata.append('Build: %s' % self.buildver) | |
| 456 | 458 | for pyver, abi, arch in self.tags: | |
| 457 | 459 | wheel_metadata.append('Tag: %s-%s-%s' % (pyver, abi, arch)) | |
| 458 | 460 | p = os.path.join(distinfo, 'WHEEL') |
The check that tells the two apart
fail→pass·tests/test_wheel.py::WheelTestCase::test_build_tags
Check file tests/test_wheel.py, taken without changes from the fix and copied onto the older code, so the exact same check runs against both versions.
Origin and history
The code before itc6fc08e9fbc81c4350ecc5c7e9729c5b2711c422
Broken version dated2024-10-28
Moduledistlib.wheel
Units changedWheel
Fingerprint231222fe6760c9ea
Checked2026-08-18 by goldset/0.1
Every field above is generated by our program. None of it is written by hand.