GNU bug report logs -
#66690
[PATCH 0/7] Upgrade cwltool
Previous Next
Reported by: Arun Isaac <arunisaac <at> systemreboot.net>
Date: Sun, 22 Oct 2023 22:29:02 UTC
Severity: normal
Tags: moreinfo, patch
Done: Arun Isaac <arunisaac <at> systemreboot.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
* gnu/packages/bioinformatics.scm (python-schema-salad): Update to
8.4.20230927144413.
[propagated-inputs]: Add python-importlib-resources. Replace python-mistune
with python-mistune-next.
[arguments]: Use G-expressions. Set exact version number. Remove arguments
that pytest does not recognize. Skip more tests that require network
access. Skip tests using #:test-flags.
---
gnu/packages/bioinformatics.scm | 48 +++++++++++++++++++++++----------
1 file changed, 34 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index a1eac184ad..c6819316ae 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -8,7 +8,7 @@
;;; Copyright © 2016, 2020, 2022 Marius Bakke <marius <at> gnu.org>
;;; Copyright © 2016, 2018 Raoul Bonnal <ilpuccio.febo <at> gmail.com>
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me <at> tobias.gr>
-;;; Copyright © 2017, 2021, 2022 Arun Isaac <arunisaac <at> systemreboot.net>
+;;; Copyright © 2017, 2021, 2022, 2023 Arun Isaac <arunisaac <at> systemreboot.net>
;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua <at> nextjournal.com>
;;; Copyright © 2018 Gábor Boskovits <boskovits <at> gmail.com>
;;; Copyright © 2018-2023 Mădălin Ionel Patrașcu <madalinionel.patrascu <at> mdc-berlin.de>
@@ -4327,30 +4327,50 @@ (define-public python-pybigwig
(define-public python-schema-salad
(package
(name "python-schema-salad")
- (version "8.2.20211116214159")
+ (version "8.4.20230927144413")
(source
(origin
(method url-fetch)
(uri (pypi-uri "schema-salad" version))
(sha256
(base32
- "005dh2y45x92zl8sf2sqjmfvcqr4hrz8dfckgkckv87003v7lwqc"))))
+ "0d0mm1cwrdmz2yplfi7vgqjsfaz4z3rdm2gx2103176jdsiwq610"))))
(build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-before 'check 'skip-failing-tests
- (lambda _
- ;; Skip tests that require network access.
- (substitute* "schema_salad/tests/test_cwl11.py"
- (("^def test_(secondaryFiles|outputBinding)" all)
- (string-append "@pytest.mark.skip(reason="
- "\"test requires network access\")\n"
- all))))))))
+ (list
+ #:test-flags
+ ;; Skip tests that require network access.
+ #~(list "-k"
+ (string-append "not test_secondaryFiles"
+ " and not test_outputBinding"
+ " and not test_yaml_tab_error"
+ " and not test_idmap"
+ " and not test_idmap2"
+ " and not test_include"
+ " and not test_load"
+ " and not test_load_cwlschema"
+ " and not test_load_by_yaml_metaschema"
+ " and not test_load_metaschema"
+ " and not test_bad_schemas"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'set-version
+ (lambda _
+ (substitute* "setup.py"
+ ;; Set exact version number.
+ (("version=\"[[:digit:].]*\"")
+ (string-append "version=\"" #$version "\"")))))
+ (add-after 'unpack 'fix-pytest-arguments
+ (lambda _
+ (substitute* "tox.ini"
+ ;; pytest does not recognize the -n auto arguments. Remove
+ ;; them.
+ (("addopts=-n auto") "")))))))
(propagated-inputs
(list python-cachecontrol
+ python-importlib-resources
python-lockfile
- python-mistune
+ python-mistune-next
python-rdflib
python-rdflib-jsonld
python-requests
--
2.41.0
This bug report was last modified 1 year and 93 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.