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

Update homebrew formula to depend on [email protected] #45

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

edmorley
Copy link
Contributor

@edmorley edmorley commented Sep 8, 2024

Since [email protected] is now the default when the formula aliases python or python3 are used:
https://formulae.brew.sh/formula/[email protected]

As such, many other formulae are already using [email protected], so updating to it for this project reduces the chance users will end up having to have two different Python versions installed.

Given that now:

  1. crosstool-ng has already updated it's own depends_on to [email protected]: https://github.com/Homebrew/homebrew-core/blob/46db7ec181fbe0857089cadaff91ab1373577bdb/Formula/c/crosstool-ng.rb#L36
  2. The Python command alias has been set to python3 via CT_GDB_CROSS_PYTHON_BINARY in the various .configs: https://github.com/search?q=repo%3Amessense%2Fhomebrew-macos-cross-toolchains%20CT_GDB_CROSS_PYTHON_BINARY&type=code

...I'm hopeful this should be more successful than when I attempted a Python version bump to 3.11 in #20 :-)

Since `[email protected]` is now the default when the formula aliases
`python` or `python3` are used:
https://formulae.brew.sh/formula/[email protected]

As such, many other formulae are already using `[email protected]`,
so updating to it for this project reduces the chance users will
end up having to have two different Python versions installed.

Given that now:
1. `crosstool-ng` has already updated it's own `depends_on`
   to `[email protected]`
2. The Python command alias here has been set to `python3`
   via `CT_GDB_CROSS_PYTHON_BINARY` in the various `.config`s

...I'm hopeful this should be more successful than when I attempted
a Python version bump to 3.11 in messense#20 :-)
@messense messense changed the base branch from main to build/linux-kernel-5.10 September 12, 2024 12:34
@messense messense merged commit 111c174 into messense:build/linux-kernel-5.10 Sep 12, 2024
1 check passed
@edmorley edmorley deleted the python-3.12 branch September 12, 2024 12:54
@edmorley
Copy link
Contributor Author

Thank you!

@messense
Copy link
Owner

FYI, this has been released in v13.3.0.

@edmorley
Copy link
Contributor Author

edmorley commented Sep 25, 2024

Thank you 😄

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.

2 participants