summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorFoster Hangdaan <foster@hangdaan.email>2025-12-21 13:55:18 -0500
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-21 22:18:22 +0000
commit992bcd7eede06bd37e076cec17c03e7ca4dbdffe (patch)
treef67de5e4e50d8b27c61eafcbaa09b7c929eb29c3 /gnu
parent303b10692b8c7f792deeada14f5b6c5cc51362b8 (diff)
gnu: podman-compose: Update to 1.5.0.
* gnu/packages/containers.scm (podman-compose): Update to 1.5.0. [arguments] <test-flags>: Only run tests in `tests/unit`. [arguments] <phases>: Add before-checks phase to fix a ModuleNotFoundError. Change-Id: Ia9b8900bd71c848559b067d48e7eb4bf212f0f73 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/containers.scm16
1 files changed, 13 insertions, 3 deletions
diff --git a/gnu/packages/containers.scm b/gnu/packages/containers.scm
index d11cb8dfd0d..9260d2562f7 100644
--- a/gnu/packages/containers.scm
+++ b/gnu/packages/containers.scm
@@ -9,6 +9,7 @@
9;;; Copyright © 2024 Foundation Devices, Inc. <hello@foundation.xyz> 9;;; Copyright © 2024 Foundation Devices, Inc. <hello@foundation.xyz>
10;;; Copyright © 2024 Jean-Pierre De Jesus DIAZ <jean@foundation.xyz> 10;;; Copyright © 2024 Jean-Pierre De Jesus DIAZ <jean@foundation.xyz>
11;;; Copyright © 2025 Tomas Volf <~@wolfsden.cz> 11;;; Copyright © 2025 Tomas Volf <~@wolfsden.cz>
12;;; Copyright © 2025 Foster Hangdaan <foster@hangdaan.email>
12;;; 13;;;
13;;; This file is part of GNU Guix. 14;;; This file is part of GNU Guix.
14;;; 15;;;
@@ -702,7 +703,7 @@ To get @code{podman machine} working, install @code{qemu-minimal}, and
702(define-public podman-compose 703(define-public podman-compose
703 (package 704 (package
704 (name "podman-compose") 705 (name "podman-compose")
705 (version "1.2.0") 706 (version "1.5.0")
706 (source 707 (source
707 (origin 708 (origin
708 (method git-fetch) 709 (method git-fetch)
@@ -711,11 +712,20 @@ To get @code{podman machine} working, install @code{qemu-minimal}, and
711 (commit (string-append "v" version)))) 712 (commit (string-append "v" version))))
712 (file-name (git-file-name name version)) 713 (file-name (git-file-name name version))
713 (sha256 714 (sha256
714 (base32 "06vm088q1x7j929n93ylq3bav716bqh6l79agj8sgzsqxjsmli73")))) 715 (base32 "08pz9axvgfyr0jd8rlndmhh8147s864mz17ng6qs07831g9ylj80"))))
715 (build-system pyproject-build-system) 716 (build-system pyproject-build-system)
716 (arguments 717 (arguments
717 (list 718 (list
718 #:test-flags #~(list "pytests"))) 719 ;; Only run tests in `tests/unit`, skipping the ones in
720 ;; `tests/integration`. The integration tests need an environment with the
721 ;; ability to manage containers and volumes using the `podman` command.
722 #:test-flags #~(list "tests/unit")
723 #:phases
724 #~(modify-phases %standard-phases
725 (add-before 'check 'pre-check
726 (lambda _
727 ;; This fixes "ModuleNotFoundError: No module named 'tests'"
728 (invoke "touch" "tests/__init__.py"))))))
719 (native-inputs (list python-pytest python-parameterized python-setuptools python-wheel)) 729 (native-inputs (list python-pytest python-parameterized python-setuptools python-wheel))
720 (propagated-inputs (list python-dotenv python-pyyaml)) 730 (propagated-inputs (list python-dotenv python-pyyaml))
721 (home-page "https://github.com/containers/podman-compose") 731 (home-page "https://github.com/containers/podman-compose")