me
/
guix
Archived
1
0
Fork 0

gnu: python-asdf: Update to 3.2.0.

* gnu/packages/astronomy.scm (python-asdf): Update to 3.2.0.
[arguments] <#:phases>: Replace 'fix-tests-setup with
'patch-pyprojectct-toml phase and add one more substitution rule.
[propagated-inputs]: Remove python-asdf-unit-schemas.

Change-Id: I9e7a0282ed0a9eb82a20988762792e10ae33496b
master
Sharlatan Hellseher 2024-04-16 15:11:44 +01:00
parent 8cea282efe
commit 51446076ca
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5
1 changed files with 9 additions and 7 deletions

View File

@ -4418,13 +4418,13 @@ between image and reference catalogs. Currently only aligning images with
(define-public python-asdf (define-public python-asdf
(package (package
(name "python-asdf") (name "python-asdf")
(version "3.1.0") (version "3.2.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "asdf" version)) (uri (pypi-uri "asdf" version))
(sha256 (sha256
(base32 "0fa6y3gmqc0y3nz0h68vq3a84pvx6gc5zp33wg8a4n9b4kipm464")))) (base32 "1wj556g15gwp6ir5hg083l15sifdsf23giqkx0jbn4lgdwjffbgr"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
@ -4432,12 +4432,15 @@ between image and reference catalogs. Currently only aligning images with
#~(list "-n" "auto" "-p" "no:legacypath") #~(list "-n" "auto" "-p" "no:legacypath")
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
;; ImportError: Error importing plugin " no:legacypath": No module (add-after 'unpack 'patch-pypojrect-toml
;; named ' no:legacypath'
(add-before 'check 'fix-tests-setup
(lambda _ (lambda _
(substitute* "pyproject.toml" (substitute* "pyproject.toml"
((".*:legacypath.*") ""))))))) ;; ImportError: Error importing plugin " no:legacypath": No
;; module named ' no:legacypath'
((".*:legacypath.*") "")
;; TypeError: Configuration.__init__() got an unexpected
;; keyword argument 'version_file'
(("version_file = \"asdf/_version.py\"") "")))))))
(native-inputs (native-inputs
(list python-fsspec (list python-fsspec
python-packaging python-packaging
@ -4451,7 +4454,6 @@ between image and reference catalogs. Currently only aligning images with
(propagated-inputs (propagated-inputs
(list python-asdf-standard (list python-asdf-standard
python-asdf-transform-schemas python-asdf-transform-schemas
python-asdf-unit-schemas
python-attrs ;; for vendorized jsonschema python-attrs ;; for vendorized jsonschema
python-importlib-metadata python-importlib-metadata
python-jmespath python-jmespath