From: Jack Hill <jackhill@jackhill.us>
To: 66766@debbugs.gnu.org
Subject: [bug#66766] [PATCH v3 1/3] gnu: ansible-core: Update to 2.15.5 and fix tests.
Date: Fri, 27 Oct 2023 09:46:02 -0400 [thread overview]
Message-ID: <08dc3889305b13fa8cee6244474ed6a105dc30fb.1698414364.git.jackhill@jackhill.us> (raw)
In-Reply-To: <28cf2040-3e78-dc66-7a6e-1d8742ea16dc@jackhill.us>
* gnu/packages/admin.scm (ansible-core): Update to 2.15.5.
[#:phases]<check>: Enable tests that now pass and choose
the right ansible-test to invoke.
[propagated-inputs]: replace python-resolvelib-0.5 with python-resolvelib.
Change-Id: Ibda3222a16fefb1484affdb62e38a3a07ce61986
---
gnu/packages/admin.scm | 16 ++++------------
1 file changed, 4 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 67d836112d..9e28d2e8c0 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -2835,13 +2835,13 @@ (define-public fdupes
(define-public ansible-core
(package
(name "ansible-core")
- (version "2.14.4")
+ (version "2.15.5")
(source
(origin
(method url-fetch)
(uri (pypi-uri "ansible-core" version))
(sha256
- (base32 "057g87smxcn6zc558xk4zr6ga4q8clmkyxghn5gx60a94sy61clh"))))
+ (base32 "00hnwjk4dxgxbz4xlza2wqx20yks5xr7074hzlzsyja3ip5kkicc"))))
(build-system python-build-system)
(arguments
`(#:modules ((guix build python-build-system)
@@ -2911,14 +2911,6 @@ (define-public ansible-core
(when tests?
;; Otherwise Ansible fails to create its config directory.
(setenv "HOME" "/tmp")
- ;; This test module messes up with sys.path and causes many
- ;; test failures.
- (delete-file "test/units/_vendor/test_vendor.py")
- ;; The test fails when run in the container, for reasons
- ;; unknown.
- (delete-file "test/units/utils/test_display.py")
- ;; This test fail for reasons unknown.
- (delete-file "test/units/cli/test_adhoc.py")
;; These tests fail in the container; it appears that the
;; mocking of the absolute file names such as /usr/bin/svcs do
;; not work as intended there.
@@ -2933,7 +2925,7 @@ (define-public ansible-core
;; does some extra environment setup. Taken from
;; https://raw.githubusercontent.com/ansible/ansible/\
;; devel/test/utils/shippable/shippable.sh.
- (invoke "ansible-test" "units" "-v"
+ (invoke "./bin/ansible-test" "units" "-v"
"--num-workers" (number->string
(parallel-job-count)))))))))
(native-inputs
@@ -2954,7 +2946,7 @@ (define-public ansible-core
python-jinja2
python-pyyaml
python-packaging ;for version number parsing
- python-resolvelib-0.5))
+ python-resolvelib))
(home-page "https://www.ansible.com/")
(synopsis "Radically simple IT automation")
(description "Ansible aims to be a radically simple IT automation system.
base-commit: a69dec71493c1ecf06071d3304038f3648de69c4
--
2.41.0
next prev parent reply other threads:[~2023-10-27 13:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-26 18:35 [bug#66766] [PATCH 0/3] fix and update ansible to 8.5.0 Jack Hill
2023-10-26 18:38 ` [bug#66766] [PATCH 1/3] gnu: ansible-core: Update to 2.15.5 and fix tests Jack Hill
2023-10-26 18:38 ` [bug#66766] [PATCH 2/3] gnu: Remove python-resolvelib@0.5 Jack Hill
2023-10-26 18:38 ` [bug#66766] [PATCH 3/3] gnu: ansible: Update to 8.5.0 Jack Hill
2023-10-26 21:05 ` [bug#66766] [PATCH v2 1/3] gnu: ansible-core: Update to 2.15.5 and fix tests Jack Hill
2023-10-26 21:05 ` [bug#66766] [PATCH v2 2/3] gnu: Remove python-resolvelib@0.5 Jack Hill
2023-10-26 21:05 ` [bug#66766] [PATCH v2 3/3] gnu: ansible: Update to 8.5.0 Jack Hill
2023-10-27 13:46 ` Jack Hill [this message]
2023-10-27 13:46 ` [bug#66766] [PATCH v3 2/3] gnu: Remove python-resolvelib@0.5 Jack Hill
2023-10-27 13:46 ` [bug#66766] [PATCH v3 3/3] gnu: ansible: Update to 8.5.0 Jack Hill
2023-10-30 11:31 ` bug#66766: " Christopher Baines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=08dc3889305b13fa8cee6244474ed6a105dc30fb.1698414364.git.jackhill@jackhill.us \
--to=jackhill@jackhill.us \
--cc=66766@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.