Bug 1366806

Summary: Dependency issue in Fedora 24
Product: [Fedora] Fedora Reporter: Cristián Rojas <mechonbarsa>
Component: aws-shellAssignee: Fabio Alessandro Locati <fale>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 24CC: fale
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-13 08:41:11 UTC 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 Cristián Rojas 2016-08-12 22:20:18 UTC
Description of problem:
AWS Shell 0.1.1 fails because of a dependency problem in Fedora 24 (Colorama)

Version-Release number of selected component (if applicable): aws-shell-0.1.1


How reproducible: On install and execute


Steps to Reproduce:
1. Install aws-shell
2. Execute from shell (using Fish or Bash)

Actual results:

Application throws the following stacktrace:

Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 640, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 941, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 833, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (colorama 0.3.7 (/usr/lib/python3.5/site-packages), Requirement.parse('colorama<=0.3.3,>=0.2.5'), {'awscli'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/aws-shell", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 3141, in <module>
    @_call_aside
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 3127, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 3154, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 642, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 655, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 828, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'colorama<=0.3.3,>=0.2.5' distribution was not found and is required by awscli

Expected results:

Good execution of the application.

Additional info:

Colorama package installed is python3-colorama-0.3.7-2. Default Python is 2.7.12. On manual install of python2-colorama-0.3.7-2 it still doesn't work.

Comment 1 Fabio Alessandro Locati 2016-08-13 08:41:11 UTC

*** This bug has been marked as a duplicate of bug 1363886 ***

Comment 2 Fabio Alessandro Locati 2016-08-13 08:42:32 UTC
Please, test the current version in test: https://bodhi.fedoraproject.org/updates/FEDORA-2016-6615057575