Default deploy installs eoapi-cdk 10.3.0, whose STAC runtime fails to import (`No module named 'stac_fastapi.extensions.core.fields'`)
评估
调研方向
从 pyproject.toml 中的 eoapi-cdk 约束和 uv.lock 中解析出的版本开始;运行 uv sync 以确认依赖解析结果。更新依赖项,使全新部署不再选择 10.3.0,然后运行 npx cdk deploy --all,并验证 STAC API 端点能够在没有 Lambda 导入错误的情况下响应。
由索引模型根据 Issue 内容生成。
描述
Deploying eoapi-template from a fresh clone produced a STAC API that returned 500 Internal Server Error on every request. The cause seemed to be dependency resolution: pyproject.toml specifies eoapi-cdk>=10.3.0,<12, and a fresh uv sync resolves to the lower bound, 10.3.0. The STAC API runtime bundled by eoapi-cdk 10.3.0 raises an ImportModuleError at Lambda handler import. Upgrading eoapi-cdk to 11.6.0 resolved it for me.
Environment:
- Fresh clone of eoapi-template, deployed to AWS (us-west-2)
- uv sync resolved eoapi-cdk==10.3.0 (confirmed in uv.lock)
- Python 3.14.2, Node v24.13.0, deployed via
npx cdk deploy --all
What happened:
Once deployed, I attempted to hit the STAC API endpoint:
Looking in the CloudWatch logs I noticed:
Forcing eoapi-cdk to the latest version resolved it. Upon redeploying, I was able to hit the endpoint:
- 主要语言
- Python
- 星标
- 5
- 派生
- 2
- 平均合并
- 18 小时 23 分钟
- 30 天内合并 PR
- 1
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
developmentseed/eoapi-template 的其他 Issue
-
难度 5/5 一周以上 新手友好度 35/100
developmentseed/eoapi-template#5 · 1 个 reaction ·
查看 developmentseed/eoapi-template 的全部 Issue
相似的 Issue
-
[Bug]: Bedrock request metadata forwarding does not work for /embeddings可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug llm translation
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
Arkansas 2025 tax is $1.70 high above $100,000 net taxable income ($3,809 + 3.9% rule)可能已有人在做 @PavelMakarchuk 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
PolicyEngine/policyengine-us#9828 ·
维护者通常 2 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
jellyfin/jellyfin-mpv-shim#800 ·
维护者通常 1 天内回复
-
skillfs: one malformed chat-log line aborts the entire skill-usage analysis (skill_usage_from_chat_logs.py)可能已有人在做 @zjncs 今天认领。 未关闭component:skillfs
难度 2/5 1-3 小时 新手友好度 82/100
agentic-os-org/ANOLISA#6116 · 1 条评论 ·
维护者通常 1 天内回复
-
P4: low query
难度 2/5 1-3 小时 新手友好度 76/100
jeffknupp/association#336 ·