8000 fix github action for publishing releases by wholmgren · Pull Request #1039 · pvlib/pvlib-python · GitHub
[go: up one dir, main page]

Skip to content

fix github action for publishing releases #1039

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 1, 2020

Conversation

wholmgren
Copy link
Member

#1038 didn't work because pypi (and test pypi) don't allow local versions (tag+commits.hash). With some work (e.g. here) it would be possible to upload distributions for each commit to test pypi, but I don't think it's worth the effort. So this PR simplifies the build to tags that start with "v" and only pushes to pypi.

I don't understand why the PyPA guide suggests uploading each commit to test pypi if the standard tools don't make it easy to do so. I checked a hadnful of PyPA's own packages and none of them follow this practice either.

Once this PR is merged I'll test it by pushing an 0.8.0 alpha tag.

@wholmgren wholmgren added this to the 0.8.0 milestone Sep 1, 2020
@wholmgren wholmgren merged commit b4bdfd3 into pvlib:master Sep 1, 2020
@wholmgren wholmgren deleted the fixghaction branch September 1, 2020 20:49
@wholmgren
Copy link
Member Author

https://github.com/pvlib/pvlib-python/runs/1058438049?check_suite_focus=true

https://pypi.org/project/pvlib/0.8.0a0/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
42F6 None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0