-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow clabe to be used in Pydantic V2 codebases (#167)
* Allow clabe to be used in Pydantic V2 codebases clabe uses Pydantic V1 and currently can't be used in a codebase which already uses Pydantic V2. Implement the compatibility approach described in https://docs.pydantic.dev/latest/migration/#using-pydantic-v1-features-in-a-v1v2-environment Pydantic is upgraded to `>=1.10.17` and imports are changed to the `pydantic.v1` namespace. This allows clabe to be used with either Pydantic V1 or V2. Bump version to 1.2.17. * bump version --------- Co-authored-by: Felipe López <[email protected]>
- Loading branch information
1 parent
cd31bec
commit e8cbcaa
Showing
6 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '1.2.17' | ||
__version__ = '1.3.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
pydantic==1.9.0 | ||
pydantic==1.10.19 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters