NREL / rdtools

PV Analysis Tools in Python
https://rdtools.readthedocs.io/
MIT License
146 stars 61 forks source link

pypi deploy is broken #416

Open mdeceglie opened 1 month ago

mdeceglie commented 1 month ago

https://github.com/NREL/rdtools/actions/runs/9330988081/job/25685152779#step:5:158

martin-springer commented 2 weeks ago

We might want to upgrade to trusted publishing: https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/

We've done that for pvdeg: https://github.com/NREL/PVDegradationTools/blob/main/.github/workflows/publish-to-pypi.yml

This requires to add the github workflow to the trusted publisher management on pypi. I don't have access to rdtools on pypi. Those settings can be found under the repo -> "Manage" -> "Publishing"

image