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

Upgrade macOS to Python 3.12 to match Homebrew #20294

Closed
6 of 7 tasks
jwnimmer-tri opened this issue Oct 2, 2023 · 7 comments
Closed
6 of 7 tasks

Upgrade macOS to Python 3.12 to match Homebrew #20294

jwnimmer-tri opened this issue Oct 2, 2023 · 7 comments
Assignees

Comments

@jwnimmer-tri
Copy link
Collaborator

jwnimmer-tri commented Oct 2, 2023

Is your feature request related to a problem? Please describe.

Hombrew is adding Python 3.12 support. After it's landed and stabilized, they will switch hombrew's default Python on macOS to be 3.12, at which point Drake should also immediately switch to 3.12 on macOS.

See this query for all of the migration PRs.

Describe the solution you'd like

Prepare the build / CI / etc so that the switch is an easy flip. See prior issue for details (TBD here).

Additional context

See #18252 for the prior issue (Python 3.10 => Python 3.11).

It's possible that fixing #19098 at the same time might also make this easier.

@jwnimmer-tri
Copy link
Collaborator Author

The brew switch PR just landed (Homebrew/homebrew-core#150390), so this ticket is ready to be worked now.

@MarcusSorealheis
Copy link
Contributor

so this ticket is ready to be worked now

🫡

@svenevs
Copy link
Contributor

svenevs commented Mar 5, 2024

Ok, the DEE component is fixed up and ready. I intend to rebuild the images this evening after dinner.

@jwnimmer-tri my understanding is all the stamps are in place once I re-approve #21013. So the plan of attack is

  1. Have the images ready.
  2. Switch Jenkins settings.
  3. Merge [workspace] Update macOS to [email protected] #21013, continuous launches and results will come back.
  4. Merge Switch to Python 3.12 on macOS drake-external-examples#285

Only snag is if things go wrong in continuous for whatever reason, I won't be able to revert them before nightlies.

@jwnimmer-tri
Copy link
Collaborator Author

That all sounds fine. I'm satisfied to have fix-forward mindset, generally dispreferring any revert.

We have stable releases for people who need stability. It's OK for the macOS infra to be broken for a couple days while we get this major upgrade sorted out.

@svenevs
Copy link
Contributor

svenevs commented Mar 6, 2024

Stable release and ship new wheels.

Whoops, sorry. That's the last one, if nightlies pass then the image side should be good.

@jwnimmer-tri
Copy link
Collaborator Author

I think we can call this finished. We don't need to keep it open until the stable tag next week.

I checked the nightly build's wheel files and tgz files, and they all look correct.

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

No branches or pull requests

3 participants