Bug 2252177

Summary: awscli: botocore update problems
Product: [Fedora] Fedora EPEL Reporter: Carl George 🤠 <carl>
Component: awscliAssignee: David Duncan <davdunc>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: chris.woelkers, davdunc, gwync, me, nicolas
Target Milestone: ---Flags: carl: needinfo? (davdunc)
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Carl George 🤠 2023-11-30 01:18:43 UTC
Description of problem:
awscli in EPEL 9 has a dependency on python3-botocore exactly at version 1.25.10.  That version is available from EPEL 9, but CentOS 9 recently added that package at version 1.31.62-1.el9 in preparation for it being added to RHEL 9.4 (see bug 2236795).  This results in upgrade problems.  Please create an EPEL 9 Next build of awscli that is compatible with python3-botocore-1.31.62-1.el9.


Version-Release number of selected component (if applicable):
awscli-1.23.10-3.el9


How reproducible:
always


Steps to Reproduce:
1. dnf install awscli
2. dnf update


Actual results:
Error: 
 Problem: package awscli-1.23.10-3.el9.noarch from @System requires python3.9dist(botocore) = 1.25.10, but none of the providers can be installed
  - cannot install both python3-botocore-1.31.62-1.el9.noarch from appstream and python3-botocore-1.25.10-1.el9.noarch from @System
  - cannot install both python3-botocore-1.25.10-1.el9.noarch from epel and python3-botocore-1.31.62-1.el9.noarch from appstream
  - cannot install the best update candidate for package python3-botocore-1.25.10-1.el9.noarch
  - cannot install the best update candidate for package awscli-1.23.10-3.el9.noarch


Expected results:
successful update with awscli installed

Comment 1 Chris W 2024-05-13 18:27:35 UTC
I can confirm that this issue exists in Rocky 9.4. I am able to remove and reinstall awscli with no errors. But running 'dnf update' afterwards gives the error below. Adding '--nobest' to the dnf command is the only way to bypass the error.

Error:
 Problem: package awscli-1.23.10-3.el9.noarch from @System requires python3.9dist(botocore) = 1.25.10, but none of the providers can be installed
  - cannot install both python3-botocore-1.31.62-1.el9.noarch from appstream and python3-botocore-1.25.10-1.el9.noarch from @System
  - cannot install both python3-botocore-1.31.62-1.el9.noarch from appstream and python3-botocore-1.25.10-1.el9.noarch from epel
  - cannot install the best update candidate for package python3-botocore-1.25.10-1.el9.noarch
  - cannot install the best update candidate for package awscli-1.23.10-3.el9.noarch