Skip to content

fix: pin stac-fastapi version - #28

Merged
jjfrench merged 3 commits into
mainfrom
fix/stac-fastapi-version
Oct 31, 2026
Merged

jjfrench merged 3 commits into
mainfrom
fix/stac-fastapi-version

Conversation

@jjfrench

@jjfrench jjfrench commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Description

What I'm Changing

  • Updating Dependabot configuration
  • Pinning stac-fastapi to the latest v6 (v7.0.0 is already released, so v6.6.0 is likely the last v6)
  • Moved imports according to changes flagged moving between v6.2.1 --> v6.6.0

Why I'm Changing It

  • Moved imports were caused issues, blocking deployments

Details

Resource handler returned message: "Resource of type 'AWS::Lambda::Version' with identifier
'arn:aws:lambda:us-west-2:{ACCOUNT_ID}:function:{FUNCTION_NAME}:{VERSION}' did
not stabilize. Status Reason is An error occurred during function initialization."

[ERROR] Runtime.ImportModuleError: Unable to import module 'stac_fastapi.collection_discovery.app': No module named 'stac_fastapi.extensions.core.fields'

@jjfrench
jjfrench requested review from botanical and hrodmn October 30, 2026 18:00
@jjfrench jjfrench self-assigned this Oct 30, 2026
@github-actions github-actions Bot added the fix label Oct 30, 2026
@jjfrench

jjfrench commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor Author

I figure we could do this security patch for v0.3.1 and then the next bump would be v0.4.0 whenever we decide to bump stac-fastapi to v7.0.0

I tested this was the issue by pinning the dependencies on this deployment
MAAP-Project/discover.maap-project.org@main...fix/stac-fastapi-version-cap

@botanical botanical closed this Oct 30, 2026
@botanical botanical reopened this Oct 30, 2026

@botanical botanical left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙇

@jjfrench
jjfrench merged commit 851ef59 into main Oct 31, 2026
7 checks passed
@jjfrench
jjfrench deleted the fix/stac-fastapi-version branch October 31, 2026 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants