summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-05-03 11:21:37 +0200
committerRicardo Wurmus <rekado@elephly.net>2024-05-05 22:38:18 +0200
commitffffc0227a0c9b9d506cdb947469361f77afe8d6 (patch)
treeb02497aa1b2bd01578889326948361ed9e718141 /gnu/packages
parentcb9ec4c5c59d5a9b6d8d999acc7c84d5eff5e3b9 (diff)
downloadguix-ffffc0227a0c9b9d506cdb947469361f77afe8d6.tar.gz
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
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/fontutils.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 212c258aca..dcce09bd0e 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -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")