awslabs / awslabs/amazon-redshift-utils

docker build failed with error: The user requested boto3==1.5.3 redshift-connector 2.0.908 depends on boto3<2.0.0 and >=1.9.201

Open
#725 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Docker build failing with error:

`sudo docker build -t amazon-redshift-utils .
`
```
ERROR: Cannot install -r /usr/src/app/requirements.txt (line 8) and boto3==1.5.3 because these package versions have conflicting dependencies.

The conflict is caused by:
The user requested boto3==1.5.3
redshift-connector 2.0.908 depends on boto3<2.0.0 and >=1.9.201

```

Contributor guide

Open the contributing guide

Research direction

Start with requirements.txt, especially line 8, and reproduce the failure using the reported sudo docker build command. Review the boto3 and redshift-connector constraints in the error, then verify that the dependency resolution and Docker build complete successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.