Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pydantic >= 2.0 compatibility #5

Merged
merged 2 commits into from
May 17, 2024
Merged

Pydantic >= 2.0 compatibility #5

merged 2 commits into from
May 17, 2024

Conversation

SarahG-579462
Copy link

Overview

Related Issue / discussion

Pydantic >= 2.0 offers legacy 1.0 support by importing pydantic.v1. Let's use this to allow support for both versions of pydantic, while waiting for the debian fix: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052028

Additional information

Dependency policy (RFC2)

  • I have ensured that this PR meets RFC2 requirements

Updates to public demo

Contributions and licensing

(as per https://github.com/geopython/pygeoapi/blob/master/CONTRIBUTING.md#contributions-and-licensing)

  • I'd like to contribute [feature X|bugfix Y|docs|something else] to pygeoapi. I confirm that my contributions to pygeoapi will be compatible with the pygeoapi license guidelines at the time of contribution
  • I have already previously agreed to the pygeoapi Contributions and Licensing Guidelines

Copy link

@aulemahal aulemahal left a comment

Choose a reason for hiding this comment

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

Nice!

@SarahG-579462 SarahG-579462 merged commit 354070c into master May 17, 2024
6 checks passed
@SarahG-579462 SarahG-579462 deleted the pydantic.v2 branch May 17, 2024 17:45
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.

2 participants