Skip to content

MacOS release action is failing. #6105

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

Closed
wants to merge 1 commit into from
Closed

MacOS release action is failing. #6105

wants to merge 1 commit into from

Conversation

liqunfu
Copy link
Collaborator

@liqunfu liqunfu commented Apr 29, 2024

Description

(actions/setup-python#855)

Motivation and Context

Signed-off-by: liqunfu <liqun.fu@microsoft.com>
@liqunfu liqunfu requested a review from a team as a code owner April 29, 2024 16:13
@liqunfu liqunfu added the run release CIs Use this label to trigger release tests in CI label Apr 29, 2024
Copy link
Contributor

github-actions bot commented Apr 29, 2024

Test Results

     3 files  ±0       3 suites  ±0   1m 58s ⏱️ -13s
 7 486 tests ±0   4 456 ✅ ±0  3 030 💤 ±0  0 ❌ ±0 
22 441 runs  ±0  13 261 ✅ ±0  9 180 💤 ±0  0 ❌ ±0 

Results for commit 7e0332c. ± Comparison against base commit 4e7289d.

♻️ This comment has been updated with latest results.

@liqunfu liqunfu changed the title actions/upload-artifact to 4.3.3 MacOS release action is failing. Apr 29, 2024
@cjvolzka
Copy link
Collaborator

@liqunfu would I be correct in guessing I'd also need to pull this into 1.16.1 (after it merges into main) to resolve the MacRelease check issues I'm seeing in #6108?

@justinchuby justinchuby reopened this Apr 29, 2024
@justinchuby
Copy link
Member

Does the change fix the error?

@liqunfu
Copy link
Collaborator Author

liqunfu commented Apr 29, 2024

@liqunfu would I be correct in guessing I'd also need to pull this into 1.16.1 (after it merges into main) to resolve the MacRelease check issues I'm seeing in #6108?

This

@liqunfu would I be correct in guessing I'd also need to pull this into 1.16.1 (after it merges into main) to resolve the MacRelease check issues I'm seeing in #6108?

We need the fix in order to build wheels to be published. Unless there is already wheels built, tested, and ready to upload to pypi, we need fix the issue this PR is targeting. Hopefully github team can the issue without this PR: actions/setup-python#855.

@liqunfu
Copy link
Collaborator Author

liqunfu commented Apr 29, 2024

Does the change fix the error?

no. the issue is with setup python: actions/setup-python#855. We need to first wait to see if github team has a solution to the original issue. We will then see if a PR is needed with the solution.

@liqunfu liqunfu marked this pull request as draft April 29, 2024 21:16
@mayeut
Copy link
Contributor

mayeut commented Apr 30, 2024

We need to first wait to see if github team has a solution to the original issue. We will then see if a PR is needed with the solution.

I wouldn't hold my breath on a solution in the short term given at least Python 3.8 & 3.9 are built from sources with homebrew dependencies on macOS x86_64.

My 2 cents, either:

  • use macos-12 instead of macos-latest: it was the previous latest when the workflow was last successful and is x86_64
  • change host-architecture from x64 to arm64: the architecture of the runner changed when moving from macos-12 to macos-14, it shall probably be reflected here.

The first one comes with no risk in the short term (moving away from macOS-12 will need to happen at some point).
The second one will probably unveil other failures later in the workflow that will require more fixes.

@justinchuby
Copy link
Member

Is it possible to create x64 universal builds from arm64?

@mayeut
Copy link
Contributor

mayeut commented May 1, 2024

Is it possible to create x64 universal builds from arm64?

Yes, it's possible to create universal2 builds from macOS arm64.
Not only the build is possible but we can also test x86_64 on macOS arm64 thanks to Rosetta 2 translation.

I opened #6117

@thiagocrepaldi
Copy link

#6117 fixes it

github-merge-queue bot pushed a commit that referenced this pull request May 1, 2024
### Description
Build and test macOS universal2 wheels on macOS arm64
Removes x86_64 wheels.

### Motivation and Context
`macos-latest` runners moved to macOS 14 running on arm64 hardware.
This is breaking the macOS release pipeline.

This PR rewrites the macOS release pipeline in 2 parts:
- Build universal2 wheels on `macos-latest`
- Test both arm64 & x86_64 parts of the universal2 wheel on
`macos-latest`

The x86_64 wheels have been removed as the universal2 ones can be used
on x86_64.

close #6105

---------

Signed-off-by: mayeut <mayeut@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
isdanni pushed a commit to isdanni/onnx that referenced this pull request May 2, 2024
…x#6117)

### Description
Build and test macOS universal2 wheels on macOS arm64
Removes x86_64 wheels.

### Motivation and Context
`macos-latest` runners moved to macOS 14 running on arm64 hardware.
This is breaking the macOS release pipeline.

This PR rewrites the macOS release pipeline in 2 parts:
- Build universal2 wheels on `macos-latest`
- Test both arm64 & x86_64 parts of the universal2 wheel on
`macos-latest`

The x86_64 wheels have been removed as the universal2 ones can be used
on x86_64.

close onnx#6105

---------

Signed-off-by: mayeut <mayeut@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
Signed-off-by: isdanni <leedanni@gmail.com>
cjvolzka pushed a commit that referenced this pull request May 2, 2024
### Description
Build and test macOS universal2 wheels on macOS arm64
Removes x86_64 wheels.

### Motivation and Context
`macos-latest` runners moved to macOS 14 running on arm64 hardware.
This is breaking the macOS release pipeline.

This PR rewrites the macOS release pipeline in 2 parts:
- Build universal2 wheels on `macos-latest`
- Test both arm64 & x86_64 parts of the universal2 wheel on
`macos-latest`

The x86_64 wheels have been removed as the universal2 ones can be used
on x86_64.

close #6105

---------

Signed-off-by: mayeut <mayeut@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
(cherry picked from commit 1529880)
cjvolzka pushed a commit that referenced this pull request May 2, 2024
### Description
Build and test macOS universal2 wheels on macOS arm64
Removes x86_64 wheels.

### Motivation and Context
`macos-latest` runners moved to macOS 14 running on arm64 hardware.
This is breaking the macOS release pipeline.

This PR rewrites the macOS release pipeline in 2 parts:
- Build universal2 wheels on `macos-latest`
- Test both arm64 & x86_64 parts of the universal2 wheel on
`macos-latest`

The x86_64 wheels have been removed as the universal2 ones can be used
on x86_64.

close #6105

---------

Signed-off-by: Matthieu Darbois <mayeut@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
(cherry picked from commit 1529880)
cjvolzka pushed a commit that referenced this pull request May 2, 2024
### Description
Build and test macOS universal2 wheels on macOS arm64
Removes x86_64 wheels.

### Motivation and Context
`macos-latest` runners moved to macOS 14 running on arm64 hardware.
This is breaking the macOS release pipeline.

This PR rewrites the macOS release pipeline in 2 parts:
- Build universal2 wheels on `macos-latest`
- Test both arm64 & x86_64 parts of the universal2 wheel on
`macos-latest`

The x86_64 wheels have been removed as the universal2 ones can be used
on x86_64.

close #6105

---------

Signed-off-by: Matthieu Darbois <mayeut@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
(cherry picked from commit 1529880)
justinchuby added a commit that referenced this pull request May 4, 2024
### Description
Build and test macOS universal2 wheels on macOS arm64
Removes x86_64 wheels.

### Motivation and Context
`macos-latest` runners moved to macOS 14 running on arm64 hardware.
This is breaking the macOS release pipeline.

This PR rewrites the macOS release pipeline in 2 parts:
- Build universal2 wheels on `macos-latest`
- Test both arm64 & x86_64 parts of the universal2 wheel on
`macos-latest`

The x86_64 wheels have been removed as the universal2 ones can be used
on x86_64.

close #6105

---------

Signed-off-by: mayeut <mayeut@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchu@microsoft.com>
isdanni pushed a commit to isdanni/onnx that referenced this pull request May 6, 2024
…x#6117)

### Description
Build and test macOS universal2 wheels on macOS arm64
Removes x86_64 wheels.

### Motivation and Context
`macos-latest` runners moved to macOS 14 running on arm64 hardware.
This is breaking the macOS release pipeline.

This PR rewrites the macOS release pipeline in 2 parts:
- Build universal2 wheels on `macos-latest`
- Test both arm64 & x86_64 parts of the universal2 wheel on
`macos-latest`

The x86_64 wheels have been removed as the universal2 ones can be used
on x86_64.

close onnx#6105

---------

Signed-off-by: mayeut <mayeut@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
Signed-off-by: isdanni <leedanni@gmail.com>
gramalingam pushed a commit to gramalingam/onnx that referenced this pull request Jun 6, 2024
…x#6117)

### Description
Build and test macOS universal2 wheels on macOS arm64
Removes x86_64 wheels.

### Motivation and Context
`macos-latest` runners moved to macOS 14 running on arm64 hardware.
This is breaking the macOS release pipeline.

This PR rewrites the macOS release pipeline in 2 parts:
- Build universal2 wheels on `macos-latest`
- Test both arm64 & x86_64 parts of the universal2 wheel on
`macos-latest`

The x86_64 wheels have been removed as the universal2 ones can be used
on x86_64.

close onnx#6105

---------

Signed-off-by: mayeut <mayeut@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
andife pushed a commit to andife/onnx that referenced this pull request Jul 20, 2024
…x#6117)

### Description
Build and test macOS universal2 wheels on macOS arm64
Removes x86_64 wheels.

### Motivation and Context
`macos-latest` runners moved to macOS 14 running on arm64 hardware.
This is breaking the macOS release pipeline.

This PR rewrites the macOS release pipeline in 2 parts:
- Build universal2 wheels on `macos-latest`
- Test both arm64 & x86_64 parts of the universal2 wheel on
`macos-latest`

The x86_64 wheels have been removed as the universal2 ones can be used
on x86_64.

close onnx#6105

---------

Signed-off-by: mayeut <mayeut@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
@liqunfu liqunfu deleted the liqun/mac-act-fail branch August 28, 2024 18:28
linshokaku pushed a commit to linshokaku/onnx that referenced this pull request Oct 2, 2024
…x#6117)

### Description
Build and test macOS universal2 wheels on macOS arm64
Removes x86_64 wheels.

### Motivation and Context
`macos-latest` runners moved to macOS 14 running on arm64 hardware.
This is breaking the macOS release pipeline.

This PR rewrites the macOS release pipeline in 2 parts:
- Build universal2 wheels on `macos-latest`
- Test both arm64 & x86_64 parts of the universal2 wheel on
`macos-latest`

The x86_64 wheels have been removed as the universal2 ones can be used
on x86_64.

close onnx#6105

---------

Signed-off-by: mayeut <mayeut@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
Signed-off-by: Linsho Kaku <linsho@preferred.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run release CIs Use this label to trigger release tests in CI
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants