From 563e4bd884f59f91d946de175f93fd423186843a Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 14 Apr 2021 22:36:58 +0530 Subject: gnu: cwltool: Update to 3.0.20210319143721. * gnu/packages/bioinformatics.scm (cwltool): Update to 3.0.20210319143721. [arguments]: In the loosen-version-restrictions phase, relax pytest version restriction. In the modify-tests phase, delete file tests/test_content_type.py since it contains tests that require network access. --- gnu/packages/bioinformatics.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 54641c6906..41ef4cd513 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2644,7 +2644,7 @@ (define-public python-schema-salad (define-public cwltool (package (name "cwltool") - (version "3.0.20201121085451") + (version "3.0.20210319143721") (source (origin (method git-fetch) (uri (git-reference @@ -2653,7 +2653,7 @@ (define-public cwltool (file-name (git-file-name name version)) (sha256 (base32 - "1awf99n7aglxc5zszrlrv6jxp355jp45ws7wpsgjlgcdv7advn0w")))) + "1sgs9ckyxb9f9169mc3wm9lnjg4080ai42xqsrwpw9l8apy4c9m5")))) (build-system python-build-system) (arguments `(#:phases @@ -2661,8 +2661,9 @@ (define-public cwltool (add-after 'unpack 'loosen-version-restrictions (lambda _ (substitute* "setup.py" - (("== 1.5.1") ">=1.5.1") ; prov - ((", < 3.5") "")) ; shellescape + (("== 1.5.1") ">=1.5.1") ; prov + ((", < 3.5") "") ; shellescape + ((" >= 6.0.2, < 6.2") "")) ; pytest #t)) (add-after 'unpack 'dont-use-git (lambda _ @@ -2674,6 +2675,7 @@ (define-public cwltool (add-after 'unpack 'modify-tests (lambda _ ;; Tries to connect to the internet. + (delete-file "tests/test_content_type.py") (delete-file "tests/test_udocker.py") (delete-file "tests/test_http_input.py") (substitute* "tests/test_load_tool.py" -- cgit v1.2.3