-
Notifications
You must be signed in to change notification settings - Fork 65
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
BUG: our contributor build is currently broken (this is likely a pyosmeta bug) #560
Comments
I don't wanna go too deep but I think this is the path I dug up
Without actually running the stuff locally, I cannot tell if it is trying to parse pyopensci.github.io/_data/packages.yml Lines 2042 to 2043 in 73c1b19
|
Looks like it has been a problem for 2 weeks: https://github.com/pyOpenSci/pyopensci.github.io/actions/workflows/update-contribs-reviews.yml?query=branch%3Amain |
Based on that field gh_meta.description the gh_meta object is what we use to grab metadata for each package! You are correct; it's something associated with validating that field!! Thank you for looking into it. The actual description l ooks ok on the package https://github.com/earthlab/earthpy We should actually also sunset Earthpy as it's no longer maintained. |
The pydantic error message could have been more verbose but that is neither here nor there... 😅 |
🤣 posmeta has a few features like this I'm sure there are other gems in the code too. |
I've landed a hotfix for this in pyOpenSci/pyosMeta#257, below are my notes from this incident Sequence of Events
Issue opened here for CI failure. Problem has been around for ~2 weeks at this point Processing review EarthPy: Software Submission for Review
reviews[pkg_name].gh_meta = pkg_meta[pkg_name]
File "pydantic/main.py", line 922, in __setattr__
self.__pydantic_validator__.validate_assignment(self, name, value)
pydantic_core._pydantic_core.ValidationError: 1 validation error for ReviewModel
gh_meta.description
Input should be a valid string [type=string_type, input_value=None, input_type=NoneType]
For further information visit https://errors.pydantic.dev/2.10/v/string_type
Immediate To Do's
Follow Up To Do'sWe should probably open seperate issues for some of these
|
Thanks! Does something else still need to run after the fix because I still don't see the new package listed under Astropy page. |
P.s. Astropy tried the Slack thingy years ago but it didn't work. Slack has GitHub app but it's for issues, not workflows. Might be something new now so maybe worth checking their app selections again. |
We have a but in our contributor build here that is causing it to fail.
https://github.com/pyOpenSci/pyopensci.github.io/actions/runs/13272538893/job/37055135801
The text was updated successfully, but these errors were encountered: