mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
fa830bdd09
commit
befea34619
1 changed files with 21 additions and 20 deletions
|
@ -502,31 +502,26 @@ result documents that can be read by tools such as Jenkins or Bamboo.")
|
||||||
(define-public python-vcrpy
|
(define-public python-vcrpy
|
||||||
(package
|
(package
|
||||||
(name "python-vcrpy")
|
(name "python-vcrpy")
|
||||||
(version "4.1.1")
|
(version "6.0.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "vcrpy" version))
|
(uri (pypi-uri "vcrpy" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "16gmzxs3lzbgf1828n0q61vbmwyhpvzdlk37x6gdk8n05zr5n2ap"))))
|
(base32 "02fwmmc33qqybzbj1lvdz458g1fffm5cgnqihj4larw4268kvqc8"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:test-flags
|
||||||
(replace 'check
|
#~(list "--ignore=tests/integration"
|
||||||
(lambda* (#:key tests? outputs #:allow-other-keys)
|
"-k" (string-join
|
||||||
(when tests?
|
;; These tests require network access.
|
||||||
(substitute* "tox.ini"
|
(list "not testing_connect"
|
||||||
(("AWS_ACCESS_KEY_ID") "PYTHONPATH"))
|
"test_get_vcr_with_matcher"
|
||||||
;; These tests require network access.
|
"test_testcase_playback")
|
||||||
(delete-file "tests/unit/test_stubs.py")
|
" and not "))))
|
||||||
(invoke "pytest" "tests/unit")))))))
|
|
||||||
(propagated-inputs
|
|
||||||
(list python-pyyaml python-six python-wrapt python-yarl))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-black
|
(list nss-certs-for-test
|
||||||
python-coverage
|
|
||||||
python-flake8
|
|
||||||
python-flask
|
python-flask
|
||||||
python-httplib2
|
python-httplib2
|
||||||
python-ipaddress
|
python-ipaddress
|
||||||
|
@ -534,8 +529,14 @@ result documents that can be read by tools such as Jenkins or Bamboo.")
|
||||||
python-pytest
|
python-pytest
|
||||||
python-pytest-cov
|
python-pytest-cov
|
||||||
python-pytest-httpbin
|
python-pytest-httpbin
|
||||||
python-tox
|
python-setuptools
|
||||||
python-urllib3))
|
python-urllib3
|
||||||
|
python-wheel))
|
||||||
|
(propagated-inputs
|
||||||
|
(list python-pyyaml
|
||||||
|
python-six
|
||||||
|
python-wrapt
|
||||||
|
python-yarl))
|
||||||
(home-page "https://github.com/kevin1024/vcrpy")
|
(home-page "https://github.com/kevin1024/vcrpy")
|
||||||
(synopsis "Automatically mock your HTTP interactions")
|
(synopsis "Automatically mock your HTTP interactions")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue