Skip to content

we should publish rc to pypi as part of the release process #1409

Closed

Description

@kevinjqliu

Is your feature request related to a problem or challenge?

During the release process, we only upload rust artifacts to apache SVN https://rust.iceberg.apache.org/release.html#upload-artifacts-to-the-svn-dist-repo

it would be helpful to upload the RC python artifacts to pypi for testing. This is located at

pypi-publish:
name: Publish Python 🐍 distribution 📦 to Pypi
needs: [sdist, wheels]
runs-on: ubuntu-latest
# Only publish to PyPi if the tag is not a pre-release OR if manually triggered
if: ${{ (startsWith(github.ref, 'refs/tags/') && !contains(github.ref, '-')) || github.event_name == 'workflow_dispatch' }}
environment:
name: pypi
url: https://pypi.org/p/pyiceberg-core
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
steps:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
pattern: wheels-*
merge-multiple: true
path: bindings/python/dist
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true
packages-dir: bindings/python/dist

We should absolutely make sure that the pypi artifacts are published as RC and not the actual release (0.9.0rc1 vs 0.9.0).

Describe the solution you'd like

No response

Willingness to contribute

None

Activity

  1. added
    enhancement
    on Jun 4, 2025
  2. KrishnaSindhur commented on Jun 10, 2025

    @KrishnaSindhur

    @liurenjie1024 can I work on this?

  3. liurenjie1024 commented on Jun 11, 2025

    @liurenjie1024
    Contributor

    @liurenjie1024 can I work on this?

    Yes, thx!

  4. kevinjqliu commented on Jun 17, 2025

    @kevinjqliu
    ContributorAuthor

    hey @KrishnaSindhur thanks for volunteering to work on this. I've already started to work on this issue. Since it involves github CI, there's a lot of infrastructure set up to test the changes

  5. added a commit that references this issue on Jun 24, 2025
    c85d980
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions