mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: python-statmake: Adjust tests and version checks.
* gnu/packages/fontutils.scm (python-statmake)[arguments]: Disable broken test; relax check for cattrs. Change-Id: Ibd479743160d3591088d17635e26484e7de5250f
This commit is contained in:
parent
cb9ec4c5c5
commit
ffffc0227a
1 changed files with 6 additions and 1 deletions
|
@ -1751,6 +1751,9 @@ (define-public python-statmake
|
|||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags
|
||||
;; The code no longer raises <class 'ValueError'>
|
||||
'(list "-k" "not test_load_stylespace_broken_range")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'adjust-for-older-attrs
|
||||
|
@ -1760,7 +1763,9 @@ (define-public python-statmake
|
|||
(lambda _
|
||||
(substitute* "pyproject.toml"
|
||||
(("attrs = \">=21.3\"")
|
||||
"attrs = \">=21.2\""))
|
||||
"attrs = \">=21.2\"")
|
||||
(("cattrs = \">=22.2\"")
|
||||
"cattrs = \">=22.1\""))
|
||||
(substitute* (find-files "." "\\.py$")
|
||||
(("from attrs\\b")
|
||||
"from attr")
|
||||
|
|
Loading…
Reference in a new issue