Skip to content

Comments

CI(Python): dont use --sdist in maturin build for CI#2166

Merged
blackmwk merged 1 commit intoapache:mainfrom
kevinjqliu:kevinjqliu/fix-ci-maturin-build
Feb 24, 2026
Merged

CI(Python): dont use --sdist in maturin build for CI#2166
blackmwk merged 1 commit intoapache:mainfrom
kevinjqliu:kevinjqliu/fix-ci-maturin-build

Conversation

@kevinjqliu
Copy link
Contributor

@kevinjqliu kevinjqliu commented Feb 23, 2026

Which issue does this PR close?

  • Closes #.

What changes are included in this PR?

This PR updates Python bindings CI to avoid --sdist in the test build step due to maturin regression for 1.12.3+ tracked in PyO3/maturin#3030. We dont pin maturin in CI, so CI installs the latest version.

--sdist is not needed here, removing it also aligns with other maturin usage in CI
See https://github.com/search?q=repo%3Aapache%2Ficeberg-rust+%22command%3A+build%22&type=code

Are these changes tested?

Copy link
Collaborator

@mbutrovich mbutrovich left a comment

Choose a reason for hiding this comment

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

Thanks for the fix @kevinjqliu!

@kevinjqliu
Copy link
Contributor Author

maturin maintainers already fixed it 🚀 PyO3/maturin#3031
its not in a release yet.

we should still proceed with this PR and remove the unnecessary --sdist flag

Copy link
Contributor

@blackmwk blackmwk left a comment

Choose a reason for hiding this comment

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

Thanks @kevinjqliu for this fix!

@blackmwk blackmwk merged commit 3ae3722 into apache:main Feb 24, 2026
19 checks passed
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.

3 participants