awscli-bundle 1.6.256 does not install with Python 2.6 (colorama dependency not met)
envgap__aws__aws-cli-4577
01 / FAILURE SIGNATURE
As reported upstream
__main__.BadRCError: Bad rc (1) for cmd '/usr/local/aws/bin/pip install --no-cache-dir --no-index --find-links file:///root/aws-install/awscli-bundle/packages awscli-1.16.256.tar.gz': Processing ./awscli-1.16.256.tar.gz
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
85c7dacb7fb8d28129f47b532e0060b9eb8af7a8- Manifest
setup.cfg- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
aws/aws-cli #4577 · read the original issue
On-going issue with colorama dependency.
previous closed issue: https://github.com/aws/aws-cli/issues/4563
```
sudo awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws
...
Running cmd: /usr/bin/python virtualenv.py --no-download --python /usr/bin/python /usr/local/aws
Running cmd: /usr/local/aws/bin/pip install --no-cache-dir --no-index --find-links file:///root/aws-install/awscli-bundle/packages/setup setuptools_scm-1.15.7.tar.gz
Running cmd: /usr/local/aws/bin/pip install --no-cache-dir --no-index --find-links file:///root/aws-install/awscli-bundle/packages awscli-1.16.256.tar.gz
Running cmd: /usr/bin/python virtualenv.py --no-download --python /usr/bin/python /usr/local/aws
Running cmd: /usr/local/aws/bin/pip install --no-cache-dir --no-index --find-links file:///root/aws-install/awscli-bundle/packages/setup setuptools_scm-1.15.7.tar.gz
Running cmd: /usr/local/aws/bin/pip install --no-cache-dir --no-index --find-links file:///root/aws-install/awscli-bundle/packages awscli-1.16.256.tar.gz
STDERR: Traceback (most recent call last):
File "./awscli-bundle/install", line 162, in <module>
main()
File "./awscli-bundle/install", line 151, in main
pip_install_packages(opts.install_dir)
File "./awscli-bundle/install", line 119, in pip_install_packages
pip_script, PACKAGES_DIR, cli_tarball))
File "./awscli-bundle/install", line 49, in run
p.returncode, cmd, stdout + stderr))
__main__.BadRCError: Bad rc (1) for cmd '/usr/local/aws/bin/pip install --no-cache-dir --no-index --find-links file:///root/aws-install/awscli-bundle/packages awscli-1.16.256.tar.gz': Processing ./awscli-1.16.256.tar.gz
Collecting botocore==1.12.246 (from awscli==1.16.256)
Collecting docutils<0.16,>=0.10 (from awscli==1.16.256)
Collecting rsa<=3.5.0,>=3.1.2 (from awscli==1.16.256)
Collecting s3transfer<0.3.0,>=0.2.0 (from awscli==1.16.256)
Requirement already satisfied: argparse>=1.1 in /usr/local/aws/lib/python2.6/site-packages (from awscli==1.16.256)
Collecting PyYAML<=3.13,>=3.10 (from awscli==1.16.256)
Collecting colorama<0.3.9,>=0.2.5 (from awscli==1.16.256)
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
Could not find a version that satisfies the requirement colorama<0.3.9,>=0.2.5 (from awscli==1.16.256) (from versions: 0.3.9, 0.4.1)
No matching distribution found for colorama<0.3.9,>=0.2.5 (from awscli==1.16.256)
```04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]