From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 UJ6oJ/DUOmVhYQAA9RJhRA:P1 (envelope-from ) for ; Thu, 26 Oct 2023 23:06:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UJ6oJ/DUOmVhYQAA9RJhRA (envelope-from ) for ; Thu, 26 Oct 2023 23:06:56 +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 51584346F3 for ; Thu, 26 Oct 2023 23:06:56 +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=1698354416; a=rsa-sha256; cv=none; b=t5mSoNVGLbffkl6femOcLaMM8yp5Wh6UkiRQyMgRtCpKgou1GmiLGHqwnfp1yT/Yzhe9yh fHpO3aVsOwTvVrYr4+jvanEdcWO1vVwWbQbK7no/XbBHzj4sO0oQFm5IIjqaQQhvefrIB7 mxi/z8D5wRUhmz8xK75LqshFGhuQElQIgGtxqb52t1H18y6p68mE2ZUtK2cCxUjetJsJ0d G4MloFeruzBL1EPcGltRKpdNjBF1mzLC97Z+IbbJeIgT0ewY8PGjdyGCMQCzTttnv94iIJ XNDT/ww5b4KXSHQl8OxH1BKxS6pFn8rQWgYoOqJXZ6qXG7uHGSKwb7NVtDC2Aw== 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=1698354416; 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=ioGJmnDC7ptCmGC895QTftR7dDoPxQCiY5CmP/88k1h0g2IZs8Phn6n+aRX9+rn++ajrOv +DIVVsNLRMfuCfQD2Y3qU9Fuayvmxg4MMTawJhHb7aiwKUvP4/e152jFau0AWS+kHlHc7E cK8XcZluht3LEzVF4rysovLmVRpdIXoOoEMI+K55HzO8sCvNeAVU30T6BTSNK1DHzcJ8BK eQSTsAoNcwaHBD7TZZO8lHxdM6zDltCYbKDAYBFEL5We/95N1ifZ9/LoBBFSfDFRKqxKS1 eHKNEw9S73M8DnBJZCDy2Bgt7QGaiNYecA2vo40dX+C3b94PeIXPwZppcr1MTg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qw7Yn-0007AK-Nv; Thu, 26 Oct 2023 17:06: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 1qw7Ym-00079v-CA for guix-patches@gnu.org; Thu, 26 Oct 2023 17:06:32 -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 1qw7Ym-0003BA-3w for guix-patches@gnu.org; Thu, 26 Oct 2023 17:06:32 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qw7ZG-0006S9-IS for guix-patches@gnu.org; Thu, 26 Oct 2023 17:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66766] [PATCH v2 1/3] gnu: ansible-core: Update to 2.15.5 and fix tests. Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 26 Oct 2023 21:07:02 +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.169835441524772 (code B ref 66766); Thu, 26 Oct 2023 21:07:02 +0000 Received: (at 66766) by debbugs.gnu.org; 26 Oct 2023 21:06:55 +0000 Received: from localhost ([127.0.0.1]:34618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qw7Z8-0006RU-FD for submit@debbugs.gnu.org; Thu, 26 Oct 2023 17:06:55 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:38230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qw7Yw-0006QZ-3p for 66766@debbugs.gnu.org; Thu, 26 Oct 2023 17:06:45 -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 1qw7YL-00016J-GX for 66766@debbugs.gnu.org; Thu, 26 Oct 2023 17:06:05 -0400 From: Jack Hill Date: Thu, 26 Oct 2023 17:05:51 -0400 Message-ID: <08dc3889305b13fa8cee6244474ed6a105dc30fb.1698354353.git.jackhill@jackhill.us> X-Mailer: git-send-email 2.41.0 In-Reply-To: <28cf2040-3e78-dc66-7a6e-1d8742ea16dc@jackhill.us> References: <28cf2040-3e78-dc66-7a6e-1d8742ea16dc@jackhill.us> 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: 51584346F3 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.60 X-Spam-Score: -4.60 X-TUID: aYS6hL/z5bbS * 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