awslabs / awslabs/aws-deployment-framework
[Bug]: Pip dependency confilcts
- Dominant language
- Python
- Stars
- 699
- Forks
- 235
- Avg merge
- 20h 53m
- Merged PRs (30d)
- 7
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Describe the bug
I'm installing ADF (v 3.2.0), and did the bootstrap process following the official documentation.
But when the pipeline `aws-deployment-framework-bootstrap-pipeline` starts to run it fails at stage `UploadAndUpdateBaseStacks`.
How can I fix this?
### Expected Behavior
I expect the pipeline terminates without errors
### Current Behavior
`ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.pydantic-core 2.23.4 requires typing-extensions!=4.7.0,>=4.6.0, but you have typing-extensions 4.4.0 which is incompatible.`
Should I put the correct packages version inside the `requirements.txt` file of the bootstrap repository?
### Steps To Reproduce
_No response_
### Possible Solution
_No response_
### Additional Information/Context
_No response_
### ADF Version
3.2.0
### Contributing a fix?
- [X] Yes, I am working on a fix to resolve this issue
Contributor guide
Research direction
Start with the bootstrap repository's requirements.txt and the aws-deployment-framework-bootstrap-pipeline stage UploadAndUpdateBaseStacks. Compare the pinned typing-extensions and pydantic-core requirements, then rerun the bootstrap pipeline; done means the stage completes without the reported dependency conflict.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- ci-cd, cloud, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100