Commit 544fd40
fix(examples/simple-chatbot): align declared deps with actual usage
The simple-chatbot example imports `httpx` in main.py but the
declared dependency lists were stale:
- `requirements.txt` listed `requests>=2.31.0` (unused; main.py uses
httpx). PR #1959 removed `requests` from pyproject.toml in 2026-01
but never cleaned up requirements.txt.
- `pyproject.toml` did not declare `httpx` despite main.py importing
it, so a fresh `pip install .` would fail at import time.
- README.MD still listed `requests` and showed Python 3.10 instead
of 3.10+ (which is what pyproject.toml requires).
Replaces `requests` with `httpx` in both dependency files and the
README, and clarifies the Python version constraint.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3d7b311 commit 544fd40
3 files changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments