Skip to content
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

Final merge prior to 5.1.1 release #1062

Merged
merged 21 commits into from
Apr 16, 2024
Merged

Final merge prior to 5.1.1 release #1062

merged 21 commits into from
Apr 16, 2024

Conversation

benjwadams
Copy link
Contributor

No description provided.

Karinon and others added 13 commits March 7, 2024 14:16
appearance of warnings even if there is nothing to warn
 * base.py: Sometimes cfutil is None
 * protocols/netcdf.py:
   - Return False right away if content_type is None
   - Support extended type strings: "application/x-netcdf;ver=4"
 * suite.py: If text for xml fails, look for netcdf one more time
 * Convert suite.run() calls to suite.run_all() calls
 * Update hyrax url
 * Update thredds url
 * Add some development notes for troubleshooting tests with pytest
   using the vcr feature.
@benjwadams
Copy link
Contributor Author

Something possibly looks awry with compliance checker plugins. Investigating.

@ocefpaf
Copy link
Member

ocefpaf commented Apr 15, 2024

Something possibly looks awry with compliance checker plugins. Investigating.

Can you elaborate? The plugins tests are passing. The failure I can see is in

compliance_checker/tests/test_cli.py::TestCLI::test_multi_checker_return_value FAILED

Fixes loading initial available checkers via importlib. An invalid
argument had been passed with kwarg `groups` instead of `group`.
Fixes a logic error in valid_range with valid_min/valid_max which
resulted in erroneous results.
Renames check function `check_valid_range_or_valid_min_max_present` to
`check_valid_range_and_valid_min_max_present` for clarity.  Existing compliance
checker plugins checked do not reference this function so this appears
to be a safe operation.
@benjwadams
Copy link
Contributor Author

pre-commit.ci fix

@benjwadams
Copy link
Contributor Author

@ocefpaf, uncovered a last minute bug in valid_range checks. I've forgotten how to issue the pre-commit black formatting fixes via GitHub Issues comments. Once this code has your approval as a reviewer, I will merge and draft a release, kicking off the PyPI build.

@ocefpaf
Copy link
Member

ocefpaf commented Apr 16, 2024

pre-commit.ci autofix

@ocefpaf
Copy link
Member

ocefpaf commented Apr 16, 2024

@ocefpaf, uncovered a last minute bug in valid_range checks. I've forgotten how to issue the pre-commit black formatting fixes via GitHub Issues comments. Once this code has your approval as a reviewer, I will merge and draft a release, kicking off the PyPI build.

I have a minor question above on the cfutil change but it is good to go IMO.

Overrides `__dealloc__` method in `MockNetCDF` class to prevent suppress
exception messages on tests via no-op/`pass` operation.
@benjwadams
Copy link
Contributor Author

pre-commit.ci autofix

@benjwadams benjwadams merged commit da97a6d into master Apr 16, 2024
46 checks passed
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.

5 participants