Skip to content

Remove deepdiff test dependency - #8553

Merged
Jens Hedegaard Nielsen (jenshnielsen) merged 1 commit into
microsoft:mainfrom
jenshnielsen:remove-deepdiff
Oct 2, 2026
Merged

Jens Hedegaard Nielsen (jenshnielsen) merged 1 commit into
microsoft:mainfrom
jenshnielsen:remove-deepdiff

Conversation

@jenshnielsen

Copy link
Copy Markdown
Collaborator

deepdiff appears to be unmaintained. Replace its three uses in the tests with direct comparisons:

  • test_converters: compare interdependencies via InterDependencies equality, which ignores paramspec order (the only difference the v0 conversion introduces) while still checking depends_on order.
  • test_dataset_in_memory: compare every array with numpy.testing.assert_array_equal(strict=True), which treats NaNs as equal and checks shape and dtype.

Also drop deepdiff and its transitive dependencies cachebox and orderly-set from requirements.txt.

deepdiff appears to be unmaintained. Replace its three uses in the tests
with direct comparisons:

- test_converters: compare interdependencies via InterDependencies
  equality, which ignores paramspec order (the only difference the v0
  conversion introduces) while still checking depends_on order.
- test_dataset_in_memory: compare every array with
  numpy.testing.assert_array_equal(strict=True), which treats NaNs as
  equal and checks shape and dtype.

Also drop deepdiff and its transitive dependencies cachebox and
orderly-set from requirements.txt.
@codecov

codecov Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.19%. Comparing base (22b7787) to head (75d889f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8553   +/-   ##
=======================================
  Coverage   72.19%   72.19%           
=======================================
  Files         307      307           
  Lines       32322    32322           
=======================================
  Hits        23336    23336           
  Misses       8986     8986           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Merged via the queue into microsoft:main with commit b294dd1 Oct 2, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants