chore(deps): update dependency pydantic to v1.10.4
Metadata
Current evaluation
The pydantic v1.10.4 update was closed unmerged due to a conflict with craft-parts 1.17.1 requiring v1.9.0. Renovate subsequently ignored this specific version.
Suggested action: —
No scores available.
Issue body
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [pydantic](https://togithub.com/pydantic/pydantic) | `==1.9.0` -> `==1.10.4` | [](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</summary>
### [`v1.10.4`](https://togithub.com/pydantic/pydantic/releases/tag/v1.10.4): (2022-12-30)
[Compare Source](https://togithub.com/pydantic/pydantic/compare/v1.10.3...v1.10.4)
- Change dependency to `typing-extensions>=4.2.0`, [#​4885](https://togithub.com/pydantic/pydantic/issues/4885) by [@​samuelcolvin](https://togithub.com/samuelcolvin)
**Full Changelog**: https://github.com/pydantic/pydantic/compare/v1.10.3...v1.10.4
### [`v1.10.3`](https://togithub.com/pydantic/pydantic/releases/tag/v1.10.3): (2022-12-29)
[Compare Source](https://togithub.com/pydantic/pydantic/compare/v1.10.2...v1.10.3)
- fix parsing of custom root models, [#​4883](https://togithub.com/pydantic/pydantic/issues/4883) by [@​gou177](https://togithub.com/gou177)
- fix: use dataclass proxy for frozen or empty dataclasses, [#​4878](https://togithub.com/pydantic/pydantic/issues/4878) by [@​PrettyWood](https://togithub.com/PrettyWood)
- Fix `schema` and `schema_json` on models where a model instance is a one of default values, [#​4781](https://togithub.com/pydantic/pydantic/issues/4781) by [@​Bobronium](https://togithub.com/Bobronium)
- Add Jina AI to sponsors on docs index page, [#​4767](https://togithub.com/pydantic/pydantic/issues/4767) by [@​samuelcolvin](https://togithub.com/samuelcolvin)
- fix: support assignment on `DataclassProxy`, [#​4695](https://togithub.com/pydantic/pydantic/issues/4695) by [@​PrettyWood](https://togithub.com/PrettyWood)
- Add `postgresql+psycopg` as allowed scheme for `PostgreDsn` to make it usable with SQLAlchemy 2, [#​4689](https://togithub.com/pydantic/pydantic/issues/4689) by [@​morian](https://togithub.com/morian)
- Allow dict schemas to have both `patternProperties` and `additionalProperties`, [#​4641](https://togithub.com/pydantic/pydantic/issues/4641) by [@​jparise](https://togithub.com/jparise)
- Fixes error passing None for optional lists with `unique_items`, [#​4568](https://togithub.com/pydantic/pydantic/issues/4568) by [@​mfulgo](https://togithub.com/mfulgo)
- Fix `GenericModel` with `Callable` param raising a `TypeError`, [#​4551](https://togithub.com/pydantic/pydantic/issues/4551) by [@​mfulgo](https://togithub.com/mfulgo)
- Fix field regex with `StrictStr` type annotation, [#​4538](https://togithub.com/pydantic/pydantic/issues/4538) by [@​sisp](https://togithub.com/sisp)
- Correct `dataclass_transform` keyword argument name from `field_descriptors` to `field_specifiers`, [#​4500](https://togithub.com/pydantic/pydantic/issues/4500) by [@​samuelcolvin](https://togithub.com/samuelcolvin)
- fix: avoid multiple calls of `__post_init__` when dataclasses are inherited, [#​4487](https://togithub.com/pydantic/pydantic/issues/4487) by [@​PrettyWood](https://togithub.com/PrettyWood)
- Reduce the size of binary wheels, [#​2276](https://togithub.com/pydantic/pydantic/issues/2276) by [@​samuelcolvin](https://togithub.com/samuelcolvin)
**Full Changelog**: https://github.com/pydantic/pydantic/compare/v1.10.2...v1.10.3
### [`v1.10.2`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v1102-2022-09-05)
[Compare Source](https://togithub.com/pydantic/pydantic/compare/v1.10.1...v1.10.2)
- **Revert Change:** Revert percent encoding of URL parts which was originally added in [#​4224](https://togithub.com/pydantic/pydantic/issues/4224), [#​4470](https://togithub.com/pydantic/pydantic/issues/4470) by [@​samuelcolvin](https://togithub.com/samuelcolvin)
- Prevent long (length > `4_300`) strings/bytes as input to int fields, see
[python/cpython#​95778](https://togithub.com/python/cpython/issues/95778) and
[CVE-2020-10735](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10735), [#​1477](https://togithub.com/pydantic/pydantic/issues/1477) by [@​samuelcolvin](https://togithub.com/samuelcolvin)
- fix: dataclass wrapper was not always called, [#​4477](https://togithub.com/pydantic/pydantic/issues/4477) by [@​PrettyWood](https://togithub.com/PrettyWood)
- Use `tomllib` on Python 3.11 when parsing `mypy` configuration, [#​4476](https://togithub.com/pydantic/pydantic/issues/4476) by [@​hauntsaninja](https://togithub.com/hauntsaninja)
- Basic fix of `GenericModel` cache to detect order of arguments in `Union` models, [#​4474](https://togithub.com/pydantic/pydantic/issues/4474) by [@​sveinugu](https://togithub.com/sveinugu)
- Fix mypy plugin when using bare types like `list` and `dict` as `default_factory`, [#​4457](https://togithub.com/pydantic/pydantic/issues/4457) by [@​samuelcolvin](https://togithub.com/samuelcolvin)
### [`v1.10.1`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v1101-2022-08-31)
[Compare Source](https://togithub.com/pydantic/pydantic/compare/v1.10.0...v1.10.1)
- Add `__hash__` method to `pydancic.color.Color` class, [#​4454](https://togithub.com/pydantic/pydantic/issues/4454) by [@​czaki](https://togithub.com/czaki)
### [`v1.10.0`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v1100-2022-08-30)
[Compare Source](https://togithub.com/pydantic/pydantic/compare/v1.9.2...v1.10.0)
- Refactor the whole *pydantic* `dataclass` decorator to really act like its standard lib equivalent.
It hence keeps `__eq__`, `__hash__`, ... and makes comparison with its non-validated version possible.
It also fixes usage of `frozen` dataclasses in fields and usage of `default_factory` in nested dataclasses.
The support of `Config.extra` has been added.
Finally, config customization directly via a `dict` is now possible, [#​2557](https://togithub.com/pydantic/pydantic/issues/2557) by [@​PrettyWood](https://togithub.com/PrettyWood) <br/><br/>
**BREAKING CHANGES:**
- The `compiled` boolean (whether *pydantic* is compiled with cython) has been moved from `main.py` to `version.py`
- Now that `Config.extra` is supported, `dataclass` ignores by default extra arguments (like `BaseModel`)
- Fix PEP487 `__set_name__` protocol in `BaseModel` for PrivateAttrs, [#​4407](https://togithub.com/pydantic/pydantic/issues/4407) by [@​tlambert03](https://togithub.com/tlambert03)
- Allow for custom parsing of environment variables via `parse_env_var` in `Config`, [#​4406](https://togithub.com/pydantic/pydantic/issues/4406) by [@​acmiyaguchi](https://togithub.com/acmiyaguchi)
- Rename `master` to `main`, [#​4405](https://togithub.com/pydantic/pydantic/issues/4405) by [@​hramezani](https://togithub.com/hramezani)
- Fix `StrictStr` does not raise `ValidationError` when `max_length` is present in `Field`, [#​4388](https://togithub.com/pydantic/pydantic/issues/4388) by [@​hramezani](https://togithub.com/hramezani)
- Make `SecretStr` and `SecretBytes` hashable, [#​4387](https://togithub.com/pydantic/pydantic/issues/4387) by [@​chbndrhnns](https://togithub.com/chbndrhnns)
- Fix `StrictBytes` does not raise `ValidationError` when `max_length` is present in `Field`, [#​4380](https://togithub.com/pydantic/pydantic/issues/4380) by [@​JeanArhancet](https://togithub.com/JeanArhancet)
- Add support for bare `type`, [#​4375](https://togithub.com/pydantic/pydantic/issues/4375) by [@​hramezani](https://togithub.com/hramezani)
- Support Python 3.11, including binaries for 3.11 in PyPI, [#​4374](https://togithub.com/pydantic/pydantic/issues/4374) by [@​samuelcolvin](https://togithub.com/samuelcolvin)
- Add support for `re.Pattern`, [#​4366](https://togithub.com/pydantic/pydantic/issues/4366) by [@​hramezani](https://togithub.com/hramezani)
- Fix `__post_init_post_parse__` is incorrectly passed keyword arguments when no `__post_init__` is defined, [#​4361](https://togithub.com/pydantic/pydantic/issues/4361) by [@​hramezani](https://togithub.com/hramezani)
- Fix implicitly importing `ForwardRef` and `Callable` from `pydantic.typing` instead of `typing` and also expose `MappingIntStrAny`, [#​4358](https://togithub.com/pydantic/pydantic/issues/4358) by [@​aminalaee](https://togithub.com/aminalaee)
- remove `Any` types from the `dataclass` decorator so it can be used with the `disallow_any_expr` mypy option, [#​4356](https://togithub.com/pydantic/pydantic/issues/4356) by [@​DetachHead](https://togithub.com/DetachHead)
- moved repo to `pydantic/pydantic`, [#​4348](https://togithub.com/pydantic/pydantic/issues/4348) by [@​yezz123](https://togithub.com/yezz123)
- fix "extra fields not permitted" error when dataclass with `Extra.forbid` is validated multiple times, [#​4343](https://togithub.com/pydantic/pydantic/issues/4343) by [@​detachhead](https://togithub.com/detachhead)
- Add Python 3.9 and 3.10 examples to docs, [#​4339](https://togithub.com/pydantic/pydantic/issues/4339) by [@​Bobronium](https://togithub.com/Bobronium)
- Discriminated union models now use `oneOf` instead of `anyOf` when generating OpenAPI schema definitions, [#​4335](https://togithub.com/pydantic/pydantic/issues/4335) by [@​MaxwellPayne](https://togithub.com/MaxwellPayne)
- Allow type checkers to infer inner type of `Json` type. `Json[list[str]]` will be now inferred as `list[str]`,
`Json[Any]` should be used instead of plain `Json`.
Runtime behaviour is not changed, [#​4332](https://togithub.com/pydantic/pydantic/issues/4332) by [@​Bobronium](https://togithub.com/Bobronium)
- Allow empty string aliases by using a `alias is not None` check, rather than `bool(alias)`, [#​4253](https://togithub.com/pydantic/pydantic/issues/4253) by [@​sergeytsaplin](https://togithub.com/sergeytsaplin)
- Update `ForwardRef`s in `Field.outer_type_`, [#​4249](https://togithub.com/pydantic/pydantic/issues/4249) by [@​JacobHayes](https://togithub.com/JacobHayes)
- The use of `__dataclass_transform__` has been replaced by `typing_extensions.dataclass_transform`, which is the preferred way to mark pydantic models as a dataclass under [PEP 681](https://peps.python.org/pep-0681/), [#​4241](https://togithub.com/pydantic/pydantic/issues/4241) by [@​multimeric](https://togithub.com/multimeric)
- Use parent model's `Config` when validating nested `NamedTuple` fields, [#​4219](https://togithub.com/pydantic/pydantic/issues/4219) by [@​synek](https://togithub.com/synek)
- Update `BaseModel.construct` to work with aliased Fields, [#​4192](https://togithub.com/pydantic/pydantic/issues/4192) by [@​kylebamos](https://togithub.com/kylebamos)
- Catch certain raised errors in `smart_deepcopy` and revert to `deepcopy` if so, [#​4184](https://togithub.com/pydantic/pydantic/issues/4184) by [@​coneybeare](https://togithub.com/coneybeare)
- Add `Config.anystr_upper` and `to_upper` kwarg to constr and conbytes, [#​4165](https://togithub.com/pydantic/pydantic/issues/4165) by [@​satheler](https://togithub.com/satheler)
- Fix JSON schema for `set` and `frozenset` when they include default values, [#​4155](https://togithub.com/pydantic/pydantic/issues/4155) by [@​aminalaee](https://togithub.com/aminalaee)
- Teach the mypy plugin that methods decorated by `@validator` are classmethods, [#​4102](https://togithub.com/pydantic/pydantic/issues/4102) by [@​DMRobertson](https://togithub.com/DMRobertson)
- Improve mypy plugin's ability to detect required fields, [#​4086](https://togithub.com/pydantic/pydantic/issues/4086) by [@​richardxia](https://togithub.com/richardxia)
- Support fields of type `Type[]` in schema, [#​4051](https://togithub.com/pydantic/pydantic/issues/4051) by [@​aminalaee](https://togithub.com/aminalaee)
- Add `default` value in JSON Schema when `const=True`, [#​4031](https://togithub.com/pydantic/pydantic/issues/4031) by [@​aminalaee](https://togithub.com/aminalaee)
- Adds reserved word check to signature generation logic, [#​4011](https://togithub.com/pydantic/pydantic/issues/4011) by [@​strue36](https://togithub.com/strue36)
- Fix Json strategy failure for the complex nested field, [#​4005](https://togithub.com/pydantic/pydantic/issues/4005) by [@​sergiosim](https://togithub.com/sergiosim)
- Add JSON-compatible float constraint `allow_inf_nan`, [#​3994](https://togithub.com/pydantic/pydantic/issues/3994) by [@​tiangolo](https://togithub.com/tiangolo)
- Remove undefined behaviour when `env_prefix` had characters in common with `env_nested_delimiter`, [#​3975](https://togithub.com/pydantic/pydantic/issues/3975) by [@​arsenron](https://togithub.com/arsenron)
- Support generics model with `create_model`, [#​3945](https://togithub.com/pydantic/pydantic/issues/3945) by [@​hot123s](https://togithub.com/hot123s)
- allow submodels to overwrite extra field info, [#​3934](https://togithub.com/pydantic/pydantic/issues/3934) by [@​PrettyWood](https://togithub.com/PrettyWood)
- Document and test structural pattern matching ([PEP 636](https://peps.python.org/pep-0636/)) on `BaseModel`, [#​3920](https://togithub.com/pydantic/pydantic/issues/3920) by [@​irgolic](https://togithub.com/irgolic)
- Fix incorrect deserialization of python timedelta object to ISO 8601 for negative time deltas.
Minus was serialized in incorrect place ("P-1DT23H59M59.888735S" instead of correct "-P1DT23H59M59.888735S"), [#​3899](https://togithub.com/pydantic/pydantic/issues/3899) by [@​07pepa](https://togithub.com/07pepa)
- Fix validation of discriminated union fields with an alias when passing a model instance, [#​3846](https://togithub.com/pydantic/pydantic/issues/3846) by [@​chornsby](https://togithub.com/chornsby)
- Add a CockroachDsn type to validate CockroachDB connection strings. The type
supports the following schemes: `cockroachdb`, `cockroachdb+psycopg2` and `cockroachdb+asyncpg`, [#​3839](https://togithub.com/pydantic/pydantic/issues/3839) by [@​blubber](https://togithub.com/blubber)
- Fix MyPy plugin to not override pre-existing `__init__` method in models, [#​3824](https://togithub.com/pydantic/pydantic/issues/3824) by [@​patrick91](https://togithub.com/patrick91)
- Fix mypy version checking, [#​3783](https://togithub.com/pydantic/pydantic/issues/3783) by [@​KotlinIsland](https://togithub.com/KotlinIsland)
- support overwriting dunder attributes of `BaseModel` instances, [#​3777](https://togithub.com/pydantic/pydantic/issues/3777) by [@​PrettyWood](https://togithub.com/PrettyWood)
- Added `ConstrainedDate` and `condate`, [#​3740](https://togithub.com/pydantic/pydantic/issues/3740) by [@​hottwaj](https://togithub.com/hottwaj)
- Support `kw_only` in dataclasses, [#​3670](https://togithub.com/pydantic/pydantic/issues/3670) by [@​detachhead](https://togithub.com/detachhead)
- Add comparison method for `Color` class, [#​3646](https://togithub.com/pydantic/pydantic/issues/3646) by [@​aminalaee](https://togithub.com/aminalaee)
- Drop support for python3.6, associated cleanup, [#​3605](https://togithub.com/pydantic/pydantic/issues/3605) by [@​samuelcolvin](https://togithub.com/samuelcolvin)
- created new function `to_lower_camel()` for "non pascal case" camel case, [#​3463](https://togithub.com/pydantic/pydantic/issues/3463) by [@​schlerp](https://togithub.com/schlerp)
- Add checks to `default` and `default_factory` arguments in Mypy plugin, [#​3430](https://togithub.com/pydantic/pydantic/issues/3430) by [@​klaa97](https://togithub.com/klaa97)
- fix mangling of `inspect.signature` for `BaseModel`, [#​3413](https://togithub.com/pydantic/pydantic/issues/3413) by [@​fix-inspect-signature](https://togithub.com/fix-inspect-signature)
- Adds the `SecretField` abstract class so that all the current and future secret fields like `SecretStr` and `SecretBytes` will derive from it, [#​3409](https://togithub.com/pydantic/pydantic/issues/3409) by [@​expobrain](https://togithub.com/expobrain)
- Support multi hosts validation in `PostgresDsn`, [#​3337](https://togithub.com/pydantic/pydantic/issues/3337) by [@​rglsk](https://togithub.com/rglsk)
- Fix parsing of very small numeric timedelta values, [#​3315](https://togithub.com/pydantic/pydantic/issues/3315) by [@​samuelcolvin](https://togithub.com/samuelcolvin)
- Update `SecretsSettingsSource` to respect `config.case_sensitive`, [#​3273](https://togithub.com/pydantic/pydantic/issues/3273) by [@​JeanArhancet](https://togithub.com/JeanArhancet)
- Add MongoDB network data source name (DSN) schema, [#​3229](https://togithub.com/pydantic/pydantic/issues/3229) by [@​snosratiershad](https://togithub.com/snosratiershad)
- Add support for multiple dotenv files, [#​3222](https://togithub.com/pydantic/pydantic/issues/3222) by [@​rekyungmin](https://togithub.com/rekyungmin)
- Raise an explicit `ConfigError` when multiple fields are incorrectly set for a single validator, [#​3215](https://togithub.com/pydantic/pydantic/issues/3215) by [@​SunsetOrange](https://togithub.com/SunsetOrange)
- Allow ellipsis on `Field`s inside `Annotated` for `TypedDicts` required, [#​3133](https://togithub.com/pydantic/pydantic/issues/3133) by [@​ezegomez](https://togithub.com/ezegomez)
- Catch overflow errors in `int_validator`, [#​3112](https://togithub.com/pydantic/pydantic/issues/3112) by [@​ojii](https://togithub.com/ojii)
- Adds a `__rich_repr__` method to `Representation` class which enables pretty printing with [Rich](https://togithub.com/willmcgugan/rich), [#​3099](https://togithub.com/pydantic/pydantic/issues/3099) by [@​willmcgugan](https://togithub.com/willmcgugan)
- Add percent encoding in `AnyUrl` and descendent types, [#​3061](https://togithub.com/pydantic/pydantic/issues/3061) by [@​FaresAhmedb](https://togithub.com/FaresAhmedb)
- `validate_arguments` decorator now supports `alias`, [#​3019](https://togithub.com/pydantic/pydantic/issues/3019) by [@​MAD-py](https://togithub.com/MAD-py)
- Avoid `__dict__` and `__weakref__` attributes in `AnyUrl` and IP address fields, [#​2890](https://togithub.com/pydantic/pydantic/issues/2890) by [@​nuno-andre](https://togithub.com/nuno-andre)
- Add ability to use `Final` in a field type annotation, [#​2766](https://togithub.com/pydantic/pydantic/issues/2766) by [@​uriyyo](https://togithub.com/uriyyo)
- Update requirement to `typing_extensions>=4.1.0` to guarantee `dataclass_transform` is available, [#​4424](https://togithub.com/pydantic/pydantic/issues/4424) by [@​commonism](https://togithub.com/commonism)
- Add Explosion and AWS to main sponsors, [#​4413](https://togithub.com/pydantic/pydantic/issues/4413) by [@​samuelcolvin](https://togithub.com/samuelcolvin)
- Update documentation for `copy_on_model_validation` to reflect recent changes, [#​4369](https://togithub.com/pydantic/pydantic/issues/4369) by [@​samuelcolvin](https://togithub.com/samuelcolvin)
- Runtime warning if `__slots__` is passed to `create_model`, `__slots__` is then ignored, [#​4432](https://togithub.com/pydantic/pydantic/issues/4432) by [@​samuelcolvin](https://togithub.com/samuelcolvin)
- Add type hints to `BaseSettings.Config` to avoid mypy errors, also correct mypy version compatibility notice in docs, [#​4450](https://togithub.com/pydantic/pydantic/issues/4450) by [@​samuelcolvin](https://togithub.com/samuelcolvin)
### [`v1.9.2`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v192-2022-08-11)
[Compare Source](https://togithub.com/pydantic/pydantic/compare/v1.9.1...v1.9.2)
**Revert Breaking Change**: *v1.9.1* introduced a breaking change where model fields were
deep copied by default, this release reverts the default behaviour to match *v1.9.0* and before,
while also allow deep-copy behaviour via `copy_on_model_validation = 'deep'`. See [#​4092](https://togithub.com/pydantic/pydantic/issues/4092) for more information.
- Allow for shallow copies of model fields, `Config.copy_on_model_validation` is now a str which must be
`'none'`, `'deep'`, or `'shallow'` corresponding to not copying, deep copy & shallow copy; default `'shallow'`,
[#​4093](https://togithub.com/pydantic/pydantic/issues/4093) by [@​timkpaine](https://togithub.com/timkpaine)
### [`v1.9.1`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v191-2022-05-19)
[Compare Source](https://togithub.com/pydantic/pydantic/compare/v1.9.0...v1.9.1)
Thank you to pydantic's sponsors:
[@​tiangolo](https://togithub.com/tiangolo), [@​stellargraph](https://togithub.com/stellargraph), [@​JonasKs](https://togithub.com/JonasKs), [@​grillazz](https://togithub.com/grillazz), [@​Mazyod](https://togithub.com/Mazyod), [@​kevinalh](https://togithub.com/kevinalh), [@​chdsbd](https://togithub.com/chdsbd), [@​povilasb](https://togithub.com/povilasb), [@​povilasb](https://togithub.com/povilasb), [@​jina-ai](https://togithub.com/jina-ai),
[@​mainframeindustries](https://togithub.com/mainframeindustries), [@​robusta-dev](https://togithub.com/robusta-dev), [@​SendCloud](https://togithub.com/SendCloud), [@​rszamszur](https://togithub.com/rszamszur), [@​jodal](https://togithub.com/jodal), [@​hardbyte](https://togithub.com/hardbyte), [@​corleyma](https://togithub.com/corleyma), [@​daddycocoaman](https://togithub.com/daddycocoaman),
[@​Rehket](https://togithub.com/Rehket), [@​jokull](https://togithub.com/jokull), [@​reillysiemens](https://togithub.com/reillysiemens), [@​westonsteimel](https://togithub.com/westonsteimel), [@​primer-io](https://togithub.com/primer-io), [@​koxudaxi](https://togithub.com/koxudaxi), [@​browniebroke](https://togithub.com/browniebroke), [@​stradivari96](https://togithub.com/stradivari96),
[@​adriangb](https://togithub.com/adriangb), [@​kamalgill](https://togithub.com/kamalgill), [@​jqueguiner](https://togithub.com/jqueguiner), [@​dev-zero](https://togithub.com/dev-zero), [@​datarootsio](https://togithub.com/datarootsio), [@​RedCarpetUp](https://togithub.com/RedCarpetUp)
for their kind support.
- Limit the size of `generics._generic_types_cache` and `generics._assigned_parameters`
to avoid unlimited increase in memory usage, [#​4083](https://togithub.com/pydantic/pydantic/issues/4083) by [@​samuelcolvin](https://togithub.com/samuelcolvin)
- Add Jupyverse and FPS as Jupyter projects using pydantic, [#​4082](https://togithub.com/pydantic/pydantic/issues/4082) by [@​davidbrochart](https://togithub.com/davidbrochart)
- Speedup `__isinstancecheck__` on pydantic models when the type is not a model, may also avoid memory "leaks", [#​4081](https://togithub.com/pydantic/pydantic/issues/4081) by [@​samuelcolvin](https://togithub.com/samuelcolvin)
- Fix in-place modification of `FieldInfo` that caused problems with PEP 593 type aliases, [#​4067](https://togithub.com/pydantic/pydantic/issues/4067) by [@​adriangb](https://togithub.com/adriangb)
- Add support for autocomplete in VS Code via `__dataclass_transform__` when using `pydantic.dataclasses.dataclass`, [#​4006](https://togithub.com/pydantic/pydantic/issues/4006) by [@​giuliano-oliveira](https://togithub.com/giuliano-oliveira)
- Remove benchmarks from codebase and docs, [#​3973](https://togithub.com/pydantic/pydantic/issues/3973) by [@​samuelcolvin](https://togithub.com/samuelcolvin)
- Typing checking with pyright in CI, improve docs on vscode/pylance/pyright, [#​3972](https://togithub.com/pydantic/pydantic/issues/3972) by [@​samuelcolvin](https://togithub.com/samuelcolvin)
- Fix nested Python dataclass schema regression, [#​3819](https://togithub.com/pydantic/pydantic/issues/3819) by [@​himbeles](https://togithub.com/himbeles)
- Update documentation about lazy evaluation of sources for Settings, [#​3806](https://togithub.com/pydantic/pydantic/issues/3806) by [@​garyd203](https://togithub.com/garyd203)
- Prevent subclasses of bytes being converted to bytes, [#​3706](https://togithub.com/pydantic/pydantic/issues/3706) by [@​samuelcolvin](https://togithub.com/samuelcolvin)
- Fixed "error checking inheritance of" when using PEP585 and PEP604 type hints, [#​3681](https://togithub.com/pydantic/pydantic/issues/3681) by [@​aleksul](https://togithub.com/aleksul)
- Allow self referencing `ClassVar`s in models, [#​3679](https://togithub.com/pydantic/pydantic/issues/3679) by [@​samuelcolvin](https://togithub.com/samuelcolvin)
- **Breaking Change, see [#​4106](https://togithub.com/pydantic/pydantic/issues/4106)**: Fix issue with self-referencing dataclass, [#​3675](https://togithub.com/pydantic/pydantic/issues/3675) by [@​uriyyo](https://togithub.com/uriyyo)
- Include non-standard port numbers in rendered URLs, [#​3652](https://togithub.com/pydantic/pydantic/issues/3652) by [@​dolfinus](https://togithub.com/dolfinus)
- `Config.copy_on_model_validation` does a deep copy and not a shallow one, [#​3641](https://togithub.com/pydantic/pydantic/issues/3641) by [@​PrettyWood](https://togithub.com/PrettyWood)
- fix: clarify that discriminated unions do not support singletons, [#​3636](https://togithub.com/pydantic/pydantic/issues/3636) by [@​tommilligan](https://togithub.com/tommilligan)
- Add `read_text(encoding='utf-8')` for `setup.py`, [#​3625](https://togithub.com/pydantic/pydantic/issues/3625) by [@​hswong3i](https://togithub.com/hswong3i)
- Fix JSON Schema generation for Discriminated Unions within lists, [#​3608](https://togithub.com/pydantic/pydantic/issues/3608) by [@​samuelcolvin](https://togithub.com/samuelcolvin)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - "after 1 am and before 7 am" in timezone Etc/UTC.
🚦 **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://app.renovatebot.com/dashboard#github/canonical/charmcraft).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC41OS4wIiwidXBkYXRlZEluVmVyIjoiMzQuODEuMCJ9-->
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | The pydantic v1.10.4 update was closed unmerged due to a conflict with craft-parts 1.17.1 requiring v1.9.0. Renovate subsequently ignored this specific version. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed unmerged due to a dependency conflict with craft-parts requiring pydantic==1.9.0. Renovate will ignore this update and propose a newer version when available. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed unmerged due to a dependency conflict. craft-cli and craft-parts require pydantic==1.9.0, blocking the v1.10.4 update. Renovate will now ignore this specific version bump. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1029 chore(deps): update dependency pydantic to v1.10.5 | charmcraft | closed | Pydantic v1.10.5 update was closed unmerged. A maintainer noted it requires accompanying changes in craft-parts before proceeding. Renovate will ignore this specific version. | |
| #163 chore(deps): update dependency pydantic to v2 | craft-application | closed | Dependency update for pydantic v2 was closed without merging. Renovate will ignore future 2.x updates unless manually upgraded or the PR is renamed to trigger a replacement. | |
| #116 chore(deps): update dependency pydantic to v2 | craft-store | closed | Closed without merging due to significant breaking changes required for Pydantic v2. The update was abandoned, and Renovate was configured to ignore future v2 releases until manual migration occurs. | |
| #645 chore(deps): update dependency pydantic-yaml to v1 | craft-parts | closed | Dependency update for pydantic-yaml to v1.2.0 was closed without merging. The request was abandoned, and Renovate will ignore future 1.x releases unless manually upgraded. | |
| #1191 chore(deps): update dependency pydantic-yaml to v1 | charmcraft | closed | Closed without merging. The automated pydantic-yaml update to v1.1.0 was rejected due to required manual integration work. Renovate will ignore future minor and patch updates for this version. | |
| #164 chore(deps): update dependency pydantic-yaml to v1 | craft-application | closed | Closed without merging. The pydantic-yaml dependency update to v1 was abandoned. Renovate will ignore future 1.x releases unless manually upgraded. | |
| #1351 chore(deps): update dependency pydantic to v2 | charmcraft | closed | Closed without merging. Maintainers determined the pydantic v2 migration requires a separate project structure, so the update was abandoned. Renovate will skip future v2 updates until manually addressed or the PR is reopened. | |
| #971 chore(deps): update dependency pydantic-yaml to v0.9.0 | charmcraft | closed | Closed unmerged. The pydantic-yaml update to v0.9.0 received no reviews and was abandoned. Renovate bot will ignore this specific version update. | |
| #68 chore(deps): update dependency pydantic_core to v2.27.2 - autoclosed | imagecraft | closed | Renovate autoclosed the dependency update for pydantic_core to v2.27.2. The request was not merged, likely due to becoming stale or being superseded. | |
| #28 chore(deps): update dependency pydantic to v2 - autoclosed | craft-grammar | closed | Renovate autoclosed this pydantic v2 dependency update without merging. The pull request received no reviews or CI checks and was automatically closed, indicating it was superseded or abandoned. |