NREL / rdtools

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

pypi deploy is broken #416

Closed mdeceglie closed 3 months ago

mdeceglie commented 6 months ago

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

martin-springer commented 5 months 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

martin-springer commented 3 months ago

resolved with #427