From patchwork Thu Oct 26 18:35:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jack Hill X-Patchwork-Id: 1913 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D038A27BBE2; Thu, 26 Oct 2023 19:37:06 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 35C7227BBE9 for ; Thu, 26 Oct 2023 19:36:58 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qw5Dd-0007eL-Gv; Thu, 26 Oct 2023 14:36:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qw5Db-0007ds-Oa for guix-patches@gnu.org; Thu, 26 Oct 2023 14:36:31 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qw5Db-000508-Gv for guix-patches@gnu.org; Thu, 26 Oct 2023 14:36:31 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qw5E6-00086i-Ck for guix-patches@gnu.org; Thu, 26 Oct 2023 14:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66766] [PATCH 0/3] fix and update ansible to 8.5.0 Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 26 Oct 2023 18:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66766 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66766@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169834539831133 (code B ref -1); Thu, 26 Oct 2023 18:37:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Oct 2023 18:36:38 +0000 Received: from localhost ([127.0.0.1]:34472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qw5Di-000865-6t for submit@debbugs.gnu.org; Thu, 26 Oct 2023 14:36:38 -0400 Received: from lists.gnu.org ([2001:470:142::17]:33912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qw5Dc-00085n-To for submit@debbugs.gnu.org; Thu, 26 Oct 2023 14:36:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qw5D2-0007Ur-NK for guix-patches@gnu.org; Thu, 26 Oct 2023 14:35:56 -0400 Received: from minsky.hcoop.net ([104.248.1.95]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qw5Cv-0004ww-JX for guix-patches@gnu.org; Thu, 26 Oct 2023 14:35:56 -0400 Received: from [71.69.176.211] (helo=mimolette.local) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qw5Cr-0002Pp-Fm for guix-patches@gnu.org; Thu, 26 Oct 2023 14:35:45 -0400 Date: Thu, 26 Oct 2023 14:35:44 -0400 (EDT) From: Jack Hill Message-ID: <28cf2040-3e78-dc66-7a6e-1d8742ea16dc@jackhill.us> MIME-Version: 1.0 Received-SPF: pass client-ip=104.248.1.95; envelope-from=jackhill@jackhill.us; helo=minsky.hcoop.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches 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