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

Fixes #81 - Add CI workflow for source distribution #93

Merged
merged 1 commit into from
Dec 1, 2022

Conversation

martin-g
Copy link
Member

@martin-g martin-g commented Dec 1, 2022

Which issue does this PR close?

Closes #81 .

Rationale for this change

Release source distribution in addition to the binary wheels.

What changes are included in this PR?

Adapted the config in pyproject.toml and added a new CI job.

Are there any user-facing changes?

No.

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
@martin-g
Copy link
Member Author

martin-g commented Dec 1, 2022

Build result could be seen in my fork - Python Release Build

]
exclude = [".github/**", "ci/**", ".asf.yaml"]
# Require Cargo.lock is up to date
locked = true
Copy link
Member

Choose a reason for hiding this comment

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

Will this fail the build if Cargo.lock is not up-to-date? This action doesn't run until we tag the release candidate so there is a good chance this will fail unless we also have a CI check on PRs to make sure Cargo.lock is up-to-date?

Copy link
Member Author

Choose a reason for hiding this comment

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

Is there a reason why the build workflow is not enabled for Pull Requests ?
It does not publish anything. I think it is safe to enable it! This way we could notice problems earlier!

Copy link
Member

Choose a reason for hiding this comment

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

💯 makes sense to me

@martin-g
Copy link
Member Author

martin-g commented Dec 1, 2022 via email

@andygrove andygrove merged commit 1180321 into apache:master Dec 1, 2022
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 Python source distribution in GitHub workflow
2 participants