[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/78: gnu: python-schema-salad: Update to 8.5.20240102191335.
From: |
guix-commits |
Subject: |
12/78: gnu: python-schema-salad: Update to 8.5.20240102191335. |
Date: |
Fri, 23 Feb 2024 03:11:58 -0500 (EST) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit ba5767a4438a372b69edd1ac7359caf8f8303671
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Sun Oct 22 12:41:28 2023 +0100
gnu: python-schema-salad: Update to 8.5.20240102191335.
* 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
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
---
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 5ec7075665..935126d782 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -4994,37 +4994,52 @@ Note that this package has been deprecated in favor of
@code{pyfaidx}.")
(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
- 04/78: gnu: vim-asyncrun: Update to 2.12.4., (continued)
- 04/78: gnu: vim-asyncrun: Update to 2.12.4., guix-commits, 2024/02/23
- 08/78: gnu: emacs-tramp: Update to 2.6.2.1., guix-commits, 2024/02/23
- 05/78: gnu: Add neovim-asyncrun., guix-commits, 2024/02/23
- 11/78: gnu: python-ruamel-yaml: Update to 0.18.6., guix-commits, 2024/02/23
- 09/78: gnu: tigervnc-client: Update to 1.13.1., guix-commits, 2024/02/23
- 10/78: gnu: python-ruamel.yaml.clib: Update to 0.2.8., guix-commits, 2024/02/23
- 13/78: gnu: Add python-cwlformat., guix-commits, 2024/02/23
- 14/78: gnu: Add python-cwl-upgrader., guix-commits, 2024/02/23
- 16/78: gnu: Add python-spython., guix-commits, 2024/02/23
- 18/78: gnu: Add xpenguins., guix-commits, 2024/02/23
- 12/78: gnu: python-schema-salad: Update to 8.5.20240102191335.,
guix-commits <=
- 15/78: gnu: Add python-cwl-utils., guix-commits, 2024/02/23
- 17/78: gnu: cwltool: Update to 3.1.20240112164112., guix-commits, 2024/02/23
- 20/78: gnu: virglrenderer: Update to 1.0.1., guix-commits, 2024/02/23
- 29/78: gnu: emacs-auctex: Update to 14.0.3., guix-commits, 2024/02/23
- 30/78: gnu: emacs-mmm-mode: Update to 0.5.11., guix-commits, 2024/02/23
- 40/78: gnu: emacs-dtrt-indent: Update to 1.17., guix-commits, 2024/02/23
- 42/78: gnu: emacs-edit-indirect: Update to 0.1.13., guix-commits, 2024/02/23
- 38/78: gnu: emacs-corfu: Update to 1.2., guix-commits, 2024/02/23
- 49/78: gnu: emacs-goggles: Update to 0.4., guix-commits, 2024/02/23
- 57/78: gnu: emacs-nodejs-repl: Improve package style., guix-commits, 2024/02/23