You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So we can either decide to deprecate it (since it's not documented nor tested actually), or we can document it and properly test it. It's easy to deprecate it but it would add some burden on downstream users, so maybe we can just test it and document it?
Cross-posting from the duplicated issue I open in GH-129075.
This function has been broken since v3.13.0a1 (see GH-128978), and nobody noticed. It was originally meant to posteriorly expand the values from sysconfig.get_paths(..., expand=False), which achieves the same as passing a custom vars argument to sysconfig.get_paths, a function that is actually tested.
This character is not needed actually (since there is no documentation, we can decide not to use :func: as well). Reopening until this has been fixed (just to remember).
changed the title [-]Deprecate or properly document and test `sysconfig.expand_makefile_vars`[/-][+]Deprecate `sysconfig.expand_makefile_vars`[/+]on Jan 20, 2025
Activity
tomasr8 commentedon Jan 20, 2025
Seems like a best-case scenario for deprecation given that the function was broken for all this time and nobody (apparently?) noticed
picnixz commentedon Jan 20, 2025
Ok, my bad but it was only broken in 3.13+. I thought it was 3.12 but I misread the change history. So 3.12 is working, but 3.13 and 3.14 are broken.
FFY00 commentedon Jan 20, 2025
Cross-posting from the duplicated issue I open in GH-129075.
pythonGH-129064: deprecate sysconfig.expand_makefile_vars
sysconfig.expand_makefile_vars#129075 as a duplicate of this issueGH-129064: deprecate sysconfig.expand_makefile_vars (#129082)
picnixz commentedon Jan 20, 2025
Considering it has been decided to be deprecated, I'm going to close this issue. Thanks for the PR by the way!
vstinner commentedon Jan 20, 2025
The documentation is not rendered properly:
I'm talking about the
~character.picnixz commentedon Jan 20, 2025
This character is not needed actually (since there is no documentation, we can decide not to use
:func:as well). Reopening until this has been fixed (just to remember).[-]Deprecate or properly document and test `sysconfig.expand_makefile_vars`[/-][+]Deprecate `sysconfig.expand_makefile_vars`[/+]pythonGH-129064: deprecate sysconfig.expand_makefile_vars (python#129082
gh-129064: Fix RST markup for the NEWS and What's New entries (#129131)