GNU bug report logs - #66766
[PATCH 0/3] fix and update ansible to 8.5.0

Previous Next

Package: guix-patches;

Reported by: Jack Hill <jackhill <at> jackhill.us>

Date: Thu, 26 Oct 2023 18:37:02 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jack Hill <jackhill <at> jackhill.us>
Subject: bug#66766: closed (Re: [bug#66766] [PATCH v3 3/3] gnu: ansible:
 Update to 8.5.0.)
Date: Mon, 30 Oct 2023 11:35:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#66766: [PATCH 0/3] fix and update ansible to 8.5.0

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 66766 <at> debbugs.gnu.org.

-- 
66766: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66766
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Christopher Baines <mail <at> cbaines.net>
To: Jack Hill <jackhill <at> jackhill.us>
Cc: 66766-done <at> debbugs.gnu.org
Subject: Re: [bug#66766] [PATCH v3 3/3] gnu: ansible: Update to 8.5.0.
Date: Mon, 30 Oct 2023 11:31:19 +0000
[Message part 3 (text/plain, inline)]
Jack Hill <jackhill <at> jackhill.us> writes:

> * gnu/packages/admin.scm (ansible): Update to 8.5.0.
>
> Change-Id: I38ac84a0945f3ba10e13246cf8ae95c3795b52b3
> ---
>  gnu/packages/admin.scm | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

This patch, and the preceding ones look good to me. I've pushed them to
master as 85451b38dd175f8bd4bcb42336c895bdc9373d28.

Thanks,

Chris
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Jack Hill <jackhill <at> jackhill.us>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/3] fix and update ansible to 8.5.0
Date: Thu, 26 Oct 2023 14:35:44 -0400 (EDT)
Hi Guix,

These patches update ansible-core and ansible to their latest releases. 
Currently ansible-core doesn't build, so that is also fixed.

In ansible-core I've enabled some tests that were marked as failing 
before, but now pass. Also, if I just run ansible-test without specifying 
which copy to run, the one on PATH didn't work, and printed messages like

"""
Configured locale: en_US.UTF-8
FATAL: The current working directory must be within the source tree being tested.

Testing an Ansible collection: {...}/ansible_collections/{namespace}/{collection}/
Example #1: community.general -> ~/code/ansible_collections/community/general/
Example #2: ansible.util -> ~/.ansible/collections/ansible_collections/ansible/util/

Current working directory: /tmp/guix-build-ansible-core-2.15.5.drv-0/ansible-core-2.15.5/
No "ansible_collections" parent directory was found.
Cannot test "/tmp/guix-build-ansible-core-2.15.5.drv-0/ansible-core-2.15.5" with ansible-test from "/gnu/store/56zvvfavw59v57wi0c3lvwp27fjswa8l-ansible-core-2.15.5/lib/python3.10/site-packages/ansible_test".

Did you intend to run "/tmp/guix-build-ansible-core-2.15.5.drv-0/ansible-core-2.15.5/bin/ansible-test" instead?
"""

So far, so good, but I'm not sure if this is yet ready to merge. Other 
than running `ansible --version` I haven't had a chance to test it. I'd 
like to use it to create a back, but with `guix pack -RR ansible-core 
ansible glibc-locales bash` running `ansible --version` on a CentOS 7 system 
prints:

"""
ERROR: Ansible could not initialize the preferred locale: unsupported locale setting
"""

Also, it seems like the really useful commands are provided by 
ansible-core and not ansible, so I'm not sure if the former should be 
propagated in the latter? Maybe there is some other packaging bug?

Nevertheless, I think these changes are definitely an improvement over 
what we have now, so I wanted to share them to get feedback and maybe find 
a collaborator.

Jack Hill (3):
  gnu: ansible-core: Update to 2.15.5 and fix tests.
  gnu: Remove python-resolvelib <at> 0.5.
  gnu: ansible: Update to 8.5.0.

 gnu/packages/admin.scm      | 20 ++++++--------------
 gnu/packages/python-xyz.scm | 16 ----------------
 2 files changed, 6 insertions(+), 30 deletions(-)


base-commit: cbd20d627497053871db863970c07d93c7081786
-- 
2.41.0



This bug report was last modified 1 year and 263 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.