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
{{ message }}
Repository navigation
macOS build instructions depend on Homebrew specific configuration #1059
I like this approach but, as I've just discovered, Homebrew has just changed the game again by making their tcl-tk formula no longer "keg-only". As noted here, we should re-think this a bit in that light. I'll have some more thoughts on it soon.
The devguide build instructions currently manipulates PKG_CONFIG_PATH, and then incorrectly assumes it is set in the subshells on the same line. Condense example, as shown by Ned in a related issue or PR (I don't have the link at hand):
$ PKG_CONFIG_PATH="$(brew --prefix tcl-tk)/lib/pkgconfig"echo$(pkg-config --libs tcl tk)Package tcl was not found in the pkg-config search path.Perhaps you should add the directory containing `tcl.pc'to the PKG_CONFIG_PATH environment variableNo package 'tcl' foundPackage tk was not found in the pkg-config search path.Perhaps you should add the directory containing `tk.pc'to the PKG_CONFIG_PATH environment variableNo package 'tk' found
This is not an issue right now, since Homebrew changed their behaviour (also noted by Ned). But it may be an issue if Homebrew changes their behaviour again.
As a first step, we could inline the PGK_CONFI_PATH manipulations into the subshells. Verbose, yes, but it will be correct and safe.
@abdnafees Given that and considering that the experts @ned-deily and @erlend-aasland have been taking care of this one, you might want to consider helping with a more accessible issue for a new contributor—there are plenty with a Help Wanted label, as well as others on the main CPython repo and others.
Activity
erlend-aasland commentedon Feb 27, 2023
Blocks #1058
abdnafees commentedon Mar 10, 2023
I can work on this one, I am on macOS.
CAM-Gerlach commentedon Mar 10, 2023
Seems like this is pending additional analysis by @ned-deily , so I'm not sure there's anything to be done at the moment, @abdnafees ?
erlend-aasland commentedon Mar 10, 2023
FTR, since it is not explicitly noted already:
The devguide build instructions currently manipulates
PKG_CONFIG_PATH, and then incorrectly assumes it is set in the subshells on the same line. Condense example, as shown by Ned in a related issue or PR (I don't have the link at hand):This is not an issue right now, since Homebrew changed their behaviour (also noted by Ned). But it may be an issue if Homebrew changes their behaviour again.
As a first step, we could inline the
PGK_CONFI_PATHmanipulations into the subshells. Verbose, yes, but it will be correct and safe.abdnafees commentedon Mar 12, 2023
Everything went over my head.
CAM-Gerlach commentedon Mar 13, 2023
@abdnafees Given that and considering that the experts @ned-deily and @erlend-aasland have been taking care of this one, you might want to consider helping with a more accessible issue for a new contributor—there are plenty with a Help Wanted label, as well as others on the main CPython repo and others.
abdnafees commentedon Mar 13, 2023
@CAM-Gerlach Thank you so much. I will check them out.
erlend-aasland commentedon Jun 8, 2023
As per the current recommendation, there's nothing to be done here anymore.