-
Notifications
You must be signed in to change notification settings - Fork 11
Commit 639b780
authored
chore(deps): update dependency pydantic to v2.1.0 (#46)
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [pydantic](https://togithub.com/pydantic/pydantic)
([changelog](https://docs.pydantic.dev/latest/changelog/)) | `==2.0.3`
-> `==2.1.0` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>pydantic/pydantic (pydantic)</summary>
###
[`v2.1.0`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v210-2023-07-25)
[Compare
Source](https://togithub.com/pydantic/pydantic/compare/v2.0.3...v2.1.0)
[GitHub
release](https://togithub.com/pydantic/pydantic/releases/tag/v2.1.0)
- Add `StringConstraints` for use as Annotated metadata by
[@​adriangb](https://togithub.com/adriangb) in
[#​6605](https://togithub.com/pydantic/pydantic/pull/6605)
- Try to fix intermittently failing CI by
[@​adriangb](https://togithub.com/adriangb) in
[#​6683](https://togithub.com/pydantic/pydantic/pull/6683)
- Remove redundant example of optional vs default. by
[@​ehiggs-deliverect](https://togithub.com/ehiggs-deliverect) in
[#​6676](https://togithub.com/pydantic/pydantic/pull/6676)
- Docs update by
[@​samuelcolvin](https://togithub.com/samuelcolvin) in
[#​6692](https://togithub.com/pydantic/pydantic/pull/6692)
- Remove the Validate always section in validator docs by
[@​adriangb](https://togithub.com/adriangb) in
[#​6679](https://togithub.com/pydantic/pydantic/pull/6679)
- Fix recursion error in json schema generation by
[@​adriangb](https://togithub.com/adriangb) in
[#​6720](https://togithub.com/pydantic/pydantic/pull/6720)
- Fix incorrect subclass check for secretstr by
[@​AlexVndnblcke](https://togithub.com/AlexVndnblcke) in
[#​6730](https://togithub.com/pydantic/pydantic/pull/6730)
- update pdm / pdm lockfile to 2.8.0 by
[@​davidhewitt](https://togithub.com/davidhewitt) in
[#​6714](https://togithub.com/pydantic/pydantic/pull/6714)
- unpin pdm on more CI jobs by
[@​davidhewitt](https://togithub.com/davidhewitt) in
[#​6755](https://togithub.com/pydantic/pydantic/pull/6755)
- improve source locations for auxiliary packages in docs by
[@​davidhewitt](https://togithub.com/davidhewitt) in
[#​6749](https://togithub.com/pydantic/pydantic/pull/6749)
- Assume builtins don't accept an info argument by
[@​adriangb](https://togithub.com/adriangb) in
[#​6754](https://togithub.com/pydantic/pydantic/pull/6754)
- Fix bug where calling `help(BaseModelSubclass)` raises errors by
[@​hramezani](https://togithub.com/hramezani) in
[#​6758](https://togithub.com/pydantic/pydantic/pull/6758)
- Fix mypy plugin handling of `@model_validator(mode="after")` by
[@​ljodal](https://togithub.com/ljodal) in
[#​6753](https://togithub.com/pydantic/pydantic/pull/6753)
- update pydantic-core to 2.3.1 by
[@​davidhewitt](https://togithub.com/davidhewitt) in
[#​6756](https://togithub.com/pydantic/pydantic/pull/6756)
- Mypy plugin for settings by
[@​hramezani](https://togithub.com/hramezani) in
[#​6760](https://togithub.com/pydantic/pydantic/pull/6760)
- Use `contentSchema` keyword for JSON schema by
[@​dmontagu](https://togithub.com/dmontagu) in
[#​6715](https://togithub.com/pydantic/pydantic/pull/6715)
- fast-path checking finite decimals by
[@​davidhewitt](https://togithub.com/davidhewitt) in
[#​6769](https://togithub.com/pydantic/pydantic/pull/6769)
- Docs update by
[@​samuelcolvin](https://togithub.com/samuelcolvin) in
[#​6771](https://togithub.com/pydantic/pydantic/pull/6771)
- Improve json schema doc by
[@​hramezani](https://togithub.com/hramezani) in
[#​6772](https://togithub.com/pydantic/pydantic/pull/6772)
- Update validator docs by
[@​adriangb](https://togithub.com/adriangb) in
[#​6695](https://togithub.com/pydantic/pydantic/pull/6695)
- Fix typehint for wrap validator by
[@​dmontagu](https://togithub.com/dmontagu) in
[#​6788](https://togithub.com/pydantic/pydantic/pull/6788)
- 🐛 Fix validation warning for unions of Literal and other type by
[@​lig](https://togithub.com/lig) in
[#​6628](https://togithub.com/pydantic/pydantic/pull/6628)
- Update documentation for generics support in V2 by
[@​tpdorsey](https://togithub.com/tpdorsey) in
[#​6685](https://togithub.com/pydantic/pydantic/pull/6685)
- add pydantic-core build info to `version_info()` by
[@​samuelcolvin](https://togithub.com/samuelcolvin) in
[#​6785](https://togithub.com/pydantic/pydantic/pull/6785)
- Fix pydantic dataclasses that use slots with default values by
[@​dmontagu](https://togithub.com/dmontagu) in
[#​6796](https://togithub.com/pydantic/pydantic/pull/6796)
- Fix inheritance of hash function for frozen models by
[@​dmontagu](https://togithub.com/dmontagu) in
[#​6789](https://togithub.com/pydantic/pydantic/pull/6789)
- ✨ Add `SkipJsonSchema` annotation by
[@​Kludex](https://togithub.com/Kludex) in
[#​6653](https://togithub.com/pydantic/pydantic/pull/6653)
- Error if an invalid field name is used with Field by
[@​dmontagu](https://togithub.com/dmontagu) in
[#​6797](https://togithub.com/pydantic/pydantic/pull/6797)
- Add `GenericModel` to `MOVED_IN_V2` by
[@​adriangb](https://togithub.com/adriangb) in
[#​6776](https://togithub.com/pydantic/pydantic/pull/6776)
- Remove unused code from `docs/usage/types/custom.md` by
[@​hramezani](https://togithub.com/hramezani) in
[#​6803](https://togithub.com/pydantic/pydantic/pull/6803)
- Fix `float` -> `Decimal` coercion precision loss by
[@​adriangb](https://togithub.com/adriangb) in
[#​6810](https://togithub.com/pydantic/pydantic/pull/6810)
- remove email validation from the north star benchmark by
[@​davidhewitt](https://togithub.com/davidhewitt) in
[#​6816](https://togithub.com/pydantic/pydantic/pull/6816)
- Fix link to mypy by
[@​progsmile](https://togithub.com/progsmile) in
[#​6824](https://togithub.com/pydantic/pydantic/pull/6824)
- Improve initialization hooks example by
[@​hramezani](https://togithub.com/hramezani) in
[#​6822](https://togithub.com/pydantic/pydantic/pull/6822)
- Fix default port for mongosrv DSNs by
[@​dmontagu](https://togithub.com/dmontagu) in
[#​6827](https://togithub.com/pydantic/pydantic/pull/6827)
- Improve API documentation, in particular more links between usage and
API docs by [@​samuelcolvin](https://togithub.com/samuelcolvin) in
[#​6780](https://togithub.com/pydantic/pydantic/pull/6780)
- update pydantic-core to 2.4.0 by
[@​davidhewitt](https://togithub.com/davidhewitt) in
[#​6831](https://togithub.com/pydantic/pydantic/pull/6831)
- Fix `annotated_types.MaxLen` validator for custom sequence types by
[@​ImogenBits](https://togithub.com/ImogenBits) in
[#​6809](https://togithub.com/pydantic/pydantic/pull/6809)
- Update V1 by [@​hramezani](https://togithub.com/hramezani) in
[#​6833](https://togithub.com/pydantic/pydantic/pull/6833)
- Make it so callable JSON schema extra works by
[@​dmontagu](https://togithub.com/dmontagu) in
[#​6798](https://togithub.com/pydantic/pydantic/pull/6798)
- Fix serialization issue with `InstanceOf` by
[@​dmontagu](https://togithub.com/dmontagu) in
[#​6829](https://togithub.com/pydantic/pydantic/pull/6829)
- Add back support for `json_encoders` by
[@​adriangb](https://togithub.com/adriangb) in
[#​6811](https://togithub.com/pydantic/pydantic/pull/6811)
- Update field annotations when building the schema by
[@​dmontagu](https://togithub.com/dmontagu) in
[#​6838](https://togithub.com/pydantic/pydantic/pull/6838)
- Use `WeakValueDictionary` to fix generic memory leak by
[@​dmontagu](https://togithub.com/dmontagu) in
[#​6681](https://togithub.com/pydantic/pydantic/pull/6681)
- Add `config.defer_build` to optionally make model building lazy by
[@​samuelcolvin](https://togithub.com/samuelcolvin) in
[#​6823](https://togithub.com/pydantic/pydantic/pull/6823)
- delegate `UUID` serialization to pydantic-core by
[@​davidhewitt](https://togithub.com/davidhewitt) in
[#​6850](https://togithub.com/pydantic/pydantic/pull/6850)
- Update `json_encoders` docs by
[@​adriangb](https://togithub.com/adriangb) in
[#​6848](https://togithub.com/pydantic/pydantic/pull/6848)
- Fix error message for `staticmethod`/`classmethod` order with
validate_call by [@​dmontagu](https://togithub.com/dmontagu) in
[#​6686](https://togithub.com/pydantic/pydantic/pull/6686)
- Improve documentation for `Config` by
[@​samuelcolvin](https://togithub.com/samuelcolvin) in
[#​6847](https://togithub.com/pydantic/pydantic/pull/6847)
- Update serialization doc to mention `Field.exclude` takes priority
over call-time `include/exclude` by
[@​hramezani](https://togithub.com/hramezani) in
[#​6851](https://togithub.com/pydantic/pydantic/pull/6851)
- Allow customizing core schema generation by making `GenerateSchema`
public by [@​adriangb](https://togithub.com/adriangb) in
[#​6737](https://togithub.com/pydantic/pydantic/pull/6737)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/cloud-py-api/nc_py_api).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMTEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 506958a commit 639b780Copy full SHA for 639b780
File tree
Expand file treeCollapse file tree
1 file changed
+1
-1
lines changedOpen diff view settings
Filter options
Expand file treeCollapse file tree
1 file changed
+1
-1
lines changedOpen diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
0 commit comments