Replace custom deepdiff wrapper scripts with deepdiff CLI #1016
Labels
easy problem
Requires less work than most issues
enhancement
New feature or request
good first issue
A relatively isolated issue appropriate for first-time contributors
Context
Augur's functional tests rely on a lightweight wrapper script around DeepDiff,
scripts/diff_jsons.py
, to support comparisons between JSONs. Augur's dev requirements specify DeepDiff >=4.3.2.However, version 5.2.0 of DeepDiff introduced a command line interface that provides the same functionality (and much more!) than the simple wrapper script.
Description
We should consider pinning our minimum DeepDiff version at
5.2.0[cli]
, replacing all uses ofdiff_jsons.py
with the equivalentdeep diff
command, and removing thediff_jsons.py
script. The CLI also supports comparisons of other file types like CSV (with the installation of additional Python libraries) which might generally improve our functional tests.Examples
The text was updated successfully, but these errors were encountered: