Commit 54f87b4
committed
feat: read build-details.json (PEP 739) for version detection (Fixes #449)
Python 3.14+ ships a build-details.json file in the platform-independent stdlib directory. Use it as a faster, more authoritative source than parsing patchlevel.h headers, slotting it between pyvenv.cfg and the existing header-based fallback in the version detection chain.1 parent 53a78ed commit 54f87b4
8 files changed
Lines changed: 631 additions & 1 deletion
File tree
- crates/pet-python-utils
- src
- tests
- unix/build_details
- python3.14/lib/python3.14
- python3.15a/lib/python3.15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
| |||
0 commit comments