Skip to content

NPI-4443 Clean up unit test outputs and temporarily pin supported Pandas version #108

Merged
treefern merged 12 commits intomainfrom
NPI-4443-unittest-cleanup
Jan 30, 2026
Merged

NPI-4443 Clean up unit test outputs and temporarily pin supported Pandas version #108
treefern merged 12 commits intomainfrom
NPI-4443-unittest-cleanup

Conversation

@treefern
Copy link
Collaborator

  • Tidy up the way warnings are managed, making the output of the unit tests quieter and allowing unexpected issues to more clearly stand out.
  • Pin pandas to 2.3.3 as a temporary measure while investigating compatibility issues when using Pandas 3.

Copy link
Collaborator

@ronaldmaj ronaldmaj left a comment

Choose a reason for hiding this comment

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

This looks good to me - a good clean-up of warnings and pinning Pandas to a version we know will not have issues with the current state of the codebase.

When running the unit tests, it seems to complete fine. I did get the folloiwng Errors when running though:

python -m unittest
.......................2026-01-30 04:48:54,498 [download_file_from_cddis] ERROR: Failed to download test.txt after 0 retries: Connection timeout
...2026-01-30 04:48:54,504 [download_file_from_cddis] ERROR: Failed to download test.txt after 0 retries: 404 Client Error: Not Found
..............................................................
----------------------------------------------------------------------
Ran 88 tests in 2.791s

OK

@treefern
Copy link
Collaborator Author

Those download errors appear to be the intention of their respective tests. I haven't looked into checking and excluding them from output, as I did with the warnings.

@treefern treefern merged commit 4c0deba into main Jan 30, 2026
4 checks passed
@treefern treefern deleted the NPI-4443-unittest-cleanup branch January 30, 2026 05:09
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