Skip to content

Conversation

edmorley
Copy link
Contributor

@edmorley edmorley commented Feb 17, 2023

Since python@3.11 is now the default when the formula aliases python, python3 or python@3 are used:
https://formulae.brew.sh/formula/python@3.11

As such, many other formulae are already depending upon python@3.11, so switching to it for this project reduces the chance users will end up needing to have two different Python versions installed.

Since `python@3.11` is now the default when the formula aliases
`python` or `python3` are used:
https://formulae.brew.sh/formula/python@3.11

As such, many other formulae are already using `python@3.11`,
so updating to it for this project reduces the chance users will
end up having to have two different Python versions installed.
@messense messense merged commit 89bff5f into messense:main Feb 17, 2023
@messense
Copy link
Owner

Thanks!

@edmorley
Copy link
Contributor Author

@edmorley edmorley deleted the python-3.11 branch February 22, 2023 16:02
@messense
Copy link
Owner

Probably because some binaries actually linked to python3.10.

@messense
Copy link
Owner

Reverted in 0d8895f, looks like it still requires python3.10.

@edmorley
Copy link
Contributor Author

Thank you - sorry for the breakage. Perhaps it would be worth adjusting the CI config, so the tests run on PRs in the future?

@messense
Copy link
Owner

Perhaps it would be worth adjusting the CI config, so the tests run on PRs in the future?

Don't know how to do that, brew tag doesn't have a --branch argument...

edmorley added a commit to edmorley/homebrew-macos-cross-toolchains that referenced this pull request Sep 8, 2024
Since `python@3.12` is now the default when the formula aliases
`python` or `python3` are used:
https://formulae.brew.sh/formula/python@3.12

As such, many other formulae are already using `python@3.12`,
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 `python@3.12`
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 pushed a commit that referenced this pull request Sep 12, 2024
Since `python@3.12` is now the default when the formula aliases
`python` or `python3` are used:
https://formulae.brew.sh/formula/python@3.12

As such, many other formulae are already using `python@3.12`,
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 `python@3.12`
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 #20 :-)
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