问题 / Problem
pyproject.toml 声明 requires-python = ">=3.10",但依赖 nanobot-ai>=0.1.4.post5 实际只发布了 Python ≥3.11 的 wheel(其自身元数据也要求 ≥3.11)。在干净的 Python 3.10 环境安装本 SDK 会直接失败:
pyproject.toml declares requires-python = ">=3.10", but the pinned dependency nanobot-ai>=0.1.4.post5 only ships wheels for Python ≥3.11 (its own metadata requires ≥3.11). Installing this SDK on a clean Python 3.10 environment therefore fails:
$ python3.10 -m pip install trpc-agent-sdk
ERROR: Ignored the following versions that require a different python version:
0.1.4.post5 Requires-Python >=3.11
ERROR: Could not find a version that satisfies the requirement nanobot-ai>=0.1.4.post5
复现环境:Ubuntu 22.04,系统 Python 3.10.12。用 uv venv --python 3.12 后安装一切正常。
Reproduced on Ubuntu 22.04 with system Python 3.10.12; installing under Python 3.12 works fine.
建议 / Suggested fix (either)
- 将
requires-python 提升为 ">=3.11",与实际可安装范围一致(推荐,一行改动);或
Bump requires-python to ">=3.11" to match reality (recommended, one-line change); or
- 对 3.10 放宽
nanobot-ai 的版本下限(若旧版本兼容),例如按 Python 版本分环境标记。
Relax the nanobot-ai lower bound for 3.10 via an environment marker, if an older version is compatible.
顺带建议在 README 的安装章节注明最低 Python 版本,避免 3.10 用户踩坑。
It would also help to state the minimum Python version in the README install section so 3.10 users don't hit this.
问题 / Problem
pyproject.toml声明requires-python = ">=3.10",但依赖nanobot-ai>=0.1.4.post5实际只发布了 Python ≥3.11 的 wheel(其自身元数据也要求 ≥3.11)。在干净的 Python 3.10 环境安装本 SDK 会直接失败:pyproject.tomldeclaresrequires-python = ">=3.10", but the pinned dependencynanobot-ai>=0.1.4.post5only ships wheels for Python ≥3.11 (its own metadata requires ≥3.11). Installing this SDK on a clean Python 3.10 environment therefore fails:复现环境:Ubuntu 22.04,系统 Python 3.10.12。用
uv venv --python 3.12后安装一切正常。Reproduced on Ubuntu 22.04 with system Python 3.10.12; installing under Python 3.12 works fine.
建议 / Suggested fix (either)
requires-python提升为">=3.11",与实际可安装范围一致(推荐,一行改动);或Bump
requires-pythonto">=3.11"to match reality (recommended, one-line change); ornanobot-ai的版本下限(若旧版本兼容),例如按 Python 版本分环境标记。Relax the
nanobot-ailower bound for 3.10 via an environment marker, if an older version is compatible.顺带建议在 README 的安装章节注明最低 Python 版本,避免 3.10 用户踩坑。
It would also help to state the minimum Python version in the README install section so 3.10 users don't hit this.