summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-11-23 13:07:26 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-12-13 20:23:31 +0000
commitbefea34619b05f2322a485dc10576005e3c8eb28 (patch)
treebbe54863ee9368285c2cefa080960e8099e2ecf6 /gnu/packages/python-check.scm
parentfa830bdd095da87214eb49dbf583e508aa8f0ebd (diff)
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
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm41
1 files changed, 21 insertions, 20 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index f009acacb8b..fa5c2f4af09 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.")
502(define-public python-vcrpy 502(define-public python-vcrpy
503 (package 503 (package
504 (name "python-vcrpy") 504 (name "python-vcrpy")
505 (version "4.1.1") 505 (version "6.0.2")
506 (source 506 (source
507 (origin 507 (origin
508 (method url-fetch) 508 (method url-fetch)
509 (uri (pypi-uri "vcrpy" version)) 509 (uri (pypi-uri "vcrpy" version))
510 (sha256 510 (sha256
511 (base32 "16gmzxs3lzbgf1828n0q61vbmwyhpvzdlk37x6gdk8n05zr5n2ap")))) 511 (base32 "02fwmmc33qqybzbj1lvdz458g1fffm5cgnqihj4larw4268kvqc8"))))
512 (build-system python-build-system) 512 (build-system pyproject-build-system)
513 (arguments 513 (arguments
514 `(#:phases 514 (list
515 (modify-phases %standard-phases 515 #:test-flags
516 (replace 'check 516 #~(list "--ignore=tests/integration"
517 (lambda* (#:key tests? outputs #:allow-other-keys) 517 "-k" (string-join
518 (when tests? 518 ;; These tests require network access.
519 (substitute* "tox.ini" 519 (list "not testing_connect"
520 (("AWS_ACCESS_KEY_ID") "PYTHONPATH")) 520 "test_get_vcr_with_matcher"
521 ;; These tests require network access. 521 "test_testcase_playback")
522 (delete-file "tests/unit/test_stubs.py") 522 " and not "))))
523 (invoke "pytest" "tests/unit")))))))
524 (propagated-inputs
525 (list python-pyyaml python-six python-wrapt python-yarl))
526 (native-inputs 523 (native-inputs
527 (list python-black 524 (list nss-certs-for-test
528 python-coverage
529 python-flake8
530 python-flask 525 python-flask
531 python-httplib2 526 python-httplib2
532 python-ipaddress 527 python-ipaddress
@@ -534,8 +529,14 @@ result documents that can be read by tools such as Jenkins or Bamboo.")
534 python-pytest 529 python-pytest
535 python-pytest-cov 530 python-pytest-cov
536 python-pytest-httpbin 531 python-pytest-httpbin
537 python-tox 532 python-setuptools
538 python-urllib3)) 533 python-urllib3
534 python-wheel))
535 (propagated-inputs
536 (list python-pyyaml
537 python-six
538 python-wrapt
539 python-yarl))
539 (home-page "https://github.com/kevin1024/vcrpy") 540 (home-page "https://github.com/kevin1024/vcrpy")
540 (synopsis "Automatically mock your HTTP interactions") 541 (synopsis "Automatically mock your HTTP interactions")
541 (description 542 (description