You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "kevinjqliu (via GitHub)" <gi...@apache.org> on 2026/04/23 22:34:09 UTC

[I] fix release pyiceberg-core to pypi [iceberg-rust]

kevinjqliu opened a new issue, #2361:
URL: https://github.com/apache/iceberg-rust/issues/2361

   We made python publishing a "reusable workflow" and [part of publish.yml](https://github.com/apache/iceberg-rust/blob/4b0b35255469039d9877218049f93b07556124b5/.github/workflows/publish.yml#L72-L82)
   Apparently this isnt a supported path for PyPi trusted publishing... 
   
   
   ```
   ##[debug]Authenticating to https://upload.pypi.org/legacy/ via Trusted Publishing
   ##[debug]Selected Trusted Publishing Exchange Endpoint: https://upload.pypi.org/_/Oidc/Mint-Token
   Warning: Potential workflow misconfiguration: 
   The claims in this token suggest that the calling workflow is a reusable workflow.
   
   In particular, this action was initiated by:
   
       apache/iceberg-rust/.github/workflows/release_python.yml@refs/tags/v0.9.1-rc.2
   
   Whereas its parent workflow is:
   
       apache/iceberg-rust/.github/workflows/publish.yml@refs/tags/v0.9.1-rc.2
   
   Reusable workflows are **not currently supported** by PyPI's Trusted Publishing
   functionality, and are subject to breakage. Users are **strongly encouraged**
   to avoid using reusable workflows for Trusted Publishing until support
   becomes official. Please, do not report bugs if this breaks.
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] fix release pyiceberg-core to pypi [iceberg-rust]

Posted by "dannycjones (via GitHub)" <gi...@apache.org>.
dannycjones commented on issue #2361:
URL: https://github.com/apache/iceberg-rust/issues/2361#issuecomment-4799153917

   We just ran into this on 0.10 also. I have some ideas on how to solve it, but for v0.10.0-rc.1 I think we can use the workaround. cc @CTTY


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


Re: [I] fix release pyiceberg-core to pypi [iceberg-rust]

Posted by "dannycjones (via GitHub)" <gi...@apache.org>.
dannycjones commented on issue #2361:
URL: https://github.com/apache/iceberg-rust/issues/2361#issuecomment-4799753694

   I'm totally new to the Python bindings, but here's my current thoughts:
   
   - To fix the full release process, I'm considering the pull PyPI publishing out of the current reusable workflow for prod PyPI release, and put it in `publish.yml` (which gets us around the blocker on trusted publishing and reusable workflows).
   - There's a bit of duplication with the release and the nightly publishing of Python bindings. Given the move above already to make the workflow focus on package building only, we might consider having a reusable workflow for that alone and simply delegate. We might parameterize the workflow a bit, such that we say "this is nightly" or "this is an official release" and branch the matrix generation, etc. on that. Then `publish.yml` and `release_python_nightly.yml` can become thin wrappers on the bulk of the Python packaging workflows.
   
   I plan to focus on the first point for now - pulling PyPI publishing into `publish.yml` and unblocking releases - but I had tried to understand how we might better factor the workflows and figured I'd share my thinking if anyone is interested in picking that up.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org