Skip to content

Publish release candidates on crates.io #3139

Closed as not planned
Closed as not planned

Description

@dannycjones

Is your feature request related to a problem or challenge?

Releases have failed at the official release crate publish step due to lack of testing the publishing ahead of that step.

Additionally, it is not possible to try a release candidate simply by specifying the RC version in the crate manifest's dependency list - instead, you must download, unarchive, and point it to a path locally.

Python bindings for iceberg-rust already publish release candidate versions to PyPI, this issue proposes doing the same for the crates.

Related: #2864

Describe the solution you'd like

We should publish crates as part of the release candidate process. The crate should be published as X.Y.Z-rc.N, for example 0.11.0-rc.0.

This is safe because non-primary release versions aren't considered for dependency resolution unless that release version is already opted into.

Willingness to contribute

I can contribute to this feature independently, although I would prefer someone else to own it and I'm happy to discuss/review.

Activity

  1. added
    enhancement
    on Sep 3, 2026
  2. blackmwk commented on Sep 4, 2026

    @blackmwk
    Contributor

    Thanks @dannycjones for this proposal. But it doesn't sound like a good pattern in rust community, also I'm quite worrying about the version dependency logic in cargo to choose an rc version by mistake.

  3. dannycjones commented on Sep 4, 2026

    @dannycjones
    ContributorAuthor

    Thanks @dannycjones for this proposal. But it doesn't sound like a good pattern in rust community, also I'm quite worrying about the version dependency logic in cargo to choose an rc version by mistake.

    Thanks for responding! While I'm not concerned with the risk of Cargo picking the wrong version (I'd be very surprised, although it could happen), I do see that there may be little value in it.

    The primary value for me is in proving that the crates.io publishing works ahead of voting, including setup for new crates. It may be that we just have to accept that trusted publishing will fail for any new crate at the moment, and require manual intervention.

  4. dannycjones commented on Sep 4, 2026

    @dannycjones
    ContributorAuthor

    I've been trying to find a proposal that would allow for new crate publishing using trusted publishing, but I've yet to find anything.

  5. dannycjones commented on Sep 10, 2026

    @dannycjones
    ContributorAuthor

    @kevinjqliu's proposal addresses this more elegantly: #3185

    I'll close this issue in favour of that PR. With the process for new crates, I don't think published release crates provides much value at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions