Currently syrupy is pinned to <5.5.
This is because the test suite run time went from ~5-10 mins to >60 mins when syrupy was updated to 5.5.
The snapshot tests in test_nodestats.py seem to be the culprit, specifically the large snapshot file (~33MB), as tests run in a reasonable time when these test cases are skipped.
This file is so large due to to test cases add_branches_to_labelled_image and analyse_nodes, these have 100,000 items in the snapshot file, most of which are 0s, likely a consequence of using np.array2string() to generate and compare the snapshots.
A short-medium term solution to this is breaking up the file and implementing a custom snapshot extension to read in the parts (see this discussion).
The ultimate solution is reducing the file size down to something reasonable. Given the current lack of numpy support this is likely to also require a custom snapshot extension (see this issue)
Currently
syrupyis pinned to <5.5.This is because the test suite run time went from ~5-10 mins to >60 mins when
syrupywas updated to 5.5.The snapshot tests in
test_nodestats.pyseem to be the culprit, specifically the large snapshot file (~33MB), as tests run in a reasonable time when these test cases are skipped.This file is so large due to to test cases
add_branches_to_labelled_imageandanalyse_nodes, these have 100,000 items in the snapshot file, most of which are 0s, likely a consequence of usingnp.array2string()to generate and compare the snapshots.A short-medium term solution to this is breaking up the file and implementing a custom snapshot extension to read in the parts (see this discussion).
The ultimate solution is reducing the file size down to something reasonable. Given the current lack of numpy support this is likely to also require a custom snapshot extension (see this issue)