Update dependency pydantic-core to v2.47.0#22
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==2.27.2→==2.47.0Release Notes
pydantic/pydantic (pydantic-core)
v2.40.1GitHub release
This is the first beta release of the upcoming 2.12 release.
What's Changed
New Features
exclude_ifat the field level by @andresliszt in #12141ValidateAsannotation helper by @Viicos in #11942Changes
pydantic-coreversion is installed by @Viicos in #12196Fixes
__getattr__()behavior on Pydantic models when a property raised anAttributeErrorand extra values are present by @raspuchin in #12106validate_assignmentset by @Viicos in #12173ImportStringJSON serialization for objects with anameattribute by @chr1sj0nes in #12219Packaging
pydantic-coreto v2.40.1 by @Viicos in #12314New Contributors
v2.35.1GitHub release
This is the first alpha release of the upcoming 2.12 release, which adds initial support for Python 3.14.
What's Changed
New Features
__pydantic_on_complete__()hook that is called once model is fully ready to be used by @DouweM in #11762Decimaltype by @Dima-Bulavenko in #11987docattribute on dataclass fields by @Viicos in #12077MISSINGsentinel by @Viicos in #11883Changes
create_model()by @Viicos in #11714GenerateSchemaclass by @Viicos in #11733inspect.getsourcelines()for docstring extraction on Python 3.13 and greater by @Viicos in #11829FieldInfocreation implementation by @Viicos in #11898Secretcovariant by @bluenote10 in #12008Fixes
field_namein validator core schemas by @DouweM in #11761validate_assignmentcan be unpickled by @Viicos in #11769function-beforeschemas during schema gathering by @Viicos in #11801FieldInfois complete after applying type variable map by @Viicos in #11855model_rebuild()by @Viicos in #11890FieldInfoby @Viicos in #11946SkipValidationby @ygsh0816 in #12002Field()default withvalidate_defaultset toTrueby @Viicos in #11988Field()function in dataclasses by @Viicos in #12051Packaging
mkdocs-llmstxtto v0.2.0 by @Viicos in #11725pydantic-coreto v2.35.1 by @Viicos in #11963New Contributors
v2.33.1GitHub release
What's Changed
Fixes
pydantic-coreto v2.33.1 by @Viicos in #11678__pydantic_private__exists before setting private attributes by @Viicos in #11666FieldInfo._completewhen using field from parent class by @Viicos in #11668v2.33.0GitHub release
What's Changed
Pydantic v2.11 is a version strongly focused on build time performance of Pydantic models (and core schema generation in general).
See the blog post for more details.
New Features
encoded_string()method to the URL types by @YassinNouh21 in #11580defer_buildwith@validate_calldecorator by @Viicos in #11584@with_configdecorator to be used with keyword arguments by @Viicos in #11608generate_arguments_schema()function by @Viicos in #11572Fixes
Packaging
pydantic-coreto v2.33.0 by @Viicos in #11631New Contributors
v2.32.0GitHub release
What's Changed
New Features
Fixes
NotRequiredqualifier not taken into account in stringified annotation by @Viicos in #11559Packaging
pydantic-coreto v2.32.0 by @Viicos in #11567New Contributors
v2.31.1GitHub release
What's Changed
New Features
default_factory_takes_validated_dataproperty toFieldInfoby @Viicos in #11034type[]by @Viicos in #11088Changes
create_modelfield definitions format by @Viicos in #11032model_fieldsandmodel_computed_fieldson instances by @Viicos in #11169GenerateSchemaclass by @sydney-runkle in #10846get_type_refby @Viicos in #10863pydantic-corecore schema validation by @sydney-runkle in #11271Performance
FieldInfoannotations if required during schema building by @Viicos in #10769__setattr__performance of Pydantic models by caching setter functions by @MarkusSintonen in #10868_typing_extramodule by @Viicos in #11255CoreConfiginstance by @sydney-runkle in #11384pydantic-coreand thus useSchemaValidatorandSchemaSerializercaching by @sydney-runkle in #11402Fixes
TypeAdapterinstance repr by @sydney-runkle in #10872TypeAdapterby @Viicos in #10893Literalvalues if using PEP 695 type aliases by @Viicos in #11114__subclasscheck__onModelMetaclassto avoid memory leak and performance issues by @Viicos in #11116_extract_get_pydantic_json_schema()parameter by @Viicos in #11155Annotatedform by @Viicos in #11109deprecated_instance_propertywarning by @Viicos in #11200WithJsonSchemaschema to avoid sharing mutated data by @thejcannon in #11014CoreMetadatadefinition by @Viicos in #11216_Definitionsclass by @Viicos in #11208roottype in the mypy plugin by @Viicos in #11212use_attribute_docstringsby @Viicos in #11246decimal_places_validatorby @misrasaurabh1 in #11281validation_aliasin the mypy plugin by @Viicos in #11295"examples"keys by @Viicos in #11305GenerateJsonSchema.literal_schema()implementation by @misrasaurabh1 in #11321ClickHouseDsnby @Maze21127 in #11319Decimalinstances by @Viicos in #11350additionalProperties: Truefor arbitrary dictionary schemas by @austinyu in #11392fallbackparameter in serialization methods by @Viicos in #11398Sequencetypes by @sydney-runkle in #11435__get_validators__on classes where__get_pydantic_core_schema__is also defined by @tlambert03 in #11444validate_by_nametoTruewhenvalidate_by_aliasisFalseby @sydney-runkle in #11503Anywhen synthesizingBaseSettings.__init__signature in the mypy plugin by @Viicos in #11497ValueErroron year zero by @davidhewitt in pydantic/pydantic-core#1583dataclassInitVarshouldn't be required on serialization by @sydney-runkle in pydantic/pydantic-core#1602Packaging
check_pydantic_core_version()function by @Viicos in #11324greenletdevelopment dependency by @Viicos in #11351typing-inspectionlibrary by @Viicos in #11479pydantic-coretov2.31.1by @sydney-runkle in #11526v2.29.0GitHub release
What's Changed
Pydantic v2.11 is a version strongly focused on build time performance of Pydantic models (and core schema generation in general).
This is another early alpha release, meant to collect early feedback from users having issues with core schema builds.
Performance
CoreConfiginstance by @sydney-runkle in #11384Fixes
exampleskeys by @Viicos in #11366additionalProperties: Truefor arbitrary dictionary schemas by @austinyu in #11392fallbackparameter in serialization methods by @Viicos in #11398Packaging
rufffrom 0.9.2 to 0.9.5 by @Viicos in #11407pydantic-coreto v2.29.0 by @mikeedjones in #11402New Contributors
v2.28.0GitHub release
What's Changed
Pydantic v2.11 is a version strongly focused on build time performance of Pydantic models (and core schema generation in general).
This is an early alpha release, meant to collect early feedback from users having issues with core schema builds.
New Features
default_factory_takes_validated_dataproperty toFieldInfoby @Viicos in #11034type[]by @Viicos in #11088Changes
create_modelfield definitions format by @Viicos in #11032model_fieldsandmodel_computed_fieldson instances by @Viicos in #11169GenerateSchemaclass by @sydney-runkle in #10846dequeschema gen toGenerateSchemaclass by @sydney-runkle in #11239Mappingschema gen toGenerateSchemato complete removal ofprepare_annotations_for_known_typeworkaround by @sydney-runkle in #11247pydantic-corecore schema validation by @sydney-runkle in #11271Performance
FieldInfoannotations if required during schema building by @Viicos in #10769get_type_refby @Viicos in #10863__setattr__performance of Pydantic models by caching setter functions by @MarkusSintonen in #10868_typing_extramodule by @Viicos in #11255Fixes
_internal/_validators.pyby @tkasuz in #10763TypeAdapterinstance repr by @sydney-runkle in #10872Literalvalues if using PEP 695 type aliases by @Viicos in #11114__subclasscheck__onModelMetaclassto avoid memory leak and performance issues by @Viicos in #11116_extract_get_pydantic_json_schema()parameter by @Viicos in #11155Annotatedform by @Viicos in #11109openapi-python-clientcheck in issue creation for third-party failures, usemainbranch by @sydney-runkle in #11182deprecated_instance_propertywarning by @Viicos in #11200WithJsonSchemaschema to avoid sharing mutated data by @thejcannon in #11014CoreMetadatadefinition by @Viicos in #11216_Definitionsclass by @Viicos in #11208roottype in the mypy plugin by @Viicos in #11212use_attribute_docstringsby @Viicos in #11246decimal_places_validatorby @misrasaurabh1 in #11281validation_aliasin the mypy plugin by @Viicos in #11295GenerateJsonSchema.literal_schema()implementation by @misrasaurabh1 in #11321ClickHouseDsnby @Maze21127 in #11319Decimalinstances by @Viicos in #11350ValueErroron year zero by @davidhewitt in pydantic-core#1583Packaging
ruffto v0.9.0 by @sydney-runkle in #11254uv.lockdeps update by @sydney-runkle in #11333check_pydantic_core_version()function by @Viicos in #11324greenletdevelopment dependency by @Viicos in #11351pydantic-coreto v2.28.0 by @Viicos in #11364New Contributors
Configuration
📅 Schedule: (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.
This PR was generated by Mend Renovate. View the repository job log.