gnu: python-asdf-standard: Update to 1.1.1.

* gnu/packages/astronomy.scm (python-asdf-standard): Update to 1.1.1.
[arguments] <#:phases>: Swap 'remove-blocking-tests phases to use <#:test-flags>.
<#:test-flags>: Add more file to ignore to break cycle with python-asdf.

Change-Id: I8c80d4371adf55de77ef718a21bf8599d0fce17e
This commit is contained in:
Sharlatan Hellseher 2024-03-09 18:17:23 +00:00
parent 5754757486
commit 87d5ae0093
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -4297,25 +4297,24 @@ (define-public python-asdf
(define-public python-asdf-standard
(package
(name "python-asdf-standard")
(version "1.0.3")
(version "1.1.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "asdf_standard" version))
(sha256
(base32
"0i7xdjwn5prg2hcnf1zhw57mszc68jjr5sv4rimpzcg7f2dgzn5g"))))
"00k1fzc8y8j0ar1chq0nqyfw8bgkkjgrkm32ibn0kz2vn715nlq1"))))
(build-system pyproject-build-system)
(arguments
(list #:phases #~(modify-phases %standard-phases
(add-before 'check 'remove-blocking-tests
(lambda _
;; Remove tests require python-asdf where
;; python-asdf require python-asdf-standard,
;; break circular dependencies.
(for-each delete-file
(list "tests/test_manifests.py"
"tests/test_integration.py")))))))
(list
#:test-flags
;; Remove tests requiring python-asdf where python-asdf requires
;; python-asdf-standard, break circular dependencies.
#~(list "--ignore=tests/test_asdf_schema.py"
"--ignore=tests/test_integration.py"
"--ignore=tests/test_manifests.py"
"--ignore=tests/test_yaml_schema.py")))
(native-inputs (list python-astropy
python-jsonschema
python-pypa-build