diff options
author | Sharlatan Hellseher <[email protected]> | 2024-11-23 13:07:26 +0000 |
---|---|---|
committer | Sharlatan Hellseher <[email protected]> | 2024-12-13 20:23:31 +0000 |
commit | befea34619b05f2322a485dc10576005e3c8eb28 (patch) | |
tree | bbe54863ee9368285c2cefa080960e8099e2ecf6 | |
parent | fa830bdd095da87214eb49dbf583e508aa8f0ebd (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
-rw-r--r-- | gnu/packages/python-check.scm | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index f009acacb8..fa5c2f4af0 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 |