guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 9a9cd904ed2a5ba3687d7e07bca02b1c506ae901
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Jun 27 23:44:25 2026 +0100

    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.
---
 gnu/packages/python-web.scm | 36 +++++++++++++++++++-----------------
 1 file changed, 19 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 69c19dc67b..2c5f19a255 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3696,24 +3696,25 @@ for resource properties and best practices.")
 (define-public python-requests-cache
   (package
     (name "python-requests-cache")
-    (version "1.2.1")
+    (version "1.3.2")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "requests_cache" version))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/requests-cache/requests-cache";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "1l8i4l2pd26gbrlcdb5z056wvsqfr3vvbyqq2f8x1f65zn3ckav8"))))
+        (base32 "1yhvidmmd02c95i1hamyy34rb3wfzgzxil2k8ay1p4r4kv7pjada"))))
     (build-system pyproject-build-system)
     (arguments
      (list
+      ;; tests: 429 passed, 1051 warnings
       #:test-flags
       #~(list "--numprocesses" (number->string (parallel-job-count))
               ;; These tests require access to external services, e.g. MongoDB
               ;; and Redis.
-              "--ignore=tests/integration"
-              ;; AttributeError: <class 'requests.adapters.HTTPAdapter'> does
-              ;; not have the attribute 'get_connection_with_tls_context'
-              "-k" "not test_mock_session")
+              "--ignore=tests/integration")
       #:phases
       #~(modify-phases %standard-phases
           (add-before 'check 'pre-check
@@ -3722,7 +3723,7 @@ for resource properties and best practices.")
               ;; '/homeless-shelter'
               (setenv "HOME" "/tmp"))))))
     (native-inputs
-     (list python-poetry-core
+     (list python-hatchling
            python-pytest
            python-pytest-rerunfailures
            python-pytest-xdist
@@ -3734,19 +3735,20 @@ for resource properties and best practices.")
            python-timeout-decorator))
     (propagated-inputs
      (list python-attrs
-           python-boto3
-           python-bson
            python-cattrs
-           python-itsdangerous
-           python-orjson
            python-platformdirs
+           python-requests
+           python-url-normalize
+           python-urllib3
+           ;; [optional]
+           python-boto3
+           python-botocore
+           python-itsdangerous
+           python-orjson        ;Python version < 3.14
            python-pymongo
            python-pyyaml
            python-redis
-           python-requests
-           python-ujson
-           python-url-normalize
-           python-urllib3))
+           python-ujson))
     (home-page "https://github.com/requests-cache/requests-cache";)
     (synopsis "Persistent HTTP cache for Python requests")
     (description

Reply via email to