Package Details: ansible-core-2.16 2.16.7-2

Git Clone URL: https://aur.archlinux.org/ansible-core-2.16.git (read-only, click to copy)
Package Base: ansible-core-2.16
Description: Radically simple IT automation platform
Upstream URL: https://www.ansible.com
Licenses: GPL-3.0-or-later AND BSD-2-Clause AND PSF-2.0 AND MIT AND Apache-2.0
Conflicts: ansible-core
Provides: ansible-base, ansible-core, python-ansible
Replaces: ansible-base
Submitter: nicolasyang
Maintainer: nicolasyang
Last Packager: nicolasyang
Votes: 0
Popularity: 0.000000
First Submitted: 2024-05-22 05:12 (UTC)
Last Updated: 2024-06-04 12:04 (UTC)

Latest Comments

sctyboy commented on 2024-06-03 14:15 (UTC)

Upstream corrected this under https://github.com/ansible/ansible/pull/83347.

nicolasyang commented on 2024-05-30 03:18 (UTC) (edited on 2024-05-30 03:19 (UTC) by nicolasyang)

(In reply to @sctyboy)

If cowsay package is installed, then the build/tests fail as follows.

It is an upstream problem. The test also fails in 2.17.0 if cowsay is installed. Please report it to https://github.com/ansible/ansible.

sctyboy commented on 2024-05-29 19:17 (UTC) (edited on 2024-05-29 19:18 (UTC) by sctyboy)

If cowsay package is installed, then the build/tests fail as follows. Removing the cowsay package allows the build to proceed normally.


=================================== FAILURES ===================================
_____________________ test_display_with_fake_cowsay_binary _____________________
[gw13] linux -- Python 3.12.3 /usr/bin/python

capsys = <_pytest.capture.CaptureFixture object at 0x75e7f5486840>
mocker = <pytest_mock.plugin.MockerFixture object at 0x75e7f5485f70>

    def test_display_with_fake_cowsay_binary(capsys, mocker):
        display = Display()

        mocker.patch("ansible.constants.ANSIBLE_COW_PATH", "./cowsay.sh")

        mock_popen = MagicMock()
        mock_popen.return_value.returncode = 1
        mocker.patch("subprocess.Popen", mock_popen)

>       assert not hasattr(display, "cows_available")
E       AssertionError: assert not True
E        +  where True = hasattr(<ansible.utils.display.Display object at 0x75e7f7fb16a0>, 'cows_available')

test/units/utils/display/test_broken_cowsay.py:23: AssertionError