Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sceptre fails to install due to coloram library conflict with awscli #947

Closed
zaro0508 opened this issue Oct 15, 2020 · 0 comments
Closed

Comments

@zaro0508
Copy link
Contributor

awscli depens on colorama<0.4.4 while sceptre pins colorama==0.3.9. I think we need to change sceptre to depend on colorama>=0.3.9?

➜ pip install awscli sceptre

Collecting awscli
  Downloading awscli-1.18.158-py2.py3-none-any.whl (3.4 MB)
     |████████████████████████████████| 3.4 MB 3.8 MB/s
Collecting sceptre
  Using cached sceptre-2.4.0-py2.py3-none-any.whl (59 kB)
Collecting botocore==1.18.17
  Downloading botocore-1.18.17-py2.py3-none-any.whl (6.7 MB)
     |████████████████████████████████| 6.7 MB 4.9 MB/s
Collecting s3transfer<0.4.0,>=0.3.0
  Using cached s3transfer-0.3.3-py2.py3-none-any.whl (69 kB)
Processing /Users/zaro0508/Library/Caches/pip/wheels/5e/03/1e/e1e954795d6f35dfc7b637fe2277bff021303bd9570ecea653/PyYAML-5.3.1-cp37-cp37m-macosx_10_14_x86_64.whl
Collecting rsa<=4.5.0,>=3.1.2; python_version != "3.4"
  Using cached rsa-4.5-py2.py3-none-any.whl (36 kB)
Collecting docutils<0.16,>=0.10
  Using cached docutils-0.15.2-py3-none-any.whl (547 kB)
Collecting colorama<0.4.4,>=0.2.5; python_version != "3.4"
  Using cached colorama-0.4.3-py2.py3-none-any.whl (15 kB)
Processing /Users/zaro0508/Library/Caches/pip/wheels/35/f3/15/01aa6571f0a72ee6ae7b827c1491c37a1f72d686fd22b43b0e/typing-3.7.4.3-py3-none-any.whl
Collecting click<8.0,>=7.0
  Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting packaging<17.0,>=16.8
  Using cached packaging-16.8-py2.py3-none-any.whl (23 kB)
Collecting boto3<2.0,>=1.3
  Downloading boto3-1.15.17-py2.py3-none-any.whl (129 kB)
     |████████████████████████████████| 129 kB 4.2 MB/s
Collecting six<2.0.0,>=1.11.0
  Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting Jinja2<3,>=2.8
  Using cached Jinja2-2.11.2-py2.py3-none-any.whl (125 kB)
Processing /Users/zaro0508/Library/Caches/pip/wheels/44/c0/34/6f98693a554301bdb405f8d65d95bbcd3e50180cbfdd98a94e/networkx-2.1-py2.py3-none-any.whl
Collecting jmespath<1.0.0,>=0.7.1
  Using cached jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Collecting urllib3<1.26,>=1.20; python_version != "3.4"
  Using cached urllib3-1.25.10-py2.py3-none-any.whl (127 kB)
Collecting python-dateutil<3.0.0,>=2.1
  Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting pyasn1>=0.1.3
  Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting pyparsing
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting MarkupSafe>=0.23
  Using cached MarkupSafe-1.1.1-cp37-cp37m-macosx_10_6_intel.whl (18 kB)
Collecting decorator>=4.1.0
  Using cached decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)
ERROR: sceptre 2.4.0 has requirement colorama==0.3.9, but you'll have colorama 0.4.3 which is incompatible.
Installing collected packages: jmespath, urllib3, six, python-dateutil, botocore, s3transfer, PyYAML, pyasn1, rsa, docutils, colorama, awscli, typing, click, pyparsing, packaging, boto3, MarkupSafe, Jinja2, decorator, networkx, sceptre
Successfully installed Jinja2-2.11.2 MarkupSafe-1.1.1 PyYAML-5.3.1 awscli-1.18.158 boto3-1.15.17 botocore-1.18.17 click-7.1.2 colorama-0.4.3 decorator-4.4.2 docutils-0.15.2 jmespath-0.10.0 networkx-2.1 packaging-16.8 pyasn1-0.4.8 pyparsing-2.4.7 python-dateutil-2.8.1 rsa-4.5 s3transfer-0.3.3 sceptre-2.4.0 six-1.15.0 typing-3.7.4.3 urllib3-1.25.10
WARNING: You are using pip version 20.1.1; however, version 20.2.3 is available.
You should consider upgrading via the '/Users/zaro0508/.virtualenvs/py37-test1/bin/python -m pip install --upgrade pip' command.
zaro0508 added a commit to zaro0508/synapse-login-aws-infra that referenced this issue Oct 15, 2020
this is a workaround for sceptre library dependency issue
Sceptre/sceptre#947
zaro0508 added a commit to zaro0508/sceptre that referenced this issue Oct 15, 2020
sceptre fails to install when installed after awscli. make colorama
dependency more flexible so that it will not fail.
thawkson pushed a commit to thawkson/sceptre that referenced this issue Feb 6, 2021
sceptre fails to install when installed after awscli. make colorama
dependency more flexible so that it will not fail.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant