From ebc601d8a230f87bc73a740948d36bcba7623b11 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Fri, 29 Jun 2018 13:27:14 -0700 Subject: [PATCH 1/2] Fix namedtuple(...verbose=0) exception in Python 3.7 --- ruffus/task.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ruffus/task.py b/ruffus/task.py index e59a804..f3cc667 100644 --- a/ruffus/task.py +++ b/ruffus/task.py @@ -710,9 +710,7 @@ def job_wrapper_mkdir(params, user_defined_work_func, register_cleanup, touch_fi 'return_value ' 'exception ' 'params ' - 'unglobbed_params ', - verbose=0) - + 'unglobbed_params ') # _____________________________________________________________________________ From 6c52c1b6b63a843b592e8b8d37603d789f5d8811 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Fri, 29 Jun 2018 13:28:06 -0700 Subject: [PATCH 2/2] Remove os.stat_float_times call, since it was removed in Python 3.7 Deprecated since Python 3.3 --- ruffus/task.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ruffus/task.py b/ruffus/task.py index f3cc667..2ad354a 100644 --- a/ruffus/task.py +++ b/ruffus/task.py @@ -5968,13 +5968,6 @@ def pipeline_run(target_tasks=[], raise job_errors -# use high resolution timestamps where available -# default in python 2.5 and greater -# N.B. File modify times / stat values have 1 second precision for many file -# systems and may not be accurate to boot, especially over the network. -os.stat_float_times(True) - - if __name__ == '__main__': import unittest