me
/
guix
Archived
1
0
Fork 0

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
master
Ricardo Wurmus 2024-05-03 11:21:37 +02:00
parent cb9ec4c5c5
commit ffffc0227a
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 6 additions and 1 deletions

View File

@ -1751,6 +1751,9 @@ generate bitmaps.")
(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 @@ generate bitmaps.")
(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")