-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
python3: upgrade to 3.8 #54912
python3: upgrade to 3.8 #54912
Conversation
#47274 needs to be finished first. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like aurora-cli
, gradio
, and [email protected]
require a revision bump as well
|
Ah, I've missed that these formulae are disabled, thanks for explanation @Bo98! Actually it's still a bit unclear for me if we need to update disabled/deprecated formulae. |
We should still treat deprecated formulae like undeprecated formulae in terms of updating like this. Deprecated formulae are still available for install and use and as such should not be intentionally broken if we are aware of an issue (the difference being that we don't actively test it as a dependent). For the end user, deprecation just means a warning when installing. As for disabled formulae, we should probably still change from |
c5b93a6
to
c4c0122
Compare
|
Add
Removing the bottle block for [email protected] is the easiest solution here. We cannot use existing bottles anyway.
Requires a whitelist: Homebrew/brew#7670.
I don't think we should have HEAD support. |
I made the needed changes. Just a question about the upgrade for our uses:
At this point python 3.7 is still installed and in my path. At which point do we upgrade the existing python 3.7 installation to python 3.8 for our users; switching the paths from keg only to non keg only and the other way round? |
@MikeMcQuaid might know. He indicated that |
The |
See https://github.com/Homebrew/brew/blob/4c49224193b88981e8c4a93db4398eb793536057/Library/Homebrew/formula.rb#L271-L313 and code that calls these methods. |
I still need to update the caveats, they are wrong. And I'll test the upgrade path, I am unsure of what is going on. |
This is what happens if we merge this PR:
When running |
@iMichka Can you elaborate a bit more with step-by-step instructions of what to run and what the output is? This should be fixable in Homebrew/brew (and I'm game for doing that). |
Yes, of course. From a clean state: Then pull this PR.
You need to build from source as the bottle is not published, but in real life once this PR is merged the bottle will be there and the This upgrade step will fail because it tries to install |
@MikeMcQuaid did you ever fix this? |
No. |
@iMichka Thanks. I'd suggest using the |
Nice. Will try it out. |
Looks like It goes into this else statement and returns false, so nothing is done with the conflicting files:
|
It looks like Would a solution be to allow |
I would say in this case it shouldn't even need |
See Homebrew/homebrew-core#54912 (comment) Formulary.factory("python") points to [email protected], which breaks link_overwrite for that case. This changes checks if the formula is an alias, so that we can still override the files during installation.
See Homebrew/brew#7915 for a possible fix. |
Tested with ly brew fix, |
Just for my own clarification: a release is necessary so that all users will get the latest |
Yes exactly. If you have the DEV flag set as homebrew developer, you are on the latest master and live on the bleeding edge. But shipping this PR without a proper released will break all our user's Python's as they stay on fixed release tags. |
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install <formula>
)?