summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2023-09-11 16:24:42 +0800
committerMarius Bakke <marius@gnu.org>2023-09-22 01:29:20 +0800
commit36821b23b7f5320a6d3926afcff22d2bfe3ed0eb (patch)
tree8e78426a743027de936ce9cade7f5f52cb76081b
parenta0aff95db93f2730b57fe3411fdf2e1d8eb194ff (diff)
downloadguix-36821b23b7f5320a6d3926afcff22d2bfe3ed0eb.tar.gz
gnu: python-cachetools: Update to 5.3.1.
* gnu/packages/python-xyz.scm (python-cachetools): Update to 5.3.1.
* gnu/packages/matrix.scm (python-matrix-nio)[arguments]: Add phase to loosen
cachetools requirement.
-rw-r--r--gnu/packages/matrix.scm7
-rw-r--r--gnu/packages/python-xyz.scm4
2 files changed, 9 insertions, 2 deletions
diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm
index 6107dfc979..32ae62fcb4 100644
--- a/gnu/packages/matrix.scm
+++ b/gnu/packages/matrix.scm
@@ -171,6 +171,13 @@ homeserver and generally help bootstrap the ecosystem.")
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'relax-requirements
+           (lambda _
+             (substitute* "pyproject.toml"
+               ;; Remove upper bounds of cachetool pin.
+               (("cachetools (.*version = )\"\\^4" _ match)
+                (string-append "cachetools " match
+                               "\">=4")))))
          (add-before 'check 'install-tests
            (lambda* (#:key inputs outputs #:allow-other-keys)
              (copy-recursively (string-append
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5445318157..d569e334d6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -742,13 +742,13 @@ from a docstring rather than the other way around.")
 (define-public python-cachetools
   (package
     (name "python-cachetools")
-    (version "4.2.2")
+    (version "5.3.1")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "cachetools" version))
               (sha256
                (base32
-                "1zqc098gk6y614lxwqd9z2gm8lldgvrpid133pnlm4m048gfvdb1"))))
+                "0azn5c4nkwpq7s5wjzs605if9nxjzblghjnlihm767sfkcnkzs6w"))))
     (build-system python-build-system)
     (home-page "https://github.com/tkem/cachetools/")
     (synopsis "Extensible memoizing collections and decorators")