summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-06-27 23:44:25 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-08-08 23:02:17 +0100
commit20224036dd16fad03643482e4fa900598ec98642 (patch)
tree0789e883e7b7762bbbabdcc7637164601531032b /gnu/packages/python-web.scm
parent2fd67eef0e95933f1e3d48321506d97b1c52ea03 (diff)
gnu: python-requests-cache: Update to 1.3.2.
* gnu/packages/python-web.scm (python-requests-cache): Update to 1.3.2. [propagated-inputs]: Remove python-bson; add python-botocore. [native-inputs]: Remove python-poetry-core; add python-hatchling.
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm36
1 files changed, 19 insertions, 17 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 8d69861fccd..b6f620e078b 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3755,24 +3755,25 @@ for resource properties and best practices.")
3755(define-public python-requests-cache 3755(define-public python-requests-cache
3756 (package 3756 (package
3757 (name "python-requests-cache") 3757 (name "python-requests-cache")
3758 (version "1.2.1") 3758 (version "1.3.2")
3759 (source 3759 (source
3760 (origin 3760 (origin
3761 (method url-fetch) 3761 (method git-fetch)
3762 (uri (pypi-uri "requests_cache" version)) 3762 (uri (git-reference
3763 (url "https://github.com/requests-cache/requests-cache")
3764 (commit (string-append "v" version))))
3765 (file-name (git-file-name name version))
3763 (sha256 3766 (sha256
3764 (base32 "1l8i4l2pd26gbrlcdb5z056wvsqfr3vvbyqq2f8x1f65zn3ckav8")))) 3767 (base32 "1yhvidmmd02c95i1hamyy34rb3wfzgzxil2k8ay1p4r4kv7pjada"))))
3765 (build-system pyproject-build-system) 3768 (build-system pyproject-build-system)
3766 (arguments 3769 (arguments
3767 (list 3770 (list
3771 ;; tests: 429 passed, 1051 warnings
3768 #:test-flags 3772 #:test-flags
3769 #~(list "--numprocesses" (number->string (parallel-job-count)) 3773 #~(list "--numprocesses" (number->string (parallel-job-count))
3770 ;; These tests require access to external services, e.g. MongoDB 3774 ;; These tests require access to external services, e.g. MongoDB
3771 ;; and Redis. 3775 ;; and Redis.
3772 "--ignore=tests/integration" 3776 "--ignore=tests/integration")
3773 ;; AttributeError: <class 'requests.adapters.HTTPAdapter'> does
3774 ;; not have the attribute 'get_connection_with_tls_context'
3775 "-k" "not test_mock_session")
3776 #:phases 3777 #:phases
3777 #~(modify-phases %standard-phases 3778 #~(modify-phases %standard-phases
3778 (add-before 'check 'pre-check 3779 (add-before 'check 'pre-check
@@ -3781,7 +3782,7 @@ for resource properties and best practices.")
3781 ;; '/homeless-shelter' 3782 ;; '/homeless-shelter'
3782 (setenv "HOME" "/tmp")))))) 3783 (setenv "HOME" "/tmp"))))))
3783 (native-inputs 3784 (native-inputs
3784 (list python-poetry-core 3785 (list python-hatchling
3785 python-pytest 3786 python-pytest
3786 python-pytest-rerunfailures 3787 python-pytest-rerunfailures
3787 python-pytest-xdist 3788 python-pytest-xdist
@@ -3793,19 +3794,20 @@ for resource properties and best practices.")
3793 python-timeout-decorator)) 3794 python-timeout-decorator))
3794 (propagated-inputs 3795 (propagated-inputs
3795 (list python-attrs 3796 (list python-attrs
3796 python-boto3
3797 python-bson
3798 python-cattrs 3797 python-cattrs
3799 python-itsdangerous
3800 python-orjson
3801 python-platformdirs 3798 python-platformdirs
3799 python-requests
3800 python-url-normalize
3801 python-urllib3
3802 ;; [optional]
3803 python-boto3
3804 python-botocore
3805 python-itsdangerous
3806 python-orjson ;Python version < 3.14
3802 python-pymongo 3807 python-pymongo
3803 python-pyyaml 3808 python-pyyaml
3804 python-redis 3809 python-redis
3805 python-requests 3810 python-ujson))
3806 python-ujson
3807 python-url-normalize
3808 python-urllib3))
3809 (home-page "https://github.com/requests-cache/requests-cache") 3811 (home-page "https://github.com/requests-cache/requests-cache")
3810 (synopsis "Persistent HTTP cache for Python requests") 3812 (synopsis "Persistent HTTP cache for Python requests")
3811 (description 3813 (description