-
Notifications
You must be signed in to change notification settings - Fork 17
Update dependency pydantic to v1.10.26 #3985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: mrafeeq-hermatic-poc
Are you sure you want to change the base?
Update dependency pydantic to v1.10.26 #3985
Conversation
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: red-hat-konflux[bot] The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @red-hat-konflux[bot]. Thanks for your PR. I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Autoclosing SkippedThis PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error. |
This PR contains the following updates:
==1.10.7->==1.10.26Warning
Some dependencies could not be looked up. Check the warning logs for more information.
Release Notes
pydantic/pydantic (pydantic)
v1.10.26: 2025-12-18Compare Source
What's Changed
Full Changelog: pydantic/pydantic@v1.10.25...v1.10.26
v1.10.25: 2025-12-18Compare Source
What's Changed
Full Changelog: pydantic/pydantic@v1.10.24...v1.10.25
v1.10.24Compare Source
GitHub release
What's Changed
This is the final 2.12 release. It features the work of 20 external contributors and provides useful new features, along with initial Python 3.14 support.
Several minor changes (considered non-breaking changes according to our versioning policy)
are also included in this release. Make sure to look into them before upgrading.
Note that Pydantic V1 is not compatible with Python 3.14 and greater.
Changes (see the alpha and beta releases for additional changes since 2.11):
Packaging
New Features
extraparameter to the validate functions by @anvilpete in #12233exclude_computed_fieldsserialization option by @Viicos in #12334preverse_empty_pathURL options by @Viicos in #12336union_formatparameter to JSON Schema generation by @Viicos in #12147__qualname__parameter forcreate_modelby @Atry in #12001Fixes
TypeAdapterby @Viicos in #12324Anyfor context type annotation inTypeAdapterby @inducer in #12279FieldInfoinpydantic.fields.__all__by @Viicos in #12339validation_aliasin@validate_callby @Viicos in #12340Anyas context annotation in plugin API by @Viicos in #12341stacklevelin warnings when possible by @Viicos in #12342New Contributors
v1.10.23Compare Source
v1.10.22Compare Source
typing-extensionsby @Viicos in #11764v1.10.21Compare Source
GitHub release
What's Changed
Packaging
Fixes
v1.10.20Compare Source
This release provides proper support for Python 3.13, with (Cythonized) wheels published for this version.
As a consequence, Cython was updated from
0.29.xto3.0.x.3.0.x.pyproject.toml, make use of PEP 517 build options.buildinstead of directsetup.pyinvocations.v1.10.19Compare Source
isinstancecheck by @alicederyn in #10645v1.10.18Compare Source
GitHub release
The code released in v2.9.0 is practically identical to that of v2.9.0b2.
What's Changed
Packaging
rufftov0.5.0andpyrighttov1.1.369by @sydney-runkle in #9801pydantic-extra-typestov2.9.0by @sydney-runkle in #9832pdm v2.18.1by @Viicos in #10138v1version stub tov1.10.18by @sydney-runkle in #10214pydantic-coretov2.23.2by @sydney-runkle in #10311New Features
ZoneInfoby @Youssefares in #9896Config.val_json_bytesby @josh-newman in #9770complexnumber by @changhc in #9654annotated_types.Notby @aditkumar72 in #10210WithJsonSchemato inject$refs w/httporhttpslinks by @dAIsySHEng1 in #9863PathLiketypes by @nix010 in #9764strorcallablediscriminators to select the correct serializer by @sydney-runkle in in pydantic/pydantic-core#1397Changes
dicttypejson_schema_extraby @sydney-runkle in #9792patternfor incompatible types by @sydney-runkle in #10158'allOf'JSON schema workarounds by @dpeachey in #10029typed_dict_clsdata fromCoreMetadataby @sydney-runkle in #10180Examplesclass by @Viicos in #10181initial_metadatafrom internal metadata construct by @sydney-runkle in #10194re.Pattern.searchinstead ofre.Pattern.matchfor consistency withrustbehavior by @tinez in pydantic/pydantic-core#1368pydantic-coreserialization warning by @BoxyUwU in pydantic/pydantic-core#1377pydantic-core, changemetadatatype hint in core schemas fromAny->Dict[str, Any] | Noneby @sydney-runkle in pydantic/pydantic-core#1411selfisn't returned from model validator by @sydney-runkle in #10255Performance
BaseModelby @sydney-runkle in #10013Minor Internal Improvements
multiple_of_validator()by 31% inpydantic/_internal/_validators.pyby @misrasaurabh1 in #9839ModelPrivateAttr.__set_name__()by 18% inpydantic/fields.pyby @misrasaurabh1 in #9841dataclass()by 7% inpydantic/dataclasses.pyby @misrasaurabh1 in #9843_field_name_for_signatureby 37% inpydantic/_internal/_signature.pyby @misrasaurabh1 in #9951GenerateSchema._unpack_refs_defsby 26% inpydantic/_internal/_generate_schema.pyby @misrasaurabh1 in #9949apply_each_item_validatorsby 100% inpydantic/_internal/_generate_schema.pyby @misrasaurabh1 in #9950ConfigWrapper.core_configby 28% inpydantic/_internal/_config.pyby @misrasaurabh1 in #9953Fixes
use_enum_valuesonLiteraltypes by @kwint in #9787BaseModel/RootModelinheritance by @dmontagu in #9913strtype annotation withAnyin validator factories in documentation on validators by @maximilianfellhuber in #9885ComputedFieldInfo.wrapped_propertypointer when a property setter is assigned by @tlambert03 in #9892main.IncEnxby @tlambert03 in #9924type[Annotated[...]]by @Viicos in #9932mypyplugin: handle frozen fields on a per-field basis by @dmontagu in #9935invalid-annotated-typeerror code by @sydney-runkle in #9948uuid,url, andiptypes by @sydney-runkle in #9975dateschemas to_generate_schema.pyby @sydney-runkle in #9976decimal.Decimalvalidation to_generate_schema.pyby @sydney-runkle in #9977_std_types_schema.pyby @sydney-runkle in #9959GenerateSchema.match_typeoptions by @sydney-runkle in #9961dataclassignoringdefault_factorypassed in Annotated by @kc0506 in #9971Sequenceignoringdiscriminatorby @kc0506 in #9980IPvAnyAddressandIPvAnyInterfaceby @haoyun in #9990mypyplugin forfrom_ormcheck requiring from_attributes=True config by @radekwlsk in #9938strict=Trueto__init__inmypyplugin by @kc0506 in #9998dequeannotations by @sydney-runkle in #10018__pydantic_extra__annotation in specific circumstances by @Viicos in #10070frozenenforcement fordataclassesby @sydney-runkle in #10066__get_pydantic_core_schema__signature by @Viicos in #10075is_annotatedconsistently by @Viicos in #10095PydanticDeprecatedSince26typo by @kc0506 in #10101pyrighttests, refactor model decorators signatures by @Viicos in #10092ipserialization logic by @sydney-runkle in #10112dataclassesby @mochi22 in #10082when_usedset to'json-unless-none'and the default value isNoneby @Viicos in #10121ImportStringspecial cases by @sydney-runkle in #10137__prefixed annotations by @sydney-runkle in #10136nullableschemas withserializationschema available during JSON Schema generation by @Viicos in #10132BaseModelannotations by @kc0506 in #10110PrivateAttrwithAnnotatedby @Viicos in #10157numbertype for literal and enum schemas by @Viicos in #10172MappingandMutableMappingannotations to use mapping schema instead of dict schema by @sydney-runkle in #10020field_serializerwith computed field when using*by @nix010 in pydantic/pydantic-core#1349Unionserializer before inference by @sydney-runkle in pydantic/pydantic-core#1398floatserialization behavior instrictmode by @sydney-runkle in pydantic/pydantic-core#1400exactnessinto Decimal validation logic to improve union validation behavior by @sydney-runkle in in pydantic/pydantic-core#1405pytest.warns()by @mgorny in #10241ModelMetaclassby @Viicos in #10242__init__by @Viicos in #10264BigIntserialization forintsubclasses by @kxx317 in pydantic/pydantic-core#1417infoby @sydney-runkle in #10277__pydantic_complete__is set when rebuildingdataclassesby @Viicos in #10291schema_generatorconfig value inTypeAdapterby @sydney-runkle in #10300New Contributors
pydanticpydantic-corev1.10.17Compare Source
GitHub release
The code released in v2.8.0 is functionally identical to that of v2.8.0b1.
What's Changed
Packaging
v1.1.367and add type checking tests for pipeline API by @adriangb in #9674pydantic.v1stub tov1.10.17by @sydney-runkle in #9707v2.8.0b1by @sydney-runkle in #9741pydantic-coretov2.20.0by @sydney-runkle in #9745pdmversion used forpdm.lockto v2.16.1 by @sydney-runkle in #9761ruffv0.4.8by @Viicos in #9585New Features
defer_buildforTypeAdapterby @MarkusSintonen in #8939deprecatedfield in json schema by @NeevCohen in #9298fail_fastfeature by @uriyyo in #9708ser_json_inf_nan='strings'mode to produce valid JSON by @josh-newman in pydantic/pydantic-core#1307Changes
Annotatedfield by @nix010 in #9170__validators__values increate_modelby @sydney-runkle in #9697smartunion matching logic by @sydney-runkle in pydantic/pydantic-core#1322You can read more about our
smartunion matching logic here. In some cases, if the old behavioris desired, you can switch to
left-to-rightmode and change the order of yourUnionmembers.Performance
Internal Improvements
_display_error_loc()by 25% inpydantic/v1/error_wrappers.pyby @misrasaurabh1 in #9653_get_all_json_refs()by 34% inpydantic/json_schema.pyby @misrasaurabh1 in #9650is_pydantic_dataclass()by 41% inpydantic/dataclasses.pyby @misrasaurabh1 in #9652to_snake()by 27% inpydantic/alias_generators.pyby @misrasaurabh1 in #9747unwrap_wrapped_function()by 93% inpydantic/_internal/_decorators.pyby @misrasaurabh1 in #9727Fixes
__spec__.parentwith__package__by @hramezani in #9331Sequencetype by @anesmemisevic in #9303_frame_depthby @Viicos in #9353ImportStringjson schema compatible by @amitschang in #9344PrivateAttr) from__init__signature in type checkers by @idan22moral in #9293TypeVardefaults robust to the CPythonPEP-696implementation by @AlexWaygood in #9426PlainSerializerwith builtin types by @Viicos in #9450strictspecification forStringConstraint(strict=False)by @vbmendes in #9476Selfwhere possible by @Viicos in #9479RootModel.model_constructsignature in themypyplugin by @Viicos in #9480validation_contextby @OhioDschungel6 in #9508dump_json/dump_pythonby @alexcouper in #9495Field()constructor by @bjmc in #9484TypeAdapterby @Viicos in #9570__setstate__of BaseModel by @anhpham1509 in #9584PEP 746by @adriangb in #9587TypeVarfields by @dmontagu in #9606regexflags in validation and json schema by @sydney-runkle in #9591IpvAnyAddressby @sydney-runkle in #9640__pydantic_extra__by @dmontagu in #9659Optional[Decimal]by @lazyhope in #9754validate_calltype params fix by @sydney-runkle in #9760re.Patternobject in regex patterns to allow for regex flags by @sydney-runkle in pydantic/pydantic-core#1318New Contributors
v1.10.16Compare Source
Github release
What's Changed
Packaging
pydantic.v1tov1.10.16reference by @sydney-runkle in #9639Fixes
recursive_guardas kwarg inFutureRef._evaluateby @vfazio in #9612v1.10.15Compare Source
v1.10.14Compare Source
v1.10.13Compare Source
pydantic.validate_email, #7673 by @hramezaniv1.10.12Compare Source
maxlenproperty being dropped ondequevalidation. Happened only if the deque item has been typed. Changes the_validate_sequence_likefunc, #6581 by @maciekglowkav1.10.11Compare Source
v1.10.10Compare Source
Jsonfield support to settings management, #6250 by @hramezaniv1.10.9Compare Source
v1.10.8Compare Source
Literalusage with `typing-extension==4.6.0Configuration
📅 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.
To execute skipped test pipelines write comment
/ok-to-test.Documentation
Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.