v1.0.2#
This patch release hardens the nrtk_perturber_cli entrypoint against empty
input datasets, fixes two cross-test pollution bugs in the import-guard test
infrastructure, and resolves linting failures surfaced by a ruff upgrade.
It also closes a gap in the test matrix where per-extra tox environments were
missing cross-extras pollution issues.
Fixes#
Fixed
nrtk_perturber_clicrashing on empty input datasets by adding an explicit check before attempting to perturb.Fixed
mock_missing_depsnot restoring parent package attributes after re-importing modules, causingmock.patchon dotted paths through guarded packages to fail withAttributeErrorin subsequent tests.Fixed
TestOtfImportGuardnot evicting cached_pybsmsubmodules, allowing the import guard inotf.pyto be bypassed whenpybsmwas mocked as missing.Fixed a gap in the test matrix where per-extra tox environments could not catch cross-test pollution between extras. Introduced an
optionaltox environment and CI job that runs all non-notebook tests in a single session with every extra installed.Fixed pytest collecting marker-gated tests when no marker was specified, by adding a
require_markerfixture that properly excludes them, and by defining anoptionalmarker that aggregates all other markers exceptnotebooksso the new cross-extras session can select them.Fixed linting failures surfaced by upgrading
ruff.