-
I'm updating from using an rsa token to using trusted publishing, and I'm getting this error during deployment to pypi:
There is no My current workflow file is: https://github.com/NREL/ThermalNetwork/blob/fix-packaging/.github/workflows/release.yml |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is not related to secretless publishing. It's just that the dist you're trying to upload doesn't provide long description. The action checks the dists by running You can ask the action to skip that metadata verification check: https://github.com/marketplace/actions/pypi-publish#disabling-metadata-verification. Though, the proper solution is to fix your dist's metadata. PyPI may reject your uploads when the meta is corrupted more seriously. |
Beta Was this translation helpful? Give feedback.
This is not related to secretless publishing. It's just that the dist you're trying to upload doesn't provide long description. The action checks the dists by running
twine check --strict
. It's generally recommended to do this early in your CI pipeline so that it raises the red flag earlier.You can ask the action to skip that metadata verification check: https://github.com/marketplace/actions/pypi-publish#disabling-metadata-verification. Though, the proper solution is to fix your…