Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-29656

After enabling the 'ansible-automation-platform-2.4-for-rhel-9-x86_64-rpms' repository, dnf update fails on the RHEL 9.3 server, which has the 'python3-pytest' package installed.

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-9.5
    • rhel-9.4
    • pytest
    • None
    • pytest-6.2.2-7.el9
    • None
    • Low
    • rhel-sst-pt-python-ruby-nodejs
    • ssg_core_services
    • 5
    • 22
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      After enabling the 'ansible-automation-platform-2.4-for-rhel-9-x86_64-rpms' repository, dnf update fails on the RHEL 9.3 server, which has the 'python3-pytest' package installed.

      ~~~

      Error:
       Problem: problem with installed package python3-pytest-6.2.2-6.el9.noarch
        - package python3-pytest-6.2.2-6.el9.noarch from @System requires (python3.9dist(pluggy) < 1~a1 with python3.9dist(pluggy) >= 0.12), but none of the providers can be installed
        - package python3-pytest-6.2.2-6.el9.noarch from rhel-9-for-x86_64-appstream-rpms requires (python3.9dist(pluggy) < 1~a1 with python3.9dist(pluggy) >= 0.12), but none of the providers can be installed
        - cannot install both python3-pluggy-1.0.0-1.el9ap.noarch from ansible-automation-platform-2.4-for-rhel-9-x86_64-rpms and python3-pluggy-0.13.1-7.el9.noarch from @System
        - cannot install both python3-pluggy-1.0.0-1.el9ap.noarch from ansible-automation-platform-2.4-for-rhel-9-x86_64-rpms and python3-pluggy-0.13.1-7.el9.noarch from rhel-9-for-x86_64-appstream-rpms
        - cannot install the best update candidate for package python3-pluggy-0.13.1-7.el9.noarch

      ~~~

      Steps to reproduce

      [1] Install RHEL 9.3

      [2] Install python3-pytest package.

      [3] Enable "ansible-automation-platform-2.4-for-rhel-9-x86_64-rpms" repository.        

      [4] Update the server.

      OBSERVATIONS:

      [1] python3-pytest packages requires python3-pluggy greater than equal to 0.12 and less than 1.0 version.
      ~~~
      package: python3-pytest-6.2.2-6.el9.noarch
        dependency: (python3.9dist(pluggy) < 1~a1 with python3.9dist(pluggy) >= 0.12)
         provider: python3-pluggy-0.13.1-7.el9.noarch
      ~~~

      [2] The python3-pluggy package is available in the following repos:

      [root@test ansible-automation-platform-setup-2.4-5]# yum list python3-pluggy
      Installed Packages
      python3-pluggy.noarch                                           0.13.1-7.el9                                             @rhel-9-for-x86_64-appstream-rpms                     
      Available Packages
      python3-pluggy.noarch                                           1.0.0-1.el9ap                                            ansible-automation-platform-2.4-for-rhel-9-x86_64-rpms

              python-maint python-maint
              rhn-support-mkenjale Mahesh Kenjale
              Lumir Balhar Lumir Balhar
              Lukas Zachar Lukas Zachar
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: