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.
This commit is contained in:
Marius Bakke 2023-09-11 16:24:42 +08:00
parent a0aff95db9
commit 36821b23b7
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA
2 changed files with 9 additions and 2 deletions

View file

@ -171,6 +171,13 @@ (define-public python-matrix-nio
(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

View file

@ -742,13 +742,13 @@ (define-public python-argopt
(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")