[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
270/361: gnu: python-pytest-shutil: Update to 1.8.0.
From: |
guix-commits |
Subject: |
270/361: gnu: python-pytest-shutil: Update to 1.8.0. |
Date: |
Fri, 22 Nov 2024 06:00:56 -0500 (EST) |
andreas pushed a commit to branch python-team
in repository guix.
commit 710fb1ee5186156b264650116660aed048bab358
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Thu Nov 7 13:49:55 2024 +0000
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
---
gnu/packages/python-check.scm | 43 +++++++++++++++++++++----------------------
1 file changed, 21 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index fdfc3897cf..ec06cf96d8 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
- 236/361: gnu: python-lightning-utilities: Adjust inputs., (continued)
- 236/361: gnu: python-lightning-utilities: Adjust inputs., guix-commits, 2024/11/22
- 243/361: gnu: python-twine: Adjust inputs., guix-commits, 2024/11/22
- 244/361: gnu: python-notebook: Disable more failing tests., guix-commits, 2024/11/22
- 246/361: gnu: python-docstring-to-markdown: Adjust inputs., guix-commits, 2024/11/22
- 255/361: gnu: Add python-stdio-mgr., guix-commits, 2024/11/22
- 259/361: gnu: python-elasticsearch: Update to 7.17.12., guix-commits, 2024/11/22
- 258/361: gnu: python-scrapy: Fix build., guix-commits, 2024/11/22
- 260/361: gnu: ytcc: Fix build., guix-commits, 2024/11/22
- 269/361: gnu: python-pytest-openfiles: Adjust inputs., guix-commits, 2024/11/22
- 271/361: gnu: python-pytest-virtualenv: Update to 1.8.0., guix-commits, 2024/11/22
- 270/361: gnu: python-pytest-shutil: Update to 1.8.0.,
guix-commits <=
- 286/361: gnu: Add python-poetry-plugin-export., guix-commits, 2024/11/22
- 287/361: gnu: Add python-pypa-installer., guix-commits, 2024/11/22
- 288/361: gnu: poetry: Fix build., guix-commits, 2024/11/22
- 294/361: gnu: Remove python-pyproject-metadata-0.7., guix-commits, 2024/11/22
- 295/361: gnu: python-distributed: Adjust inputs., guix-commits, 2024/11/22
- 302/361: gnu: Remove python-pluggy-next., guix-commits, 2024/11/22
- 332/361: gnu: python-jsonschema: Update to 4.23.0., guix-commits, 2024/11/22
- 333/361: gnu: python-mypy: Update to 1.13.0., guix-commits, 2024/11/22
- 334/361: gnu: python-pytest-mypy: Update to 0.10.3., guix-commits, 2024/11/22
- 343/361: gnu: python-xlsxwriter: Update to 3.2.0., guix-commits, 2024/11/22