guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/15: gnu: python-vcrpy: Update to 6.0.2.


From: guix-commits
Subject: 10/15: gnu: python-vcrpy: Update to 6.0.2.
Date: Sat, 23 Nov 2024 09:43:23 -0500 (EST)

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

commit 30b1c7bbfdae8ff15fc4a15e0a3e4a33e74b6ac7
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Nov 23 13:07:26 2024 +0000

    gnu: python-vcrpy: Update to 6.0.2.
    
    * gnu/packages/python-check.scm (python-vcrpy): Update to 6.0.2.
    [build-system]: Swap to pyproject-build-system.
    [arguments]<phases>: Use default 'check phase.
    [native-inputs]: Remove python-black, python-coverage, python-flake8,
    and python-tox; add nss-certs-for-test, python-setuptools, and
    python-wheel.
    
    Change-Id: Ie0e4fcd41bed09232c589a9486449f62377ae87e
---
 gnu/packages/python-check.scm | 41 +++++++++++++++++++++--------------------
 1 file changed, 21 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index cd41d64c82..b7c789243d 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -502,31 +502,26 @@ result documents that can be read by tools such as 
Jenkins or Bamboo.")
 (define-public python-vcrpy
   (package
     (name "python-vcrpy")
-    (version "4.1.1")
+    (version "6.0.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "vcrpy" version))
        (sha256
-        (base32 "16gmzxs3lzbgf1828n0q61vbmwyhpvzdlk37x6gdk8n05zr5n2ap"))))
-    (build-system python-build-system)
+        (base32 "02fwmmc33qqybzbj1lvdz458g1fffm5cgnqihj4larw4268kvqc8"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? outputs #:allow-other-keys)
-             (when tests?
-               (substitute* "tox.ini"
-                 (("AWS_ACCESS_KEY_ID") "PYTHONPATH"))
-               ;; These tests require network access.
-               (delete-file "tests/unit/test_stubs.py")
-               (invoke "pytest" "tests/unit")))))))
-    (propagated-inputs
-     (list python-pyyaml python-six python-wrapt python-yarl))
+     (list
+      #:test-flags
+      #~(list "--ignore=tests/integration"
+              "-k" (string-join
+                    ;; These tests require network access.
+                    (list "not testing_connect"
+                          "test_get_vcr_with_matcher"
+                          "test_testcase_playback")
+                    " and not "))))
     (native-inputs
-     (list python-black
-           python-coverage
-           python-flake8
+     (list nss-certs-for-test
            python-flask
            python-httplib2
            python-ipaddress
@@ -534,8 +529,14 @@ result documents that can be read by tools such as Jenkins 
or Bamboo.")
            python-pytest
            python-pytest-cov
            python-pytest-httpbin
-           python-tox
-           python-urllib3))
+           python-setuptools
+           python-urllib3
+           python-wheel))
+    (propagated-inputs
+     (list python-pyyaml
+           python-six
+           python-wrapt
+           python-yarl))
     (home-page "https://github.com/kevin1024/vcrpy";)
     (synopsis "Automatically mock your HTTP interactions")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]