From: Arun Isaac <arunisaac@systemreboot.net>
To: 66690@debbugs.gnu.org
Cc: "Arun Isaac" <arunisaac@systemreboot.net>,
"Arun Isaac" <arunisaac@systemreboot.net>,
"Ludovic Courtès" <ludo@gnu.org>
Subject: [bug#66690] [PATCH v2 3/8] gnu: python-schema-salad: Update to 8.5.20240102191335.
Date: Thu, 15 Feb 2024 20:46:20 +0000 [thread overview]
Message-ID: <f20397e6cd488968c3d4a6e261ca3ee5db8c4ee1.1708029746.git.arunisaac@systemreboot.net> (raw)
In-Reply-To: <cover.1708029746.git.arunisaac@systemreboot.net>
* gnu/packages/bioinformatics.scm (python-schema-salad): Update to
8.5.20240102191335.
[native-inputs]: Add python-pytest-xdist.
[propagated-inputs]: Add python-importlib-resources and
python-mypy-extensions. Remove python-lockfile, python-rdflib-jsonld and
python-typing-extensions. Replace python-mistune with python-mistune-next.
[arguments]: Use G-expressions. Set exact version number. Skip more tests that
require network access.
Change-Id: I4de4704f58f40fdf9bf4c02e41c2c353beaa3eb2
---
gnu/packages/bioinformatics.scm | 61 ++++++++++++++++++++-------------
1 file changed, 38 insertions(+), 23 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 84577ef760..75cfad51a6 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -5001,37 +5001,52 @@ (define-public python-pyfasta
(define-public python-schema-salad
(package
(name "python-schema-salad")
- (version "8.2.20211116214159")
+ (version "8.5.20240102191335")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "schema-salad" version))
- (sha256
- (base32
- "005dh2y45x92zl8sf2sqjmfvcqr4hrz8dfckgkckv87003v7lwqc"))))
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "schema-salad" version))
+ (sha256
+ (base32
+ "035202p696i3jylb8b3nm9qcxsqby15hhqn1dl4nrz73a17p0ckx"))))
(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
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'set-version
+ (lambda _
+ ;; Set exact version.
+ (substitute* "setup.py"
+ (("use_scm_version=True")
+ (string-append "version=\"" #$version "\"")))))
+ (add-before 'check 'skip-failing-tests
+ (lambda _
+ ;; Skip tests that require network access.
+ (let ((skip-test
+ (lambda (test-pattern)
+ (string-append "@pytest.mark.skip(reason="
+ "\"test requires network access\")\n"
+ test-pattern))))
+ (substitute* "schema_salad/tests/test_cg.py"
+ (("^def test_(load(_by_yaml_metaschema|_metaschema|_cwlschema|)|include|idmap|idmap2)\\(" all)
+ (skip-test all)))
+ (substitute* "schema_salad/tests/test_cwl11.py"
+ (("^def test_(secondaryFiles|outputBinding|yaml_tab_error)\\(" all)
+ (skip-test all)))
+ (substitute* "schema_salad/tests/test_examples.py"
+ (("^def test_bad_schemas\\(" all)
+ (skip-test all)))))))))
(propagated-inputs
(list python-cachecontrol
- python-lockfile
- python-mistune
+ python-importlib-resources
+ python-mistune-next
+ python-mypy-extensions
python-rdflib
- python-rdflib-jsonld
python-requests
- python-ruamel.yaml
- python-typing-extensions))
+ python-ruamel.yaml))
(native-inputs
- (list python-black python-pytest python-pytest-runner))
+ (list python-black python-pytest python-pytest-runner python-pytest-xdist))
(home-page "https://github.com/common-workflow-language/schema_salad")
(synopsis "Schema Annotations for Linked Avro Data (SALAD)")
(description
--
2.41.0
next prev parent reply other threads:[~2024-02-15 20:48 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-22 22:27 [bug#66690] [PATCH 0/7] Upgrade cwltool Arun Isaac
2023-10-23 8:09 ` [bug#66690] [PATCH 1/7] gnu: python-ruamel.yaml.clib: Update to 0.2.7 Arun Isaac
2023-10-23 8:09 ` [bug#66690] [PATCH 2/7] gnu: python-ruamel.yaml: Update to 0.17.40 Arun Isaac
2023-10-23 8:09 ` [bug#66690] [PATCH 3/7] gnu: python-schema-salad: Update to 8.4.20230927144413 Arun Isaac
2023-10-23 8:09 ` [bug#66690] [PATCH 4/7] gnu: Add python-cwlformat Arun Isaac
2023-10-23 8:09 ` [bug#66690] [PATCH 5/7] gnu: Add python-cwl-upgrader Arun Isaac
2023-10-23 8:09 ` [bug#66690] [PATCH 6/7] gnu: Add python-cwl-utils Arun Isaac
2023-10-23 8:09 ` [bug#66690] [PATCH 7/7] gnu: cwltool: Update to 3.1.20230601100705 Arun Isaac
2023-11-22 14:37 ` [bug#66690] [PATCH 0/7] Upgrade cwltool Ludovic Courtès
2023-11-23 0:35 ` Arun Isaac
2024-02-15 20:46 ` [bug#66690] [PATCH v2 0/8] " Arun Isaac
2024-02-15 20:46 ` [bug#66690] [PATCH v2 1/8] gnu: python-ruamel.yaml.clib: Update to 0.2.8 Arun Isaac
2024-02-15 20:46 ` [bug#66690] [PATCH v2 2/8] gnu: python-ruamel-yaml: Update to 0.18.6 Arun Isaac
2024-02-15 20:46 ` Arun Isaac [this message]
2024-02-15 20:46 ` [bug#66690] [PATCH v2 4/8] gnu: Add python-cwlformat Arun Isaac
2024-02-15 20:46 ` [bug#66690] [PATCH v2 5/8] gnu: Add python-cwl-upgrader Arun Isaac
2024-02-15 20:46 ` [bug#66690] [PATCH v2 6/8] gnu: Add python-cwl-utils Arun Isaac
2024-02-15 20:46 ` [bug#66690] [PATCH v2 7/8] gnu: Add python-spython Arun Isaac
2024-02-15 20:46 ` [bug#66690] [PATCH v2 8/8] gnu: cwltool: Update to 3.1.20240112164112 Arun Isaac
2024-02-18 22:39 ` [bug#66690] [PATCH v2 0/8] Upgrade cwltool Ludovic Courtès
2024-02-22 13:16 ` bug#66690: " Arun Isaac
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f20397e6cd488968c3d4a6e261ca3ee5db8c4ee1.1708029746.git.arunisaac@systemreboot.net \
--to=arunisaac@systemreboot.net \
--cc=66690@debbugs.gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.