Skip to content

Make stac-pydantic optional#129

Merged
jonhealy1 merged 2 commits into
mainfrom
optional-pydantic
Jun 11, 2025
Merged

Make stac-pydantic optional#129
jonhealy1 merged 2 commits into
mainfrom
optional-pydantic

Conversation

@jonhealy1

@jonhealy1 jonhealy1 commented Jun 10, 2025

Copy link
Copy Markdown
Collaborator
  • Made stac-pydantic an optional dependency
    • stac-validator is now installed without the [pydantic] extra by default
    • Added stac-check[pydantic] extra for users who need pydantic validation
    • Added graceful fallback to JSONSchema validation when pydantic is not available
    • Updated tests to handle both scenarios (with and without pydantic installed)
    • Added helpful warning messages when pydantic is requested but not installed

@jonhealy1
jonhealy1 marked this pull request as ready for review June 10, 2025 11:53
@jonhealy1
jonhealy1 merged commit e8a8ec0 into main Jun 11, 2025
8 checks passed
@jonhealy1
jonhealy1 deleted the optional-pydantic branch June 11, 2025 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant