Skip to content

Releases: MODFLOW-ORG/modflow-devtools

MODFLOW developer tools 1.9.1

05 Mar 13:11
186bc5c

Choose a tag to compare

Bug fixes

Version 1.9.0 accidentally broke the DFN to TOML conversion script. Keep the old one for compatibility with the old dfn module, move the new one into the experimental dfns module. And a couple other fixes/tweaks.

  • fix(dfn): Restore old dfn2toml logic (#299). Committed by wpbonelli on 2026-03-04.
  • fix: Fix version comparison, improve autosync behavior (#300). Committed by wpbonelli on 2026-03-04.

MODFLOW developer tools 1.9.0

26 Feb 12:35
ecd2e64

Choose a tag to compare

New features

This release improves the architecture of the models API, decoupling model repositories from devtools and adding a CLI. The improvements should all be backwards-compatible.

This release also contains an experimental programs API that can be used to inspect available versions of MODFLOW 6 and related programs, and help with installs, as well as an experimental redesign of the MF6 DFN specification file utilities.

The aim here is to unify this project's ecosystem management utilities with consistent design and UX once we reach version 2. No breaking changes (and new stuff will stay experimental) for the remainder of 1.x.

MODFLOW developer tools 1.8.0

29 Oct 01:38
2e102e5

Choose a tag to compare

New features

  • feat(programs): Add programs module and database (#243). Committed by wpbonelli on 2025-10-15.
  • update the models API as some test models have changed.

Refactoring

  • refactor: Move drop_none_or_empty to misc module. Committed by w-bonelli on 2025-10-29.
  • refactor: Update programs database (#254). Committed by wpbonelli on 2025-10-29.

MODFLOW developer tools 1.7.0

23 Jun 17:26
355b0be

Choose a tag to compare

New features

  • feat(dfn): Add dfn container, parser, toml conversion script (#167). Committed by wpbonelli on 2024-12-11.
  • feat(dfn): Toml load support, switch to tomli, add tests (#173). Committed by wpbonelli on 2025-01-14.
  • feat: Models api (#191). Committed by wpbonelli on 2025-03-06.
  • feat: Model mapping (#192). Committed by wpbonelli on 2025-03-07.
  • feat(models): Support example models (#197). Committed by wpbonelli on 2025-03-11.
  • feat(models): Add example scenario mapping (#198). Committed by wpbonelli on 2025-03-11.
  • feat(models): Add mf2005 models from modflow6-testmodels repo (#206). Committed by wpbonelli on 2025-04-08.
  • feat(misc): Add try_get_enum_value function (#208). Committed by wpbonelli on 2025-04-22.
  • feat(misc): Add cd alias for set_dir (#221). Committed by wpbonelli on 2025-05-20.

Bug fixes

  • fix(fixtures): Don't use square brackets in tempdir paths (#160). Committed by wpbonelli on 2024-06-10.
  • fix(download.py): Accommodate missing gh api response item (#162). Committed by wpbonelli on 2024-10-02.
  • fix(test_meson_build): Use requires_exe instead of requires_pkg (#164). Committed by Mike Taves on 2024-12-09.
  • fix(dfn): Include missing attributes (#176). Committed by wpbonelli on 2025-01-25.
  • fix(dfn): Mark transient blocks (#178). Committed by wpbonelli on 2025-01-26.
  • fix(dfn): Rename sub -> ref (#180). Committed by wpbonelli on 2025-01-31.
  • fix(dfn): Remove some special handling for subpackages (#181). Committed by wpbonelli on 2025-01-31.
  • fix(dfn): Keep block attribute for now (#182). Committed by wpbonelli on 2025-02-03.
  • fix(dfn): Block attribute first (#183). Committed by wpbonelli on 2025-02-03.
  • fix(dfn): Rename transient -> transient_block (#184). Committed by wpbonelli on 2025-02-04.
  • fix: Filelock when fetching zips (#200). Committed by wpbonelli on 2025-03-18.
  • fix(models): Include files in nested folders (#201). Committed by wpbonelli on 2025-03-19.
  • fix(models.py): Add retries for transient network errors (#205). Committed by wpbonelli on 2025-04-07.
  • fix(LocalRegistry): Fix string joining in dir not found error case (#213). Committed by wpbonelli on 2025-05-02.

Refactoring

MODFLOW developer tools 1.6.0

30 May 19:10
ffdab49

Choose a tag to compare

New features

  • feat(snapshots): Add --snapshot-disable cli option (#157). Committed by wpbonelli on 2024-05-21.

Bug fixes

MODFLOW developer tools 1.5.0

15 May 17:56
78eee25

Choose a tag to compare

New features

  • feat(markers): Add no_parallel marker, support differing pkg/module names (#148). Committed by wpbonelli on 2024-04-12.
  • feat(snapshots): Add snapshot fixtures, remove pandas fixture (#151). Committed by wpbonelli on 2024-05-13.

Refactoring

  • refactor(latex): Support path-like, add docstrings (#142). Committed by wpbonelli on 2024-02-25.

MODFLOW developer tools 1.4.0

19 Feb 16:18
5182e3b

Choose a tag to compare

New features

  • feat(latex): Add latex utilities (#132). Committed by wpbonelli on 2024-01-09.
  • feat(misc): Parse literals from environment variables (#135). Committed by wpbonelli on 2024-01-21.
  • feat(ostags): add OS tags for Apple silicon (#139). Committed by wpbonelli on 2024-02-18.

Refactoring

  • refactor: Remove executables module/class (#136). Committed by wpbonelli on 2024-01-25. Should be in a major release per semver, but nothing is using it, so this should be safe.
  • refactor(fixtures): Support pytest>=8, drop pytest-cases dependency (#137). Committed by wpbonelli on 2024-01-31.

MODFLOW developer tools 1.3.1

21 Nov 16:49
2e9adad

Choose a tag to compare

Re-export get_suffixes() from modflow_devtools.executables (its previous location) to preserve backwards-compatibility.

Refactoring

  • refactor: Re-export get_suffixes from executables module (#128). Committed by wpbonelli on 2023-11-21.

MODFLOW developer tools 1.3.0

21 Nov 15:41
5d5d740

Choose a tag to compare

Support for Python 3.12, as well as a few testing-related features.

New features

  • feat(fixtures): Add --tabular pytest CLI arg and corresponding fixture (#116). Committed by wpbonelli on 2023-09-12.
  • feat(timeit): Add function timing decorator (#118). Committed by wpbonelli on 2023-09-12.
  • feat(executables): Support .get(key, default) like dict (#125). Committed by wpbonelli on 2023-11-21.

Refactoring

  • refactor: Support python 3.12, various updates (#124). Committed by wpbonelli on 2023-11-11.

MODFLOW developer tools 1.2.0

12 Sep 01:09
ccf47eb

Choose a tag to compare

Tabular data is commonly represented in Python with numpy recarrays and pandas dataframes. User-facing APIs often accept either, converting between them internally if necessary.

To streamline testing of projects which support both recarrays and dataframes, introduce a --pandas (short -P) pytest CLI option accepting values: yes, no, random. This controls a boolean use_pandas fixture, which can be requested by test functions to condition how data is provided to the module under test.

New features

  • feat(fixtures): Add use_pandas pytest fixture and --pandas CLI arg (#112). Committed by wpbonelli on 2023-09-12.