From: Michael R. Crusoe <crusoe@debian.org>
Subject: make the edit_distance package optional
Forwarded: https://github.com/DataBiosphere/toil/pull/5573
--- toil.orig/src/toil/test/jobStores/jobStoreTest.py
+++ toil/src/toil/test/jobStores/jobStoreTest.py
@@ -33,7 +33,6 @@
 
 import pytest
 from stubserver import FTPStubServer
-import edit_distance
 
 from toil.common import Config
 from toil.fileStores import FileID
@@ -618,6 +617,7 @@
             assert "tigers" in other_many_hint_id
             assert "bears" in other_many_hint_id
 
+            import edit_distance
             assert edit_distance.edit_distance(many_hint_id, other_many_hint_id)[0] < 3, "IDs using hints must be low-entropy and human-findable, while not colliding even across nodes!"
 
             forbidden_hint_id = self.jobstore_initialized.write_file(str(get_a_file()), hints=["", "whales", "/", """
