chore(deps): update dependency pydantic to v2#776
Conversation
9b064fc to
3cf28bb
Compare
|
This is going to be a very complicated upgrade—just following the errors hasn't gotten me very far. I don't think we get enough benefit from Pydantic v2 to be worth the effort, so I'm closing this. If someone else wants to figure out the manual upgrade path because they need v2 for some reason, be my guest! |
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 2.x releases. But if you manually upgrade to 2.x then Renovate will re-enable If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
|
@dbanty Just a note. Long term not supporting Pydantic v2 will have an effect on some users of In our use case, we lock the version of Because Poetry resolves all dependencies (both main and various development groups) as one so they can share the same virtual environment, this means that if In case it's useful, we've used these resources to help migrate to Pydantic v2 in our projects that aren't blocked by another dependency.
Thanks again for the great library! |
This PR contains the following updates:
^1.6.1->^1.6.1 || ^2.0.0Release Notes
pydantic/pydantic (pydantic)
v2.0.1Compare Source
First patch release of Pydantic V2
setattr(i.e.m.some_extra_field = 'extra_value')are added to
.model_extraifmodel_configextra='allowed'. Fixed #6333, #6365 by @aaraneySee the full changelog here
v2.0Compare Source
First patch release of Pydantic V2
setattr(i.e.m.some_extra_field = 'extra_value')are added to
.model_extraifmodel_configextra='allowed'. Fixed #6333, #6365 by @aaraneySee the full changelog here
v1.10.11Compare Source
v1.10.10Compare Source
Jsonfield support to settings management, #6250 by @hramezaniv1.10.9Compare Source
v1.10.8Compare Source
Literalusage withtyping-extension==4.6.0, #5826 by @hramezaniAnyClassMethodfor changes in python/typeshed#9771, #5505 by @ITProKylev1.10.7Compare Source
ConstrainedStrwithregexas dict key, #5223 by @matejetzfrom_ormin their own classes, #5187 by @dmontaguInitVarusage with pydantic dataclasses, mypy version1.1.1and the custom mypy plugin, #5162 by @cdce8pv1.10.6Compare Source
functools.partialandfunctools.partialmethodwhen checking the signature, #5126 by @JensHeinrichdataclass_transformdecorator for pydantic dataclasses, #5111 by @cdce8pValidationError, notConfigError, when a discriminator value is unhashable, #4773 by @kurtmckeev1.10.5Compare Source
GenericModels with complex sets of models, #5052 by @MarkusSintonenRecursionErrorwhen deep-copying dataclass types wrapped by pydantic, #4949 by @mbillingrX | Yunion syntax breakingGenericModel, #4146 by @thenxv1.10.4Compare Source
typing-extensions>=4.2.0, #4885 by @samuelcolvinv1.10.3Compare Source
NOTE: v1.10.3 was "yanked" from PyPI due to #4885 which is fixed in v1.10.4
schemaandschema_jsonon models where a model instance is a one of default values, #4781 by @BobroniumDataclassProxy, #4695 by @PrettyWoodpostgresql+psycopgas allowed scheme forPostgreDsnto make it usable with SQLAlchemy 2, #4689 by @morianpatternPropertiesandadditionalProperties, #4641 by @jpariseunique_items, #4568 by @mfulgoGenericModelwithCallableparam raising aTypeError, #4551 by @mfulgoStrictStrtype annotation, #4538 by @sispdataclass_transformkeyword argument name fromfield_descriptorstofield_specifiers, #4500 by @samuelcolvin__post_init__when dataclasses are inherited, #4487 by @PrettyWoodConfiguration
📅 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.
This PR has been generated by Mend Renovate. View repository job log here.