Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Honor sysconfig.get_preferred_scheme when selecting install schemes. #79

Merged
merged 1 commit into from
Dec 18, 2021

Conversation

jaraco
Copy link
Member

@jaraco jaraco commented Dec 17, 2021

Fixes #76.

@jaraco jaraco changed the title Honor sysconfig.get_preferred_schemes when selecting install schemes. Honor sysconfig.get_preferred_scheme when selecting install schemes. Dec 17, 2021
@jaraco jaraco requested a review from uranusjr December 17, 2021 15:19
@jaraco
Copy link
Member Author

jaraco commented Dec 17, 2021

@Bo98 Would you take a look at this patch and possibly test it in your environment? I did find that tests failed on my macOS install before I added the osx_framework_user.headers.

@jaraco jaraco requested a review from FFY00 December 17, 2021 15:22
@@ -515,9 +520,17 @@ def finalize_other(self):
"I don't know how to install stuff on '%s'" % os.name)

def select_scheme(self, name):
os_name, sep, key = name.partition('_')
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I acknowledge this approach is a little janky. I'd prefer to change the signature to accept the key instead, but I want to maintain the existing interface in case some of the transitional implementations are overriding it.

@jaraco
Copy link
Member Author

jaraco commented Dec 18, 2021

I'd like to proceed with this change. I'll roll it out and we can iterate subsequently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Homebrew patches
1 participant