all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#66766] [PATCH 0/3] fix and update ansible to 8.5.0
@ 2023-10-26 18:35 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
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Jack Hill @ 2023-10-26 18:35 UTC (permalink / raw)
  To: 66766

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@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




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-10-30 11:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [bug#66766] [PATCH v3 1/3] gnu: ansible-core: Update to 2.15.5 and fix tests Jack Hill
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

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.