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

Replace macos-latest with macos-11 #11155

Merged
merged 1 commit into from Oct 26, 2022
Merged

Replace macos-latest with macos-11 #11155

merged 1 commit into from Oct 26, 2022

Conversation

Frassle
Copy link
Member

@Frassle Frassle commented Oct 26, 2022

Description

GitHub are rolling out macos 12 for the -latest image (actions/runner-images#6384), but we need to continue to support and build for macos 11.

Fixes #11152

Checklist

  • I have added tests that prove my fix is effective or that my feature works
  • I have run make changelog and committed the changelog/pending/<file> documenting my change
  • Yes, there are changes in this PR that warrants bumping the Pulumi Service API version

GitHub are rolling out macos 12 for the -latest image
(actions/runner-images#6384), but we need to
continue to support and build for macos 11.

Fixes #11152
@pulumi-bot
Copy link
Contributor

Changelog

[uncommitted] (2022-10-26)

Bug Fixes

  • [build] Fix release build to continue to use MacOS 11.
    #11155

@Frassle
Copy link
Member Author

Frassle commented Oct 26, 2022

bors merge

bors bot added a commit that referenced this pull request Oct 26, 2022
11155: Replace macos-latest with macos-11 r=Frassle a=Frassle

<!--- 
Thanks so much for your contribution! If this is your first time contributing, please ensure that you have read the [CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md) documentation.
-->

# Description

<!--- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. -->

GitHub are rolling out macos 12 for the -latest image (actions/runner-images#6384), but we need to continue to support and build for macos 11.

Fixes #11152

## Checklist

<!--- Please provide details if the checkbox below is to be left unchecked. -->
- [ ] I have added tests that prove my fix is effective or that my feature works
<!--- 
User-facing changes require a CHANGELOG entry.
-->
- [x] I have run `make changelog` and committed the `changelog/pending/<file>` documenting my change
<!--
If the change(s) in this PR is a modification of an existing call to the Pulumi Service,
then the service should honor older versions of the CLI where this change would not exist.
You must then bump the API version in /pkg/backend/httpstate/client/api.go, as well as add
it to the service.
-->
- [ ] Yes, there are changes in this PR that warrants bumping the Pulumi Service API version
  <!-- `@Pulumi` employees: If yes, you must submit corresponding changes in the service repo. -->


Co-authored-by: Fraser Waters <fraser@pulumi.com>
@bors
Copy link
Contributor

bors bot commented Oct 26, 2022

Build failed:

@Frassle
Copy link
Member Author

Frassle commented Oct 26, 2022

bors retry

bors bot added a commit that referenced this pull request Oct 26, 2022
11155: Replace macos-latest with macos-11 r=Frassle a=Frassle

<!--- 
Thanks so much for your contribution! If this is your first time contributing, please ensure that you have read the [CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md) documentation.
-->

# Description

<!--- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. -->

GitHub are rolling out macos 12 for the -latest image (actions/runner-images#6384), but we need to continue to support and build for macos 11.

Fixes #11152

## Checklist

<!--- Please provide details if the checkbox below is to be left unchecked. -->
- [ ] I have added tests that prove my fix is effective or that my feature works
<!--- 
User-facing changes require a CHANGELOG entry.
-->
- [x] I have run `make changelog` and committed the `changelog/pending/<file>` documenting my change
<!--
If the change(s) in this PR is a modification of an existing call to the Pulumi Service,
then the service should honor older versions of the CLI where this change would not exist.
You must then bump the API version in /pkg/backend/httpstate/client/api.go, as well as add
it to the service.
-->
- [ ] Yes, there are changes in this PR that warrants bumping the Pulumi Service API version
  <!-- `@Pulumi` employees: If yes, you must submit corresponding changes in the service repo. -->


Co-authored-by: Fraser Waters <fraser@pulumi.com>
@bors
Copy link
Contributor

bors bot commented Oct 26, 2022

Build failed:

@Frassle
Copy link
Member Author

Frassle commented Oct 26, 2022

bors retry

@bors
Copy link
Contributor

bors bot commented Oct 26, 2022

Build succeeded:

@bors bors bot merged commit efdadc1 into master Oct 26, 2022
@bors bors bot deleted the fraser/macos11 branch October 26, 2022 12:24
@abhinav abhinav mentioned this pull request Feb 3, 2023
abhinav added a commit that referenced this pull request Feb 3, 2023
In #11155, we pinned CI to macos-11
because we want to continue to support macOS 11.

This, however hsa created a new issue:
grpcio does not publish wheels for macos-11 anymore
and building it from source takes long enough to kill our CI
(see #12054 #12050).

To fix the issue while continuing to support older macOS,
run CI on macos-latest, but leave build jobs and friends on macos-11.

Resolves #12054, #12050
abhinav added a commit that referenced this pull request Feb 3, 2023
In #11155, we pinned CI to macos-11
because we want to continue to support macOS 11.

This, however hsa created a new issue:
grpcio does not publish wheels for macos-11 anymore
and building it from source takes long enough to kill our CI
(see #12054 #12050).

To fix the issue while continuing to support older macOS,
run CI on macos-latest, but leave build jobs and friends on macos-11.

Resolves #12054, #12050
abhinav added a commit that referenced this pull request Feb 3, 2023
In #11155, we pinned CI to macos-11
because we want to continue to support macOS 11.

This, however hsa created a new issue:
grpcio does not publish wheels for macos-11 anymore
and building it from source takes long enough to kill our CI
(see #12054 #12050).

To fix the issue while continuing to support older macOS,
run CI on macos-latest, but leave build jobs and friends on macos-11.

Resolves #12054, #12050
bors bot added a commit that referenced this pull request Feb 3, 2023
12066: ci: Use macos-latest r=abhinav a=abhinav

In #11155, we pinned CI to macos-11
because we want to continue to support macOS 11.

This, however hsa created a new issue:
grpcio does not publish wheels for macos-11 anymore
and building it from source takes long enough to kill our CI
(see #12054 #12050).

To fix the issue while continuing to support older macOS,
run CI on macos-latest, but leave build jobs and friends on macos-11.

Resolves #12054, #12050


Co-authored-by: Abhinav Gupta <abhinav@pulumi.com>
phillipedwards pushed a commit that referenced this pull request Feb 8, 2023
In #11155, we pinned CI to macos-11
because we want to continue to support macOS 11.

This, however hsa created a new issue:
grpcio does not publish wheels for macos-11 anymore
and building it from source takes long enough to kill our CI
(see #12054 #12050).

To fix the issue while continuing to support older macOS,
run CI on macos-latest, but leave build jobs and friends on macos-11.

Resolves #12054, #12050
@directionless
Copy link

I know this is an old ticket, and you've probably figured out several ways to handle this, but I wanted to leave a note for future people. macOS does allow builds to target older platforms. In this case, if you export the environmental variable MACOSX_DEPLOYMENT_TARGET set to 11, it should behave as you want.

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.

Homebrew tap not working on MacOS Big Sur
4 participants