From 2dbf59fefb2d0c7cc267e0345ed319bb00a4b74b Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Fri, 31 Oct 2025 02:09:10 +0100 Subject: [PATCH] gnu: python-testpath: Move to (gnu packages python-build). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/check.scm (python-testpath): Move from here… * gnu/packages/python-build.scm (python-testpath): …to here. [native-inputs]: Replace python-pytest by python-pytest-bootstrap. Change-Id: I3796f3cddc366d86c99fcef72b7b950791e99ef2 Signed-off-by: Sharlatan Hellseher --- gnu/packages/check.scm | 26 -------------------------- gnu/packages/python-build.scm | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index a93b10293dc..dc9e93df60b 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2566,32 +2566,6 @@ to make testing async code easier.") C/C++, R, and more, and uploads it to the @code{codecov.io} service.") (license license:asl2.0))) -(define-public python-testpath - (package - (name "python-testpath") - (version "0.6.0") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/jupyter/testpath") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0pib1xsvjwwyyhv0sqzxvgg814k83dmv1ppwfkkq9llkhr8k7s9y")))) - (build-system pyproject-build-system) - (native-inputs - (list python-flit-core - python-pytest)) - (home-page "https://github.com/jupyter/testpath") - (synopsis "Test utilities for code working with files and commands") - (description - "Testpath is a collection of utilities for Python code working with files -and commands. It contains functions to check things on the file system, and -tools for mocking system commands and recording calls to those.") - (license license:expat))) - (define-public python-pytest-localserver (package (name "python-pytest-localserver") diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm index 866560168d8..4e520d67c82 100644 --- a/gnu/packages/python-build.scm +++ b/gnu/packages/python-build.scm @@ -126,6 +126,32 @@ matching of file paths.") stripped of Pytest specific details.") (license license:expat))) +(define-public python-testpath + (package + (name "python-testpath") + (version "0.6.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jupyter/testpath") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0pib1xsvjwwyyhv0sqzxvgg814k83dmv1ppwfkkq9llkhr8k7s9y")))) + (build-system pyproject-build-system) + (native-inputs + (list python-flit-core + python-pytest-bootstrap)) + (home-page "https://github.com/jupyter/testpath") + (synopsis "Test utilities for code working with files and commands") + (description + "Testpath is a collection of utilities for Python code working with files +and commands. It contains functions to check things on the file system, and +tools for mocking system commands and recording calls to those.") + (license license:expat))) + (define-public python-toml (package (name "python-toml")