aws / aws/sagemaker-distribution

Strands-agents-tools not compatible with SMD

Open
#856 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
154
Forks
120
Avg merge
5d 4h
Merged PRs (30d)
27

Description

strands-agents-tools requires rich >=14.0.0,<15.0.0
langchain (already in SMD) requires rich >=13.9.4,<14.0.0

```
error libmamba Could not solve for environment specs
The following packages are incompatible
├─ langchain >=0.3.27,<1.0.0 * is installable with the potential options
│ ├─ langchain 0.3.27 would require
│ │ └─ langchain-text-splitters <1.0.0,>=0.3.9 *, which requires
│ │ └─ langchain-core <1.0.0,>=0.3.72 *, which requires
│ │ └─ langsmith >=0.3.45 *, which requires
│ │ └─ rich >=13.9.4,<14.0.0 *, which can be installed;
│ └─ langchain 0.3.27 would require
│ └─ python >=3.9,<3.12a0 *, which can be installed;
├─ libsqlite <3.49.0 * is requested and can be installed;
├─ python >=3.12.9,<3.13.0 * is not installable because there are no viable options
│ ├─ python 3.12.9 conflicts with any installable versions previously reported;
│ ├─ python [3.12.10|3.12.9] would require
│ │ └─ libsqlite >=3.49.1,<4.0a0 *, which conflicts with any installable versions previously reported;
│ └─ python 3.12.11 would require
│ └─ libsqlite >=3.50.0,<4.0a0 *, which conflicts with any installable versions previously reported;
└─ strands-agents-tools =* * is not installable because it requires
└─ rich >=14.0.0,<15.0.0 *, which conflicts with any installable versions previously reported.

critical libmamba Could not solve for environment specs
```

Contributor guide

Open the contributing guide

Research direction

Start with the SMD environment and package specifications, then reproduce the libmamba solve using the dependency constraints in this issue. Trace the conflicting rich requirements from langchain and strands-agents-tools; done means the SMD environment resolves and installs both packages without a dependency conflict.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.