Update dependency pydantic to v1.10.14 #2

Merged
marco merged 1 commits from renovate/pydantic-1.x into main 2024-02-18 17:20:09 +00:00
Member

This PR contains the following updates:

Package Update Change
pydantic (changelog) patch ==1.10.2 -> ==1.10.14

Release Notes

pydantic/pydantic (pydantic)

v1.10.14

Compare Source

v1.10.13

Compare Source

v1.10.12

Compare Source

  • Fixes the maxlen property being dropped on deque validation. Happened only if the deque item has been typed. Changes the _validate_sequence_like func, #​6581 by @​maciekglowka

v1.10.11

Compare Source

  • Importing create_model in tools.py through relative path instead of absolute path - so that it doesn't import V2 code when copied over to V2 branch, #​6361 by @​SharathHuddar

v1.10.10

Compare Source

v1.10.9

Compare Source

v1.10.8

Compare Source

v1.10.7

Compare Source

  • Fix creating schema from model using ConstrainedStr with regex as dict key, #​5223 by @​matejetz
  • Address bug in mypy plugin caused by explicit_package_bases=True, #​5191 by @​dmontagu
  • Add implicit defaults in the mypy plugin for Field with no default argument, #​5190 by @​dmontagu
  • Fix schema generated for Enum values used as Literals in discriminated unions, #​5188 by @​javibookline
  • Fix mypy failures caused by the pydantic mypy plugin when users define from_orm in their own classes, #​5187 by @​dmontagu
  • Fix InitVar usage with pydantic dataclasses, mypy version 1.1.1 and the custom mypy plugin, #​5162 by @​cdce8p

v1.10.6

Compare Source

  • Implement logic to support creating validators from non standard callables by using defaults to identify them and unwrapping functools.partial and functools.partialmethod when checking the signature, #​5126 by @​JensHeinrich
  • Fix mypy plugin for v1.1.1, and fix dataclass_transform decorator for pydantic dataclasses, #​5111 by @​cdce8p
  • Raise ValidationError, not ConfigError, when a discriminator value is unhashable, #​4773 by @​kurtmckee

v1.10.5

Compare Source

v1.10.4

Compare Source

v1.10.3

Compare Source

NOTE: v1.10.3 was "yanked" from PyPI due to #​4885 which is fixed in v1.10.4


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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [pydantic](https://github.com/pydantic/pydantic) ([changelog](https://docs.pydantic.dev/latest/changelog/)) | patch | `==1.10.2` -> `==1.10.14` | --- ### Release Notes <details> <summary>pydantic/pydantic (pydantic)</summary> ### [`v1.10.14`](https://github.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v11014-2024-01-19) [Compare Source](https://github.com/pydantic/pydantic/compare/v1.10.13...v1.10.14) - Update install.md by [@&#8203;dmontagu](https://github.com/dmontagu) in [#&#8203;7690](https://github.com/pydantic/pydantic/issues/7690) - Fix ci to only deploy docs on release by [@&#8203;sydney-runkle](https://github.com/sydney-runkle) in [#&#8203;7740](https://github.com/pydantic/pydantic/issues/7740) - Ubuntu fixes for V1 by [@&#8203;sydney-runkle](https://github.com/sydney-runkle) in [#&#8203;8540](https://github.com/pydantic/pydantic/issues/8540) and [#&#8203;8587](https://github.com/pydantic/pydantic/issues/8587) - Fix cached_property handling in dataclasses when copied by [@&#8203;rdbisme](https://github.com/rdbisme) in [#&#8203;8407](https://github.com/pydantic/pydantic/issues/8407) ### [`v1.10.13`](https://github.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v11013-2023-09-27) [Compare Source](https://github.com/pydantic/pydantic/compare/v1.10.12...v1.10.13) - Fix: Add max length check to `pydantic.validate_email`, [#&#8203;7673](https://github.com/pydantic/pydantic/issues/7673) by [@&#8203;hramezani](https://github.com/hramezani) - Docs: Fix pip commands to install v1, [#&#8203;6930](https://github.com/pydantic/pydantic/issues/6930) by [@&#8203;chbndrhnns](https://github.com/chbndrhnns) ### [`v1.10.12`](https://github.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v11012-2023-07-24) [Compare Source](https://github.com/pydantic/pydantic/compare/v1.10.11...v1.10.12) - Fixes the `maxlen` property being dropped on `deque` validation. Happened only if the deque item has been typed. Changes the `_validate_sequence_like` func, [#&#8203;6581](https://github.com/pydantic/pydantic/pull/6581) by [@&#8203;maciekglowka](https://github.com/maciekglowka) ### [`v1.10.11`](https://github.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v11011-2023-07-04) [Compare Source](https://github.com/pydantic/pydantic/compare/v1.10.10...v1.10.11) - Importing create_model in tools.py through relative path instead of absolute path - so that it doesn't import V2 code when copied over to V2 branch, [#&#8203;6361](https://github.com/pydantic/pydantic/pull/6361) by [@&#8203;SharathHuddar](https://github.com/SharathHuddar) ### [`v1.10.10`](https://github.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v11010-2023-06-30) [Compare Source](https://github.com/pydantic/pydantic/compare/v1.10.9...v1.10.10) - Add Pydantic `Json` field support to settings management, [#&#8203;6250](https://github.com/pydantic/pydantic/pull/6250) by [@&#8203;hramezani](https://github.com/hramezani) - Fixed literal validator errors for unhashable values, [#&#8203;6188](https://github.com/pydantic/pydantic/pull/6188) by [@&#8203;markus1978](https://github.com/markus1978) - Fixed bug with generics receiving forward refs, [#&#8203;6130](https://github.com/pydantic/pydantic/pull/6130) by [@&#8203;mark-todd](https://github.com/mark-todd) - Update install method of FastAPI for internal tests in CI, [#&#8203;6117](https://github.com/pydantic/pydantic/pull/6117) by [@&#8203;Kludex](https://github.com/Kludex) ### [`v1.10.9`](https://github.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v1109-2023-06-07) [Compare Source](https://github.com/pydantic/pydantic/compare/v1.10.8...v1.10.9) - Fix trailing zeros not ignored in Decimal validation, [#&#8203;5968](https://github.com/pydantic/pydantic/pull/5968) by [@&#8203;hramezani](https://github.com/hramezani) - Fix mypy plugin for v1.4.0, [#&#8203;5928](https://github.com/pydantic/pydantic/pull/5928) by [@&#8203;cdce8p](https://github.com/cdce8p) - Add future and past date hypothesis strategies, [#&#8203;5850](https://github.com/pydantic/pydantic/pull/5850) by [@&#8203;bschoenmaeckers](https://github.com/bschoenmaeckers) - Discourage usage of Cython 3 with Pydantic 1.x, [#&#8203;5845](https://github.com/pydantic/pydantic/pull/5845) by [@&#8203;lig](https://github.com/lig) ### [`v1.10.8`](https://github.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v1108-2023-05-23) [Compare Source](https://github.com/pydantic/pydantic/compare/v1.10.7...v1.10.8) - Fix a bug in `Literal` usage with `typing-extension==4.6.0`, [#&#8203;5826](https://github.com/pydantic/pydantic/pull/5826) by [@&#8203;hramezani](https://github.com/hramezani) - This solves the (closed) issue [#&#8203;3849](https://github.com/pydantic/pydantic/pull/3849) where aliased fields that use discriminated union fail to validate when the data contains the non-aliased field name, [#&#8203;5736](https://github.com/pydantic/pydantic/pull/5736) by [@&#8203;benwah](https://github.com/benwah) - Update email-validator dependency to >=2.0.0post2, [#&#8203;5627](https://github.com/pydantic/pydantic/pull/5627) by [@&#8203;adriangb](https://github.com/adriangb) - update `AnyClassMethod` for changes in [python/typeshed#9771](https://github.com/python/typeshed/issues/9771), [#&#8203;5505](https://github.com/pydantic/pydantic/pull/5505) by [@&#8203;ITProKyle](https://github.com/ITProKyle) ### [`v1.10.7`](https://github.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v1107-2023-03-22) [Compare Source](https://github.com/pydantic/pydantic/compare/v1.10.6...v1.10.7) - Fix creating schema from model using `ConstrainedStr` with `regex` as dict key, [#&#8203;5223](https://github.com/pydantic/pydantic/pull/5223) by [@&#8203;matejetz](https://github.com/matejetz) - Address bug in mypy plugin caused by explicit_package_bases=True, [#&#8203;5191](https://github.com/pydantic/pydantic/pull/5191) by [@&#8203;dmontagu](https://github.com/dmontagu) - Add implicit defaults in the mypy plugin for Field with no default argument, [#&#8203;5190](https://github.com/pydantic/pydantic/pull/5190) by [@&#8203;dmontagu](https://github.com/dmontagu) - Fix schema generated for Enum values used as Literals in discriminated unions, [#&#8203;5188](https://github.com/pydantic/pydantic/pull/5188) by [@&#8203;javibookline](https://github.com/javibookline) - Fix mypy failures caused by the pydantic mypy plugin when users define `from_orm` in their own classes, [#&#8203;5187](https://github.com/pydantic/pydantic/pull/5187) by [@&#8203;dmontagu](https://github.com/dmontagu) - Fix `InitVar` usage with pydantic dataclasses, mypy version `1.1.1` and the custom mypy plugin, [#&#8203;5162](https://github.com/pydantic/pydantic/pull/5162) by [@&#8203;cdce8p](https://github.com/cdce8p) ### [`v1.10.6`](https://github.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v1106-2023-03-08) [Compare Source](https://github.com/pydantic/pydantic/compare/v1.10.5...v1.10.6) - Implement logic to support creating validators from non standard callables by using defaults to identify them and unwrapping `functools.partial` and `functools.partialmethod` when checking the signature, [#&#8203;5126](https://github.com/pydantic/pydantic/pull/5126) by [@&#8203;JensHeinrich](https://github.com/JensHeinrich) - Fix mypy plugin for v1.1.1, and fix `dataclass_transform` decorator for pydantic dataclasses, [#&#8203;5111](https://github.com/pydantic/pydantic/pull/5111) by [@&#8203;cdce8p](https://github.com/cdce8p) - Raise `ValidationError`, not `ConfigError`, when a discriminator value is unhashable, [#&#8203;4773](https://github.com/pydantic/pydantic/pull/4773) by [@&#8203;kurtmckee](https://github.com/kurtmckee) ### [`v1.10.5`](https://github.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v1105-2023-02-15) [Compare Source](https://github.com/pydantic/pydantic/compare/v1.10.4...v1.10.5) - Fix broken parametrized bases handling with `GenericModel`s with complex sets of models, [#&#8203;5052](https://github.com/pydantic/pydantic/pull/5052) by [@&#8203;MarkusSintonen](https://github.com/MarkusSintonen) - Invalidate mypy cache if plugin config changes, [#&#8203;5007](https://github.com/pydantic/pydantic/pull/5007) by [@&#8203;cdce8p](https://github.com/cdce8p) - Fix `RecursionError` when deep-copying dataclass types wrapped by pydantic, [#&#8203;4949](https://github.com/pydantic/pydantic/pull/4949) by [@&#8203;mbillingr](https://github.com/mbillingr) - Fix `X | Y` union syntax breaking `GenericModel`, [#&#8203;4146](https://github.com/pydantic/pydantic/pull/4146) by [@&#8203;thenx](https://github.com/thenx) - Switch coverage badge to show coverage for this branch/release, [#&#8203;5060](https://github.com/pydantic/pydantic/pull/5060) by [@&#8203;samuelcolvin](https://github.com/samuelcolvin) ### [`v1.10.4`](https://github.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v1104-2022-12-30) [Compare Source](https://github.com/pydantic/pydantic/compare/v1.10.3...v1.10.4) - Change dependency to `typing-extensions>=4.2.0`, [#&#8203;4885](https://github.com/pydantic/pydantic/pull/4885) by [@&#8203;samuelcolvin](https://github.com/samuelcolvin) ### [`v1.10.3`](https://github.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v1103-2022-12-29) [Compare Source](https://github.com/pydantic/pydantic/compare/v1.10.2...v1.10.3) **NOTE: v1.10.3 was ["yanked"](https://pypi.org/help/#yanked) from PyPI due to [#&#8203;4885](https://github.com/pydantic/pydantic/pull/4885) which is fixed in v1.10.4** - fix parsing of custom root models, [#&#8203;4883](https://github.com/pydantic/pydantic/pull/4883) by [@&#8203;gou177](https://github.com/gou177) - fix: use dataclass proxy for frozen or empty dataclasses, [#&#8203;4878](https://github.com/pydantic/pydantic/pull/4878) by [@&#8203;PrettyWood](https://github.com/PrettyWood) - Fix `schema` and `schema_json` on models where a model instance is a one of default values, [#&#8203;4781](https://github.com/pydantic/pydantic/pull/4781) by [@&#8203;Bobronium](https://github.com/Bobronium) - Add Jina AI to sponsors on docs index page, [#&#8203;4767](https://github.com/pydantic/pydantic/pull/4767) by [@&#8203;samuelcolvin](https://github.com/samuelcolvin) - fix: support assignment on `DataclassProxy`, [#&#8203;4695](https://github.com/pydantic/pydantic/pull/4695) by [@&#8203;PrettyWood](https://github.com/PrettyWood) - Add `postgresql+psycopg` as allowed scheme for `PostgreDsn` to make it usable with SQLAlchemy 2, [#&#8203;4689](https://github.com/pydantic/pydantic/pull/4689) by [@&#8203;morian](https://github.com/morian) - Allow dict schemas to have both `patternProperties` and `additionalProperties`, [#&#8203;4641](https://github.com/pydantic/pydantic/pull/4641) by [@&#8203;jparise](https://github.com/jparise) - Fixes error passing None for optional lists with `unique_items`, [#&#8203;4568](https://github.com/pydantic/pydantic/pull/4568) by [@&#8203;mfulgo](https://github.com/mfulgo) - Fix `GenericModel` with `Callable` param raising a `TypeError`, [#&#8203;4551](https://github.com/pydantic/pydantic/pull/4551) by [@&#8203;mfulgo](https://github.com/mfulgo) - Fix field regex with `StrictStr` type annotation, [#&#8203;4538](https://github.com/pydantic/pydantic/pull/4538) by [@&#8203;sisp](https://github.com/sisp) - Correct `dataclass_transform` keyword argument name from `field_descriptors` to `field_specifiers`, [#&#8203;4500](https://github.com/pydantic/pydantic/pull/4500) by [@&#8203;samuelcolvin](https://github.com/samuelcolvin) - fix: avoid multiple calls of `__post_init__` when dataclasses are inherited, [#&#8203;4487](https://github.com/pydantic/pydantic/pull/4487) by [@&#8203;PrettyWood](https://github.com/PrettyWood) - Reduce the size of binary wheels, [#&#8203;2276](https://github.com/pydantic/pydantic/pull/2276) by [@&#8203;samuelcolvin](https://github.com/samuelcolvin) </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 [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xODIuMyIsInVwZGF0ZWRJblZlciI6IjM3LjE4Mi4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
renovate added 1 commit 2024-02-18 17:18:03 +00:00
marco merged commit 7f81a756cb into main 2024-02-18 17:20:09 +00:00
marco deleted branch renovate/pydantic-1.x 2024-02-18 17:20:09 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: training/docker-build-exercise#2