[hotfix] handle packages that lack a description on GitHub #257
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hotfix for pyOpenSci/pyopensci.github.io#560
The issue is that astrodata does not have a description on GitHub so the API returns
null
and ourGhMeta
Pydantic model requires this field be set to some string. Considering that repositories on GitHub don't have to have a description, I have changed the description field to be optional.I also added a few other print statements to our routines to make it a little ore obvious what is going on. A few people had looked at the CI logs and thought Earthpy must be the issue since it was the last logged package. However that was from the previous processing step and the gh-metrics step was running across all packages without any indication.
This PR is meant as a hotfix to get CI back up and running but there are a few things I want to do to improve this which I will post in pyOpenSci/pyopensci.github.io#560