[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: gnu: python-testpath: Update to 0.6.0.
From: |
guix-commits |
Subject: |
03/06: gnu: python-testpath: Update to 0.6.0. |
Date: |
Fri, 17 Jan 2025 18:11:59 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 5f661cb76e55b50a82cde6719b30c7bd295ca76e
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Jan 17 22:17:11 2025 +0000
gnu: python-testpath: Update to 0.6.0.
* gnu/packages/check.scm (python-testpath): Update to 0.6.0.
[build-system]: Swap to pyproject-build-system.
[arguments] <phases>: Remove 'relax-requirements. Use default 'build,
'check and 'install.
[native-inputs]: Remove python-pypa-build.
Change-Id: I510407b86a938151c20272bb8396529823f3fb48
---
gnu/packages/check.scm | 31 +++++--------------------------
1 file changed, 5 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 818119a8d7..47047de59e 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2604,7 +2604,7 @@ C/C++, R, and more, and uploads it to the
@code{codecov.io} service.")
(define-public python-testpath
(package
(name "python-testpath")
- (version "0.5.0")
+ (version "0.6.0")
(source
(origin
(method git-fetch)
@@ -2614,32 +2614,11 @@ C/C++, R, and more, and uploads it to the
@code{codecov.io} service.")
(file-name (git-file-name name version))
(sha256
(base32
- "08r1c6bhvj8pcdvzkqv1950k36a6q3v81fd2p1yqdq3c07mcwgif"))))
- (build-system python-build-system)
- (arguments
- (list
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'relax-requirements
- (lambda _
- (substitute* "pyproject.toml"
- (("flit_core >=3.2.0,<3.3")
- "flit_core >=3.2.0"))))
- ;; XXX: PEP 517 manual build copied from python-isort.
- (replace 'build
- (lambda _
- (invoke "python" "-m" "build" "--wheel" "--no-isolation" ".")))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest"))))
- (replace 'install
- (lambda _
- (let ((whl (car (find-files "dist" "\\.whl$"))))
- (invoke "pip" "--no-cache-dir" "--no-input"
- "install" "--no-deps" "--prefix" #$output whl)))))))
+ "0pib1xsvjwwyyhv0sqzxvgg814k83dmv1ppwfkkq9llkhr8k7s9y"))))
+ (build-system pyproject-build-system)
(native-inputs
- (list python-pypa-build python-flit-core python-pytest))
+ (list python-flit-core
+ python-pytest))
(home-page "https://github.com/jupyter/testpath")
(synopsis "Test utilities for code working with files and commands")
(description
- branch python-team updated (260e86126b -> 214c576f62), guix-commits, 2025/01/17
- 06/06: gnu: python-eventlet: Move to python-web., guix-commits, 2025/01/17
- 02/06: gnu: python-miio: Migrate to pyproject-build-system., guix-commits, 2025/01/17
- 04/06: gnu: python-typing-inspect: Update to 0.9.0., guix-commits, 2025/01/17
- 05/06: gnu: python-eventlet: Adjust inputs., guix-commits, 2025/01/17
- 01/06: gnu: python-sphinxcontrib-apidoc: Update to 0.5.0., guix-commits, 2025/01/17
- 03/06: gnu: python-testpath: Update to 0.6.0.,
guix-commits <=