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.
parent
a0aff95db9
commit
36821b23b7
|
@ -171,6 +171,13 @@ homeserver and generally help bootstrap the ecosystem.")
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-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
|
(add-before 'check 'install-tests
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(copy-recursively (string-append
|
(copy-recursively (string-append
|
||||||
|
|
|
@ -742,13 +742,13 @@ from a docstring rather than the other way around.")
|
||||||
(define-public python-cachetools
|
(define-public python-cachetools
|
||||||
(package
|
(package
|
||||||
(name "python-cachetools")
|
(name "python-cachetools")
|
||||||
(version "4.2.2")
|
(version "5.3.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "cachetools" version))
|
(uri (pypi-uri "cachetools" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1zqc098gk6y614lxwqd9z2gm8lldgvrpid133pnlm4m048gfvdb1"))))
|
"0azn5c4nkwpq7s5wjzs605if9nxjzblghjnlihm767sfkcnkzs6w"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(home-page "https://github.com/tkem/cachetools/")
|
(home-page "https://github.com/tkem/cachetools/")
|
||||||
(synopsis "Extensible memoizing collections and decorators")
|
(synopsis "Extensible memoizing collections and decorators")
|
||||||
|
|
Reference in New Issue