diff options
| author | Vinicius Monego <monego@posteo.net> | 2025-06-26 01:50:04 -0300 |
|---|---|---|
| committer | Vinicius Monego <monego@posteo.net> | 2025-06-29 00:04:42 -0300 |
| commit | 568f7329bca2d888c48cb73edcef4c6dab4ab26e (patch) | |
| tree | 46073d126ff075b350b6e526e0a6df0718f76f2a /gnu/packages/python-xyz.scm | |
| parent | 5bbe729803e60f4b945e0c9d1e14774977f3adf0 (diff) | |
gnu: python-cachelib: Update to 0.13.0.
* gnu/packages/python-xyz.scm (python-cachelib): Update to 0.13.0.
[build-system]: Use pyproject-build-system.
[arguments]<#:test-flags>: Skip failing tests.
<#:phases>: Do not override the 'check' phase.
[native-inputs]: Add python-setuptools, python-wheel.
[home-page]: Follow redirect.
Change-Id: I0b0e5337916fa2a015908d3949d9860516f1068d
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index af96590e98..23c75d31ce 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17876,25 +17876,21 @@ signature of a file or buffer.") (define-public python-cachelib (package (name "python-cachelib") - (version "0.4.1") + (version "0.13.0") (source (origin (method url-fetch) (uri (pypi-uri "cachelib" version)) (sha256 - (base32 "0p4chkvbvffcllsny5rpzmsq2vyr24ql3kzif4ha0fxp3fp7vqk8")))) - (build-system python-build-system) + (base32 "0j0s5vyhgka6g16a7n9g1fcc8wqxdl8rgzvlwaz9axf5wfb8k790")))) + (build-system pyproject-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? inputs outputs #:allow-other-keys) - (when tests? - (add-installed-pythonpath inputs outputs) - (invoke "pytest"))))))) + ;; These tests use a remote connection. + (list #:test-flags #~(list "--ignore" "tests/test_dynamodb_cache.py" + "--ignore" "tests/test_mongodb_cache.py"))) (native-inputs - (list python-pytest python-pytest-xprocess)) - (home-page "https://github.com/pallets/cachelib") + (list python-pytest python-pytest-xprocess python-setuptools python-wheel)) + (home-page "https://github.com/pallets-eco/cachelib") (synopsis "Collection of cache libraries") (description "Cachelib is a library extracted from @code{werkzeug} which provides a collection of cache libraries in the same API interface.") |
