FS#52614 - [docker-compose] Dependency to python-colorama is missing

Attached to Project: Community Packages
Opened by Ole Wehrmeyer (Belogron) - Wednesday, 18 January 2017, 10:07 GMT
Last edited by Felix Yan (felixonmars) - Thursday, 19 January 2017, 13:35 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 7
Private No

Details

Description:
According to the output of docker-compose, the python package "colorama" (Arch package "python-colorama") is required to run docker-compose.
This dependency is not specified in the package.


Additional info:
* package version: 1.10.0-1 according to 'pacman -Qs docker-compose'
* system info: Kernel x86_64 Linux 4.8.13-1-ARCH

Output from 'docker-compose':
Traceback (most recent call last):
File "/usr/sbin/docker-compose", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3019, in <module>
@_call_aside
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3003, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3032, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 655, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 963, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 849, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'colorama>=0.3.7' distribution was not found and is required by docker-compose


Steps to reproduce:

- Remove package "python-colorama" if it is installed (pacman -R python-colorama)
- Optionally clear package cache (pacman -Scc)
- (Re)install "docker-compose" (pacman -S docker-compose)
- Try running docker-compose (docker-compose --version)
- See that it fails
- Install "python-colorama" (pacman -S python-colorama)
- Try running docker-compose (docker-compose --version)
- See that it works now
This task depends upon

Closed by  Felix Yan (felixonmars)
Thursday, 19 January 2017, 13:35 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.10.0-2
Comment by Obed N Munoz (obedmr) - Wednesday, 18 January 2017, 17:11 GMT
I'm having same issue.
Comment by Martin Hafskjold Thoresen (martinhath) - Thursday, 19 January 2017, 12:01 GMT
I'm not sure why this is marked as "Severity: Low" - this broke `docker-compose` entirely for me.
I definitely think it should be marked as "High":

> High - The main functionality of the application does not work, less critical security issues, etc.

as even `docker-compose --help` would crash.
Comment by Ole Wehrmeyer (Belogron) - Thursday, 19 January 2017, 12:22 GMT
@martinhath I submitted it as "High" but it was changed by @Scimmia

Loading...