Default deploy installs eoapi-cdk 10.3.0, whose STAC runtime fails to import (`No module named 'stac_fastapi.extensions.core.fields'`)
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Start with the eoapi-cdk constraint in pyproject.toml and the resolved version in uv.lock; run uv sync to confirm the dependency resolution. Update the dependency so a fresh deploy no longer selects 10.3.0, then run npx cdk deploy --all and verify that the STAC API endpoint responds without the Lambda import error.
Written by the indexing model from the issue text.
Description
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:
- Dominant language
- Python
- Stars
- 5
- Forks
- 2
- Avg merge
- 18h 23m
- Merged PRs (30d)
- 1
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from developmentseed/eoapi-template
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
developmentseed/eoapi-template#5 · 1 reaction ·
All issues in developmentseed/eoapi-template
Similar issues
-
needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
json_params_matcher fails on falsy top-level JSON primitives (0, False, "")Possibly taken @mayureshsonawane17 claimed this today. OpenWaiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 5 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Add .devin pluginOpen
Difficulty 1/5 Under an hour Newbie friendliness 88/100
ayghri/i-have-adhd#249 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
modelscope/FunASR#3762 ·
Maintainers usually reply within 1 day