Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-17301

Fix ansible-collection-redhat-satellite requires of requests and pyyaml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • 6.12.z
    • 6.12.0
    • Ansible Collection
    • None
    • None
    • None
    • None
    • None

      Description of problem:
      On Sat 6.12 RHEL8.7 ansible-collection-redhat-satellite rpm needlessly pulls in python38-* deps and misses to pull in python39-* deps

      The error is there potentially. ansible-collection-redhat-satellite rpm is lucky that pulpcore 3.18 runs on the same python3.9 as ansible-core 2.13 does

      This way the wrong requires are accidentaly satisfied by pulpcore pulling in same modules
      (Running on the same python is not guaranteed in any way)

      Version-Release number of selected component (if applicable):
      6.12.0
      ansible-collection-redhat-satellite 3.7.0

      How reproducible:
      deterministic

      Steps to Reproduce:
      1. Check Requires: of ansible-collection-redhat-satellite rpm

      1. rpm -qR ansible-collection-redhat-satellite
        (ansible >= 2.9 or ansible-core)
        (python3-pyyaml if ansible)
        (python3-requests if ansible)
        (python38-pyyaml if ansible-core) <<< wrong
        (python38-requests if ansible-core) <<< wrong
        ...

      Actual results:
      (python38-pyyaml if ansible-core)
      (python38-requests if ansible-core)

      Expected results:
      (python38-pyyaml if ansible-core < 2.13)
      (python39-pyyaml if ansible-core >= 2.13)
      (python38-requests if ansible-core < 2.13)
      (python39-requests if ansible-core >= 2.13)

      Additional info:
      We delivered these changes to 6.11.z by BZ#2132999

              jira-bugzilla-migration RH Bugzilla Integration
              jira-bugzilla-migration RH Bugzilla Integration
              RH Bugzilla Integration RH Bugzilla Integration
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: