Author: Michael R. Crusoe <michael.crusoe@gmail.com>
Description: In Debian we have modern Python, don't use the external scandir
--- cwltool.orig/cwltool/process.py
+++ cwltool/cwltool/process.py
@@ -49,10 +49,7 @@
 from .validate_js import validate_js_expressions
 from .update import INTERNAL_VERSION
 
-try:
-    from os import scandir  # type: ignore
-except ImportError:
-    from scandir import scandir  # type: ignore
+from os import scandir
 if TYPE_CHECKING:
     from .provenance import ProvenanceProfile  # pylint: disable=unused-import
 
--- cwltool.orig/requirements.txt
+++ cwltool/requirements.txt
@@ -9,7 +9,6 @@
 bagit==1.6.4
 mypy-extensions
 psutil
-scandir
 subprocess32 >= 3.5.0; os.name=="posix" and python_version<"3.5"
 typing-extensions
 coloredlogs
--- cwltool.orig/setup.py
+++ cwltool/setup.py
@@ -69,7 +69,6 @@
           'mypy-extensions',
           'six >= 1.9.0',  # >= 1.9.0 required by prov
           'psutil',
-          'scandir',
           'prov == 1.5.1',
           'bagit >= 1.6.4',
           'typing-extensions',
