Skip to content

fix 0.5.x release cargo publish #1379

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

Merged
merged 3 commits into from
May 27, 2025

Conversation

kevinjqliu
Copy link
Contributor

@kevinjqliu kevinjqliu commented May 27, 2025

Which issue does this PR close?

  • Closes #.

What changes are included in this PR?

This PR removes iceberg-catalog-memory as a dev-dependency of crates/iceberg. The dependency is not used and caused cargo publish to fail during the 0.5.0 release (See #1325 (comment))

This PR also changes .github/workflows/release_python.yml to depend on publish.yml since we only want to publish pyiceberg-core to pypi after the crates are successfully published.

https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#running-a-workflow-based-on-the-conclusion-of-another-workflow

Are these changes tested?

Yes, I tested the github action changes by pushing this PR to my fork's main and then push a new tag, with some minor changes so that the github action can run succesfully.
The tag push triggered the Publish workflow (https://github.com/kevinjqliu/iceberg-rust/actions/runs/15265739052) which ran successfully and triggered the Publish Python 🐍 distribution 📦 to PyPI workflow (https://github.com/kevinjqliu/iceberg-rust/actions/runs/15265757444)

liurenjie1024
liurenjie1024 previously approved these changes May 27, 2025
Copy link
Contributor

@liurenjie1024 liurenjie1024 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!

@kevinjqliu
Copy link
Contributor Author

im going to test the github action on my fork first before merging

@liurenjie1024
Copy link
Contributor

The ut failure is caused by generating doc. I think we could remove those docs for now.

@@ -21,7 +21,9 @@
//!
//! ## Scan A Table
//!
//! ```rust, no_run
//! ```rust, ignore
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@liurenjie1024 wdyt of using ignore here for now? i didnt want to remove all the docs

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, it's fine to me.

@kevinjqliu kevinjqliu merged commit 48433cb into apache:main May 27, 2025
18 checks passed
@kevinjqliu kevinjqliu deleted the kevinjqliu/fix-cargo-publish branch May 27, 2025 03:52
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.

2 participants