diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-11-07 13:49:55 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-13 20:19:05 +0000 |
commit | 44f820d427a67d8bcbe2b4eea456f37ecdbe55f1 (patch) | |
tree | cb1c8e0c4f5d509c614e49b75322943f5bb83647 /gnu/packages | |
parent | 90456b324290a6839ba0b77fa84a80caa72b020f (diff) | |
download | guix-44f820d427a67d8bcbe2b4eea456f37ecdbe55f1.tar.gz guix-44f820d427a67d8bcbe2b4eea456f37ecdbe55f1.zip |
gnu: python-pytest-shutil: Update to 1.8.0.
* gnu/packages/python-check.scm (python-pytest-shutil): Update to 1.8.0.
[arguments]<test-flags>: Enable all tests as they have no regressions.
<phases>: Remove use-path-instead-of-path.py as resolved in upstream.
[propagated-inputs]: Remove python-contextlib2; add python-mock and
python-six.
[native-inputs]: Remove python-mock; add python-setuptools and
python-wheel.
Change-Id: I2191387cce678801ea6016a1ff2a9ed78c415a82
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/python-check.scm | 43 |
1 files changed, 21 insertions, 22 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 0aaefd4b5d..c9164251f7 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1453,39 +1453,38 @@ isort.") (define-public python-pytest-shutil (package (name "python-pytest-shutil") - (version "1.7.0") + (version "1.8.0") (source (origin (method url-fetch) (uri (pypi-uri "pytest-shutil" version)) (sha256 (base32 - "0q8j0ayzmnvlraml6i977ybdq4xi096djhf30n2m1rvnvrhm45nq")))) + "18283zgs3z61paymzf0pp5x3di3hg3m91pvb3v7bmz3fggphdl5a")))) (build-system pyproject-build-system) (arguments (list - #:test-flags - ;; This test is sensitive to generated terminal escape codes. - '(list "-k" "not test_pretty_formatter") #:phases - '(modify-phases %standard-phases - (add-after 'unpack 'use-path-instead-of-path.py - ;; path.py is obsolete. - (lambda _ - (substitute* "setup.py" - (("'path.py'") "'path'")))) - (add-after 'unpack 'patch-tests - (lambda _ - (mkdir "/tmp/bin") - (substitute* "tests/integration/test_cmdline_integration.py" - (("dirname = '/bin'") - "dirname = '/tmp/bin'") - (("bindir = os.path.realpath\\('/bin'\\)") - "bindir = os.path.realpath('/tmp/bin')"))))))) - (propagated-inputs - (list python-contextlib2 python-execnet python-path python-termcolor)) + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-tests + (lambda _ + (mkdir "/tmp/bin") + (substitute* "tests/integration/test_cmdline_integration.py" + (("dirname = '/bin'") + "dirname = '/tmp/bin'") + (("bindir = os.path.realpath\\('/bin'\\)") + "bindir = os.path.realpath('/tmp/bin')"))))))) (native-inputs - (list python-mock python-pytest python-setuptools-git)) + (list python-pytest + python-setuptools + python-setuptools-git + python-wheel)) + (propagated-inputs + (list python-execnet + python-mock + python-path + python-six + python-termcolor)) (home-page "https://github.com/manahl/pytest-plugins") (synopsis "Assorted shell and environment tools for py.test") (description |