Skip to content

Fix for Failed tests - #709

Merged
CommonClimate merged 3 commits into
masterfrom
failed-test
Oct 27, 2026
Merged

CommonClimate merged 3 commits into
masterfrom
failed-test

Conversation

@khider

@khider khider commented Oct 27, 2026

Copy link
Copy Markdown
Member

This PR creates a fix for failed tests in the CI. As a reminder, DO NOT MERGE PULL REQUESTS IF THE TESTS ARE FAILING.

  1. Certificate issue on LiPDverse prevented read to retrieve archiveType and their synonyms. Fix: added verify=False to skip verification.

In the process of doing so, I realized that the if/else loop fails. So created a try/except (more appropriate of this problem) where if any part of the web scraping fails then it would default back to the static version. However, the static version returned a list and not a dictionary of key/synonyms making the verification in Series.__init__ fail. Generated the dictionary, including NOAA terms. This is very easy to do with Claude, so we should have that on a schedule.

  1. statsmodel updated its API and verbose is no longer supported. Removed verbose as an argument.

Fixed a few typos here and there.

When doing the tests, created a new conda environment and made sure everything worked with newer packages.

@khider
khider requested a review from CommonClimate October 27, 2026 18:47

@CommonClimate CommonClimate left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this!

@CommonClimate
CommonClimate merged commit 88752a6 into master Oct 27, 2026
1 check passed
@CommonClimate
CommonClimate deleted the failed-test branch October 27, 2026 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants