monarch-initiative / curate-gpt

LLM-driven curation assist tool (pre-alpha)
https://monarch-initiative.github.io/curate-gpt/
BSD 3-Clause "New" or "Revised" License
56 stars 11 forks source link

Publishing release to Pypi fails #89

Open caufieldjh opened 2 hours ago

caufieldjh commented 2 hours ago

There is an issue with the authentication for Pypi - it shows this warning:

Warning:  It looks like you are trying to use an API token to authenticate in the package index and your token value does not start with "pypi-" as it typically should. This may cause an authentication error. Please verify that you have copied your token properly if such an error occurs.

This prevents the release from being published. It encounters an HTTP 403 error instead.

cmungall commented 2 hours ago

Are we using pypi trusted publishers?

https://github.com/monarch-initiative/monarch-project-template?tab=readme-ov-file#automating-this-via-github-release https://til.simonwillison.net/pypi/pypi-releases-from-github

caufieldjh commented 1 hour ago

We should. This isn't on Pypi yet anyway, so we don't have to switch from tokens to trusted publisher.