guix_mirror_bot pushed a commit to branch master
in repository guix.
commit dc95ec12e89c44e3d2600393e68b71e9cf7111a1
Author: Hugo Buddelmeijer <[email protected]>
AuthorDate: Fri Dec 19 21:40:07 2025 +0100
gnu: Add python-pytest-docker-tools.
* gnu/packages/python-check.scm (python-pytest-docker-tools): New variable.
Change-Id: Icc5f93e61f32d4e00cf48db333c1270100e8b9b4
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-check.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 05a941cfbf..fb5b9f5dc1 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -65,6 +65,7 @@
#:use-module (gnu packages nss)
#:use-module (gnu packages check)
#:use-module (gnu packages django)
+ #:use-module (gnu packages docker)
#:use-module (gnu packages jupyter)
#:use-module (gnu packages maths)
#:use-module (gnu packages mpi)
@@ -2638,6 +2639,40 @@ to mark some tests as dependent from other tests. These
tests will then be
skipped if any of the dependencies did fail or has been skipped.")
(license license:asl2.0)))
+(define-public python-pytest-docker-tools
+ (package
+ (name "python-pytest-docker-tools")
+ (version "3.1.9")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Jc2k/pytest-docker-tools")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "06w89kvxqma5ns6gndmk6g048qpv10wdwf61ynii1mm1n0xy11sr"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; All other tests seem to require docker daemon running.
+ #~(list "tests/test_utils.py")))
+ (native-inputs
+ (list python-pytest
+ python-requests
+ python-setuptools))
+ (propagated-inputs
+ (list python-docker))
+ (home-page "https://github.com/Jc2k/pytest-docker-tools")
+ (synopsis "Test your built docker image")
+ (description
+ "This package is a set of opinionated helpers for creating py.test
fixtures
+for your smoke testing and integration testing. It strives to keep your
+environment definition declarative, like a docker-compose.yml. It embraces
+ py.test fixture overloading.")
+ (license license:asl2.0)))
+
(define-public python-pytest-doctest-custom
(package
(name "python-pytest-doctest-custom")