Releases: MODFLOW-USGS/modflow-devtools
MODFLOW developer tools 0.1.8
New features
- feat(fixtures): Discover external model repo dirs with .git suffix (#80). Committed by w-bonelli on 2023-04-21.
Bug fixes
- fix(multiple): Fix some CI and fixture issues (#81). Committed by w-bonelli on 2023-04-21.
MODFLOW developer tools 0.1.7
Refactoring
- refactor(fixtures): Add entries to default exe name/path mapping (#75). Committed by w-bonelli on 2023-03-01.
- refactor(versioning): Don't track version explicitly in readme (#76). Committed by w-bonelli on 2023-04-06.
MODFLOW developer tools 0.1.6
This release introduces a few changes that may break existing usages and expectations:
- Previously, keepable temporary directory fixtures (
function_tmpdir
etc) would not overwrite a--keep
location if the keep directory already existed. This was inconvenient for debugging tests, since kept dirs needed to be manually removed after each test run, while the whole point of the fixtures is to quickly inspect temporary output files and debug failing tests. With this release, the fixtures now overwrite the keep path. (It's up to the user to avoid using keep locations containing anything valuable.) - GitHub API utilities are given configurable retries, and some refactoring to make signatures more consistent.
Also updates some documentation.
Note: this should really be a major version update since it includes breaking changes. Breaking changes will bump the major version number in the future, but this time it seemed OK to go forward since MODFLOW 6 is currently the only project affected downstream.
Refactoring
- refactor(fixtures): Overwrite keepable temp dirs by default (#67). Committed by w-bonelli on 2023-01-20.
- refactor(download): Refactor GH API utils, add tests, update docs (#68). Committed by w-bonelli on 2023-02-03.
MODFLOW developer tools 0.1.5
Fixes the description section on PyPI, which was previously not rendered correctly. Also switches to pyproject.toml
from setup.cfg
, updates docs, and adds some tests for MFZipFile
.
Refactoring
- refactor(metadata): Use pyproject.toml, retire setup.cfg (#63). Committed by w-bonelli on 2023-01-19.
MODFLOW developer tools 0.1.4
This release fixes a bug in the misc.get_packages()
function affecting --package
filtering. Previously only IMS, TDIS, and GWF/GWT would be returned for a simulation namefile, with component model namefiles ignored. Filtering by packages now works as expected, looking in model namefiles referenced by a given simulation namefile to return all packages used by any of the simulation's component models.
Bug fixes
- fix(fixtures): Fix package detection/selection (#60). Committed by w-bonelli on 2023-01-18.
Refactoring
- refactor(has_pkg): Use import.metadata instead of pkg_resources (#54). Committed by Mike Taves on 2023-01-09.
MODFLOW developer tools 0.1.3
This release updates default behavior for model-finding fixtures. Docs are also expanded/clarified.
Bug fixes
- fix(fixtures): Fix test_model_mf6 fixture node id (#49). Committed by w-bonelli on 2023-01-07.
Refactoring
- refactor(fixtures): Update defaults for model-finding fixtures (#48). Committed by w-bonelli on 2023-01-07.
MODFLOW developer tools 0.1.2
Bug fixes
- fix(fixtures): Fix model filtering by package (#44). Committed by w-bonelli on 2023-01-04.
MODFLOW developer tools 0.1.1
Note: Reverts the naming change in 0.1.0 from get_model_paths()
-> get_model_dir_paths()
. The former is more concise anyway and this avoids breaking downstream usages (e.g. the nightly build).
Bug fixes
- fix(release): Fix conf.py version fmt, fix update_version.py. Committed by w-bonelli on 2022-12-29.
- fix(release): Fix changelog commit links (#38). Committed by w-bonelli on 2022-12-29.
- fix(license): Remove extra LICENSE file, fix link in LICENSE.md (#39). Committed by w-bonelli on 2022-12-30.
Refactoring
- refactor(utilities): Restore get_model_paths function name (#41). Committed by w-bonelli on 2022-12-30.
MODFLOW developer tools 0.1.0
Breaking changes
This release introduces a breaking change in model-loading fixtures. The test_model_mf6
, test_model_mf5to6
, and large_test_model
fixtures are no longer the Path
of the model folder (the namefile's parent) but the namefile Path
itself.
See the documentation for more information.
Refactoring
- refactor(fixtures): Fix/refactor model-loading fixtures (#33). Committed by w-bonelli on 2022-12-29.
MODFLOW developer tools 0.0.8
Bug fixes
- fix(release): Exclude intermediate changelog (#28). Committed by w-bonelli on 2022-12-28.
- fix(fixtures): Fix example_scenario fixture loading (#30). Committed by w-bonelli on 2022-12-29.