Releases: MODFLOW-USGS/modflow-devtools
MODFLOW developer tools 1.6.0
New features
- feat(snapshots): Add --snapshot-disable cli option (#157). Committed by wpbonelli on 2024-05-21.
Bug fixes
- fix(get_model_paths): Fix model order within scenario (#156). Committed by wpbonelli on 2024-05-21.
MODFLOW developer tools 1.5.0
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
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
MODFLOW developer tools 1.3.0
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
MODFLOW developer tools 1.2.0
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
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
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
Removals
- remove unused case/context test framework
- move binary targets config to mf6 autotests
MODFLOW developer tools 0.3.0
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
- refactor(dependencies): Remove them, update readme (#95). Committed by w-bonelli on 2023-08-04.
- refactor(download_and_unzip): Return path to extract locn (#96). Committed by w-bonelli on 2023-08-04.
MODFLOW developer tools 0.2.0
New features
- feat(set_env): Add set_env contextmanager utility (#87). Committed by w-bonelli on 2023-07-26.