Skip to content

Releases: MODFLOW-USGS/modflow-devtools

MODFLOW developer tools 1.6.0

30 May 19:10
ffdab49
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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.

MODFLOW developer tools 1.1.0

12 Aug 16:57
79c8f3b
Compare
Choose a tag to compare

This release introduces some organizational changes and minor features. Utilities for handling operating system labels are moved to their own module ostags, with related utilities in misc deprecated but still supported. A bug in the behavior of the requires_pkg() pytest marker is fixed where packages would be considered installed even with some of their dependencies missing. With this comes a new strict parameter for the misc.has_pkg() function, defaulting to False, which toggles whether a full package import attempt is made or the package is just looked up by metadata.

Features & Refactoring

  • refactor: Deprecate misc functions, add ostags alternatives (#105). Committed by w-bonelli on 2023-08-08.
  • refactor(has_pkg): Introduce strict flag (#106). Committed by w-bonelli on 2023-08-12.

MODFLOW developer tools 1.0.0

05 Aug 18:11
e92682a
Compare
Choose a tag to compare

This is the first major release due to removal of a few testing utilities no longer used by MODFLOW 6.

New features

  • feat(ostags): Add OS tag conversion utilities (#99). Committed by w-bonelli on 2023-08-05.

Refactoring

  • refactor: Multiple (#100). Committed by w-bonelli on 2023-08-05.

Removals

  • remove unused case/context test framework
  • move binary targets config to mf6 autotests

MODFLOW developer tools 0.3.0

04 Aug 01:25
9a0fffd
Compare
Choose a tag to compare
Pre-release

This update gives download.download_and_unzip() a return value, the Path the archive was extracted to. Also remove all package dependencies (previously numpy and pytest were required, now optional).

Refactoring

MODFLOW developer tools 0.2.0

26 Jul 21:32
ab06557
Compare
Choose a tag to compare
Pre-release

New features

  • feat(set_env): Add set_env contextmanager utility (#87). Committed by w-bonelli on 2023-07-26.