From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 6HgdLFy/O2WIMAEAG6o9tA:P1 (envelope-from ) for ; Fri, 27 Oct 2023 15:47:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6HgdLFy/O2WIMAEAG6o9tA (envelope-from ) for ; Fri, 27 Oct 2023 15:47:08 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7065A52AB0 for ; Fri, 27 Oct 2023 15:47:08 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698414428; a=rsa-sha256; cv=none; b=rp3OC+Kfyqi8FRE9ZNfmEMTgGtZ/n0b0vtecMkZ5yMKmR9GgY3YyNY/orJ0G76jIGhTztg JrYGGER9frGnzx0GYXmktV22mnIOwC6SfGyzq1a2/W8lfBx4I2qMS303ZgQfcWBzF3Ll58 hH3INOaewUQ1Ua5Tx+CitZ9KR8CSsb3v3/rTiCiJtgPnNO2SSsBkl/Mt0mdfuoALGzKUfE s7OLfpArpGUsZxUwggwRoXIoh0iaTr9Qw9Y0ed4nrUQs1Xl4fMjJidE0obQEMCmIs600z5 rrB5hH5Hq950TSmVFBmztbJsiHFM97G5J3WzUJdC4N9buJoMzIYSEERI8YbJVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698414428; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=5tLSesn8gYkM10qK5Gc3ugd6VNuj/xAJl0yM/nZfJOc=; b=F8x0Y+8GXQPr25tFQ2cx+gKKj5QflC3H0Q8EN8wsTKJHqGIirknU4mypBqthRHR9sX+yaT S/PjA63amJxr1R2e+7UBoUiwAfQdr5IWy/z0inw3buAJBSOSWl+0rxvZR1tfyXZX5DGTKf p1k6lWZfgcrP/uqHVyaH3Vo1ZN2CE+EyYxVtsm06/ji59LJ5kICoMAbjWy4zj3JPYVSaDj 2b+ZZiF9gAFYQEwZmVhDcQ2le1pbIW/8Qd03zQm3Ly4YMPcoGqOwrELi2X+TRDfN4p0k24 YQMEIyNTshrb0W3J3lonEB/L1PmbIYkXx6THjNnIzqsmcSmT4L/eeaum3kdZtw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qwNAm-0005L6-NH; Fri, 27 Oct 2023 09:46:48 -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 1qwNAW-0005Jd-1X for guix-patches@gnu.org; Fri, 27 Oct 2023 09:46:35 -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 1qwNAV-0001J2-1J for guix-patches@gnu.org; Fri, 27 Oct 2023 09:46:31 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qwNB0-0004aW-0R for guix-patches@gnu.org; Fri, 27 Oct 2023 09:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66766] [PATCH v3 1/3] gnu: ansible-core: Update to 2.15.5 and fix tests. References: <28cf2040-3e78-dc66-7a6e-1d8742ea16dc@jackhill.us> In-Reply-To: <28cf2040-3e78-dc66-7a6e-1d8742ea16dc@jackhill.us> Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 27 Oct 2023 13:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66766 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66766@debbugs.gnu.org Received: via spool by 66766-submit@debbugs.gnu.org id=B66766.169841441717619 (code B ref 66766); Fri, 27 Oct 2023 13:47:01 +0000 Received: (at 66766) by debbugs.gnu.org; 27 Oct 2023 13:46:57 +0000 Received: from localhost ([127.0.0.1]:35372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwNAu-0004a2-F2 for submit@debbugs.gnu.org; Fri, 27 Oct 2023 09:46:57 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:37184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwNAq-0004Zb-EM for 66766@debbugs.gnu.org; Fri, 27 Oct 2023 09:46:55 -0400 Received: from [2603:6080:a200:1c76::19a] (helo=mimolette.home.eronel.org) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qwNAF-00034N-Dp for 66766@debbugs.gnu.org; Fri, 27 Oct 2023 09:46:15 -0400 From: Jack Hill Date: Fri, 27 Oct 2023 09:46:02 -0400 Message-ID: <08dc3889305b13fa8cee6244474ed6a105dc30fb.1698414364.git.jackhill@jackhill.us> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 7065A52AB0 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.60 X-Spam-Score: -4.60 X-TUID: sWHFweKpTL6J * gnu/packages/admin.scm (ansible-core): Update to 2.15.5. [#:phases]: 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