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

update release workflow to support macos arm64 #41

Merged
merged 14 commits into from
Dec 6, 2021
Merged

Conversation

kwigley
Copy link
Contributor

@kwigley kwigley commented Nov 30, 2021

resolves #32 and dbt-labs/dbt-core#4185

  • separate the release workflow from the test/lint workflow
  • ensured we are build universal2 wheel files that support mac arm arch for supported python versions

Note: We can kick off a release for 0.4.0 again, it will publish the missing wheels.

@nathaniel-may
Copy link
Contributor

I just noticed here that we are only building arm64 for python 3.6 which is odd.

@kwigley kwigley requested a review from nathaniel-may December 3, 2021 19:00
@kwigley kwigley marked this pull request as ready for review December 3, 2021 19:05
@kwigley
Copy link
Contributor Author

kwigley commented Dec 3, 2021

Confirmed arm64 compat wheels are being generated for py3.6-py3.9

https://github.com/dbt-labs/dbt-extractor/runs/4411916006?check_suite_focus=true#step:7:8

@kwigley kwigley force-pushed the kwigley/update-release branch 9 times, most recently from e51f549 to fcf19ab Compare December 6, 2021 17:49
@kwigley kwigley force-pushed the kwigley/update-release branch from fcf19ab to 411b789 Compare December 6, 2021 18:04
@kwigley kwigley temporarily deployed to pypi-prod December 6, 2021 18:22 Inactive
@kwigley
Copy link
Contributor Author

kwigley commented Dec 6, 2021

This is ready to go! you can see a list of distributions this workflow creates here https://github.com/dbt-labs/dbt-extractor/runs/4434445906?check_suite_focus=true#step:3:1

Copy link
Contributor

@nathaniel-may nathaniel-may left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. just one question.

name: Build linux ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
matrix:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why don't we need python version here?

Copy link
Contributor Author

@kwigley kwigley Dec 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When setting this argument


The messense/maturin-action@v1 action builds wheels in a docker container and uses the python versions that are available in the docker container, not the interpreters installed in the VM by GHA. You can see what python versions are supported here https://github.com/messense/maturin-action/blob/51478586be5dfb16a569cb6bbec182fba9f13f79/src/index.ts#L245

I'll add a comment to the source code calling this out!

@kwigley kwigley temporarily deployed to pypi-prod December 6, 2021 19:01 Inactive
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.

Build less things in PRs
3 participants