Skip to content

Releases: MODFLOW-USGS/modflow-devtools

MODFLOW developer tools 0.1.8

21 Apr 19:42
590f27e
Compare
Choose a tag to compare
Pre-release

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

18 Apr 21:06
bdcfdae
Compare
Choose a tag to compare
Pre-release

Refactoring

MODFLOW developer tools 0.1.6

15 Feb 19:43
5b45f11
Compare
Choose a tag to compare
Pre-release

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

19 Jan 05:01
59100aa
Compare
Choose a tag to compare
Pre-release

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

MODFLOW developer tools 0.1.4

18 Jan 03:04
ef70874
Compare
Choose a tag to compare
Pre-release

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

07 Jan 14:04
614b6ee
Compare
Choose a tag to compare
Pre-release

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

04 Jan 16:55
d5a94a4
Compare
Choose a tag to compare
Pre-release

Bug fixes

  • fix(fixtures): Fix model filtering by package (#44). Committed by w-bonelli on 2023-01-04.

MODFLOW developer tools 0.1.1

30 Dec 20:28
ad56ed2
Compare
Choose a tag to compare
Pre-release

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

MODFLOW developer tools 0.1.0

29 Dec 21:12
12c69a2
Compare
Choose a tag to compare
Pre-release

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

MODFLOW developer tools 0.0.8

29 Dec 01:08
160348e
Compare
Choose a tag to compare
Pre-release

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.