Patch: Fix Pytest and Jupter Book compatibility issues for latest releases#230
Merged
Patch: Fix Pytest and Jupter Book compatibility issues for latest releases#230
Conversation
RHammond2
added a commit
that referenced
this pull request
Dec 23, 2025
* Patch: Fix Pytest and Jupter Book compatibility issues for latest releases (#230) * update for args list[str] enforcement in v9 * pin jupyter-book prior to migration * update changelog * sort tests * bump version * add experimental lbw data * adjust from other sources * document land-based assumptions and add references to the refs.bib * update v0.13 dataset changes * update bibtex and partially update user guide * update reference usage * update bullet style * udpate and restrucutre changelog * add lbw weather file * convert osw weather to pqt * remove CSVs * udpate configs * update casing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fix Pytest v9 type enforcement and Jupyter-Book v2 migration issues
This PR fixes a user-facing bug in the pytest custom hooks for running the unit and regression test suite in isolation caused by the enforcement of
list[args]typing adopted in pytest args. Additionally, the Jupyter Book version is capped at 1.x to avoid potential migration issues for v2.PR Checklist
CHANGELOG.mdhas been updated to describe the changes made in this PRDocstrings are up-to-dateRelateddocs/files are up-to-date, or added when necessaryExamples have been updatedRelated issues
The pytest issue was found in a separate project, and reported in pytest-dev/pytest#13996.
Impacted areas of the software
tests/conftest.pypytest_configure: ConvertsPathobjects tostrand sorts the tests alphabetically.pyproject.toml: Pinsjupyter-bookto only use 1.x releases.Additional supporting information
Python version: 3.12.9
WOMBAT version (
wombat.__version__): 0.12.2Test results, if applicable
Tests pass when run in isolation and together