codeflare-sdk
codeflare-sdk copied to clipboard
Bump pydantic from 1.10.2 to 2.1.1
Bumps pydantic from 1.10.2 to 2.1.1.
Release notes
Sourced from pydantic's releases.
v2.1.1 2023-07-25
What's Changed
- Skip FieldInfo merging when unnecessary by
@dmontaguin pydantic/pydantic#6862- Prepare 2.1.1 by
@dmontaguin pydantic/pydantic#6865v2.1.0 2023-07-25
What's Changed
- Add StringConstraints for use as Annotated metadata by
@adriangbin pydantic/pydantic#6605- Try to fix intermittently failing CI by
@adriangbin pydantic/pydantic#6683- Remove redundant example of optional vs default. by
@ehiggs-deliverectin pydantic/pydantic#6676- Docs update by
@samuelcolvinin pydantic/pydantic#6692- Remove the Validate always section in validator docs by
@adriangbin pydantic/pydantic#6679- Fix recursion error in json schema generation by
@adriangbin pydantic/pydantic#6720- Fix incorrect subclass check for secretstr by
@AlexVndnblckein pydantic/pydantic#6730- update pdm / pdm lockfile to 2.8.0 by
@davidhewittin pydantic/pydantic#6714- unpin pdm on more CI jobs by
@davidhewittin pydantic/pydantic#6755- improve source locations for auxiliary packages in docs by
@davidhewittin pydantic/pydantic#6749- Assume builtins don't accept an info argument by
@adriangbin pydantic/pydantic#6754- Fix bug where calling
help(BaseModelSubclass)raises errors by@hramezaniin pydantic/pydantic#6758- Fix mypy plugin handling of
@model_validator(mode="after") by@ljodalin pydantic/pydantic#6753- update pydantic-core to 2.3.1 by
@davidhewittin pydantic/pydantic#6756- Mypy plugin for settings by
@hramezaniin pydantic/pydantic#6760- Use contentSchema keyword for JSON schema by
@dmontaguin pydantic/pydantic#6715- fast-path checking finite decimals by
@davidhewittin pydantic/pydantic#6769- Docs update by
@samuelcolvinin pydantic/pydantic#6771- Improve json schema doc by
@hramezaniin pydantic/pydantic#6772- Update validator docs by
@adriangbin pydantic/pydantic#6695- Fix typehint for wrap validator by
@dmontaguin pydantic/pydantic#6788- 🐛 Fix validation warning for unions of Literal and other type by
@ligin pydantic/pydantic#6628- Update documentation for generics support in V2 by
@tpdorseyin pydantic/pydantic#6685- add pydantic-core build info to
version_info()by@samuelcolvinin pydantic/pydantic#6785- Fix pydantic dataclasses that use slots with default values by
@dmontaguin pydantic/pydantic#6796- Fix inheritance of hash function for frozen models by
@dmontaguin pydantic/pydantic#6789- ✨ Add
SkipJsonSchemaannotation by@Kludexin pydantic/pydantic#6653- Error if an invalid field name is used with Field by
@dmontaguin pydantic/pydantic#6797- Add GenericModel to MOVED_IN_V2 by
@adriangbin pydantic/pydantic#6776- Remove unused code from
docs/usage/types/custom.mdby@hramezaniin pydantic/pydantic#6803- Fix float -> Decimal coercion precision loss by
@adriangbin pydantic/pydantic#6810- remove email validation from the north star benchmark by
@davidhewittin pydantic/pydantic#6816- Fix link to mypy by
@progsmilein pydantic/pydantic#6824- Improve initialization hooks example by
@hramezaniin pydantic/pydantic#6822- Fix default port for mongosrv DSNs by
@dmontaguin pydantic/pydantic#6827- Improve API documentation, in particular more links between usage and API docs by
@samuelcolvinin pydantic/pydantic#6780- update pydantic-core to 2.4.0 by
@davidhewittin pydantic/pydantic#6831- Fix annotated_types.MaxLen validator for custom sequence types by
@ImogenBitsin pydantic/pydantic#6809- Update V1 by
@hramezaniin pydantic/pydantic#6833- Make it so callable JSON schema extra works by
@dmontaguin pydantic/pydantic#6798- Fix serialization issue with InstanceOf by
@dmontaguin pydantic/pydantic#6829- Add back support for
json_encodersby@adriangbin pydantic/pydantic#6811- Update field annotations when building the schema by
@dmontaguin pydantic/pydantic#6838
... (truncated)
Changelog
Sourced from pydantic's changelog.
v2.1.1 (2023-07-25)
- Skip FieldInfo merging when unnecessary by
@dmontaguin #6862v2.1.0 (2023-07-25)
- Add
StringConstraintsfor use as Annotated metadata by@adriangbin #6605- Try to fix intermittently failing CI by
@adriangbin #6683- Remove redundant example of optional vs default. by
@ehiggs-deliverectin #6676- Docs update by
@samuelcolvinin #6692- Remove the Validate always section in validator docs by
@adriangbin #6679- Fix recursion error in json schema generation by
@adriangbin #6720- Fix incorrect subclass check for secretstr by
@AlexVndnblckein #6730- update pdm / pdm lockfile to 2.8.0 by
@davidhewittin #6714- unpin pdm on more CI jobs by
@davidhewittin #6755- improve source locations for auxiliary packages in docs by
@davidhewittin #6749- Assume builtins don't accept an info argument by
@adriangbin #6754- Fix bug where calling
help(BaseModelSubclass)raises errors by@hramezaniin #6758- Fix mypy plugin handling of
@model_validator(mode="after")by@ljodalin #6753- update pydantic-core to 2.3.1 by
@davidhewittin #6756- Mypy plugin for settings by
@hramezaniin #6760- Use
contentSchemakeyword for JSON schema by@dmontaguin #6715- fast-path checking finite decimals by
@davidhewittin #6769- Docs update by
@samuelcolvinin #6771- Improve json schema doc by
@hramezaniin #6772- Update validator docs by
@adriangbin #6695- Fix typehint for wrap validator by
@dmontaguin #6788- 🐛 Fix validation warning for unions of Literal and other type by
@ligin #6628- Update documentation for generics support in V2 by
@tpdorseyin #6685- add pydantic-core build info to
version_info()by@samuelcolvinin #6785- Fix pydantic dataclasses that use slots with default values by
@dmontaguin #6796- Fix inheritance of hash function for frozen models by
@dmontaguin #6789- ✨ Add
SkipJsonSchemaannotation by@Kludexin #6653- Error if an invalid field name is used with Field by
@dmontaguin #6797- Add
GenericModeltoMOVED_IN_V2by@adriangbin #6776- Remove unused code from
docs/usage/types/custom.mdby@hramezaniin #6803- Fix
float->Decimalcoercion precision loss by@adriangbin #6810- remove email validation from the north star benchmark by
@davidhewittin #6816- Fix link to mypy by
@progsmilein #6824- Improve initialization hooks example by
@hramezaniin #6822- Fix default port for mongosrv DSNs by
@dmontaguin #6827- Improve API documentation, in particular more links between usage and API docs by
@samuelcolvinin #6780- update pydantic-core to 2.4.0 by
@davidhewittin #6831- Fix
annotated_types.MaxLenvalidator for custom sequence types by@ImogenBitsin #6809- Update V1 by
@hramezaniin #6833- Make it so callable JSON schema extra works by
@dmontaguin #6798
... (truncated)
Commits
cfd5b6cPrepare 2.1.1 (#6865)d9d4750Skip FieldInfo merging when unnecessary (#6862)3284a24Prepare for release of v2.1.0 (#6853)f8c081eAllow customizing core schema generation by makingGenerateSchemapublic (#...0ff63bfUpdate serialization doc to mentionField.excludetakes priority over call-...0921bb3Improve documentation for config (#6847)2db6248Fix error message for staticmethod/classmethod order with validate_call (#6686)81f37a3Update json_encoders docs (#6848)3c02267delegate UUID serialization to pydantic-core (#6850)cff5385Addconfig.defer_buildto optionally make model building lazy (#6823)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)