-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update dependency pydantic to v2.10.2 #514
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/pydantic-2.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains 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
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #514 +/- ##
=======================================
Coverage 96.50% 96.50%
=======================================
Files 5 5
Lines 315 315
Branches 53 45 -8
=======================================
Hits 304 304
Misses 5 5
Partials 6 6 |
renovate
bot
changed the title
Update dependency pydantic to v2.5.0
Update dependency pydantic to v2.5.1
Nov 15, 2023
renovate
bot
force-pushed
the
renovate/pydantic-2.x
branch
2 times, most recently
from
November 18, 2023 05:04
bfad91f
to
e3b4a83
Compare
renovate
bot
changed the title
Update dependency pydantic to v2.5.1
Update dependency pydantic to v2.5.2
Nov 22, 2023
renovate
bot
force-pushed
the
renovate/pydantic-2.x
branch
from
November 22, 2023 16:00
e3b4a83
to
ce4a5fd
Compare
renovate
bot
force-pushed
the
renovate/pydantic-2.x
branch
from
December 19, 2023 09:32
ce4a5fd
to
7646de6
Compare
renovate
bot
changed the title
Update dependency pydantic to v2.5.2
Update dependency pydantic to v2.5.3
Dec 22, 2023
renovate
bot
force-pushed
the
renovate/pydantic-2.x
branch
from
December 22, 2023 12:49
7646de6
to
da99f30
Compare
renovate
bot
force-pushed
the
renovate/pydantic-2.x
branch
from
January 4, 2024 06:17
da99f30
to
75c9a7d
Compare
renovate
bot
force-pushed
the
renovate/pydantic-2.x
branch
4 times, most recently
from
January 29, 2024 17:00
592e9b9
to
3da12b9
Compare
renovate
bot
changed the title
Update dependency pydantic to v2.5.3
Update dependency pydantic to v2.6.0
Jan 29, 2024
renovate
bot
force-pushed
the
renovate/pydantic-2.x
branch
from
February 5, 2024 15:13
3da12b9
to
eb88a99
Compare
renovate
bot
changed the title
Update dependency pydantic to v2.6.0
Update dependency pydantic to v2.6.1
Feb 5, 2024
renovate
bot
force-pushed
the
renovate/pydantic-2.x
branch
8 times, most recently
from
February 15, 2024 06:14
928074f
to
ad4a51e
Compare
renovate
bot
force-pushed
the
renovate/pydantic-2.x
branch
5 times, most recently
from
February 18, 2024 09:26
62a9b8b
to
fe2badc
Compare
renovate
bot
changed the title
Update dependency pydantic to v2.6.4
Update dependency pydantic to v2.7.0
Apr 11, 2024
renovate
bot
changed the title
Update dependency pydantic to v2.7.0
Update dependency pydantic to v2.7.1
Apr 23, 2024
renovate
bot
force-pushed
the
renovate/pydantic-2.x
branch
from
April 23, 2024 14:44
cb29d7d
to
d036b6d
Compare
renovate
bot
force-pushed
the
renovate/pydantic-2.x
branch
from
May 28, 2024 19:42
d036b6d
to
553e63b
Compare
renovate
bot
changed the title
Update dependency pydantic to v2.7.1
Update dependency pydantic to v2.7.2
May 28, 2024
renovate
bot
force-pushed
the
renovate/pydantic-2.x
branch
from
June 3, 2024 22:26
553e63b
to
7886369
Compare
renovate
bot
changed the title
Update dependency pydantic to v2.7.2
Update dependency pydantic to v2.7.3
Jun 3, 2024
renovate
bot
changed the title
Update dependency pydantic to v2.7.3
Update dependency pydantic to v2.7.4
Jun 12, 2024
renovate
bot
force-pushed
the
renovate/pydantic-2.x
branch
from
June 12, 2024 17:28
7886369
to
041bf00
Compare
renovate
bot
force-pushed
the
renovate/pydantic-2.x
branch
from
July 1, 2024 19:04
041bf00
to
2e7bc9f
Compare
renovate
bot
changed the title
Update dependency pydantic to v2.7.4
Update dependency pydantic to v2.8.0
Jul 1, 2024
renovate
bot
changed the title
Update dependency pydantic to v2.8.0
Update dependency pydantic to v2.8.1
Jul 4, 2024
renovate
bot
force-pushed
the
renovate/pydantic-2.x
branch
from
July 4, 2024 03:21
2e7bc9f
to
d270c10
Compare
renovate
bot
changed the title
Update dependency pydantic to v2.8.1
Update dependency pydantic to v2.8.2
Jul 4, 2024
renovate
bot
force-pushed
the
renovate/pydantic-2.x
branch
3 times, most recently
from
August 1, 2024 15:24
68c2088
to
6be5aca
Compare
renovate
bot
force-pushed
the
renovate/pydantic-2.x
branch
from
September 5, 2024 20:04
6be5aca
to
449a342
Compare
renovate
bot
changed the title
Update dependency pydantic to v2.8.2
Update dependency pydantic to v2.9.0
Sep 5, 2024
renovate
bot
force-pushed
the
renovate/pydantic-2.x
branch
from
September 9, 2024 11:52
449a342
to
7a33417
Compare
renovate
bot
changed the title
Update dependency pydantic to v2.9.0
Update dependency pydantic to v2.9.1
Sep 9, 2024
renovate
bot
force-pushed
the
renovate/pydantic-2.x
branch
from
September 17, 2024 16:39
7a33417
to
ca31bbd
Compare
renovate
bot
changed the title
Update dependency pydantic to v2.9.1
Update dependency pydantic to v2.9.2
Sep 17, 2024
renovate
bot
force-pushed
the
renovate/pydantic-2.x
branch
from
November 20, 2024 23:08
ca31bbd
to
6b667be
Compare
renovate
bot
changed the title
Update dependency pydantic to v2.9.2
Update dependency pydantic to v2.10.0
Nov 20, 2024
renovate
bot
force-pushed
the
renovate/pydantic-2.x
branch
from
November 22, 2024 04:14
6b667be
to
d0e9367
Compare
renovate
bot
changed the title
Update dependency pydantic to v2.10.0
Update dependency pydantic to v2.10.1
Nov 22, 2024
renovate
bot
force-pushed
the
renovate/pydantic-2.x
branch
from
November 26, 2024 15:17
d0e9367
to
7500e9a
Compare
renovate
bot
changed the title
Update dependency pydantic to v2.10.1
Update dependency pydantic to v2.10.2
Nov 26, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.4.2
->==2.10.2
Release Notes
pydantic/pydantic (pydantic)
v2.10.2
Compare Source
GitHub release
What's Changed
Fixes
Secret
types andUrl
types by @sydney-runkle in #10947Field.default
to be compatible with Python 3.8 and 3.9 by @Viicos in #10972BaseModel.__replace__
definition from type checkers by @Viicos in 10979v2.10.1
Compare Source
GitHub release
What's Changed
Packaging
pydantic-core
version tov2.27.1
by @sydney-runkle in #10938Fixes
TypeAdapter
by @Viicos in #10893default_factory
utils by @sydney-runkle in #10909model_fields
andmodel_computed_fields
by @sydney-runkle in #10911dataclass
es by @sydney-runkle in #10928globals
of the function when evaluating the return type of serializers andcomputed_field
s by @Viicos in #10929''
by @sydney-runkle in #10936python
mode serialization forcomplex
inference by @sydney-runkle in pydantic-core#1549New Contributors
v2.10.0
Compare Source
The code released in v2.10.0 is practically identical to that of v2.10.0b2.
GitHub release
See the v2.10 release blog post for the highlights!
What's Changed
Packaging
pydantic-core
tov2.27.0
by @sydney-runkle in #10825New Features
fractions.Fraction
by @sydney-runkle in #10318Hashable
for json validation by @sydney-runkle in #10324SocketPath
type forlinux
systems by @theunkn0wn1 in #10378examples
by @sydney-runkle in #10417defer_build
for Pydantic dataclasses by @Viicos in #10313TypedDict
to type hint variadic keyword arguments with@validate_call
by @Viicos in #10416protected_namespaces
by @sydney-runkle in #10522propertyNames
in JSON schema by @FlorianSW in #10478__replace__
protocol for Python 3.13+ support by @sydney-runkle in #10596sort
method for JSON schema generation by @sydney-runkle in #10595@validate_call
callable argument by @kc0506 in #10627experimental_allow_partial
support by @samuelcolvin in #10748ValidationError
andPydanticCustomError
by @Youssefares in pydantic/pydantic-core#1413trailing-strings
support toexperimental_allow_partial
by @sydney-runkle in #10825rebuild()
method forTypeAdapter
and simplifydefer_build
patterns by @sydney-runkle in #10537TypeAdapter
instance repr by @sydney-runkle in #10872Changes
SchemaGenerator
until interface is more stable by @sydney-runkle in #10303defer_build
onTypeAdapters
, removing experimental flag by @sydney-runkle in #10329mro
of generic subclass by @kc0506 in #10100b64decode
andb64encode
forBase64Bytes
type by @sydney-runkle in #10486@dataclass
decorator and with the__pydantic_config__
attribute by @sydney-runkle in #10406Ellipsis
(...) withField
by @Viicos in #10661Literal
s andEnums
by @Viicos in #10692Any
orNever
when replacing type variables by @Viicos in #10338base64
bytes by @bschoenmaeckers in pydantic/pydantic-core#1448Performance
CoreMetadata
refactor with an emphasis on documentation, schema build time performance, and reducing complexity by @sydney-runkle in #10675Fixes
computed_field
withfield_serializer
by @nix010 in #10390Predicate
issue inv2.9.0
by @sydney-runkle in #10321annotated-types
bound by @sydney-runkle in #10327tzdata
install requirement into optionaltimezone
dependency by @jakob-keller in #10331namedtuple
core schemas by @Viicos in #10337IncEx
type alias definition by @Viicos in #10339ModelMetaclass.mro
by @Viicos in #10372computed_field
s by @Viicos in #10391inspect.iscoroutinefunction
works on coroutines decorated with@validate_call
by @MovisLi in #10374NameError
when usingvalidate_call
with PEP 695 on a class by @kc0506 in #10380ZoneInfo
with various invalid types by @sydney-runkle in #10408PydanticUserError
on emptymodel_config
with annotations by @cdwilson in #10412_IncEx
type alias, only allowTrue
by @Viicos in #10414PlainValidator
by @Viicos in #10427json_schema_input_type
by @Viicos in #10439Representation
by @Viicos in #10480max_digits
anddecimal_places
) by @sydney-runkle in #10506__pydantic_core_schema__
from the current class during schema generation by @Viicos in #10518stacklevel
on deprecation warnings forBaseModel
by @sydney-runkle in #10520stacklevel
inBaseModel.__init__
by @Viicos in #10526ConfigWrapper.core_config
to take the title directly by @Viicos in #10562mode='python'
by @sydney-runkle in #10594Base64Etc
types by @sydney-runkle in #10584validate_call
ignoringField
inAnnotated
by @kc0506 in #10610Self
is invalid by @kc0506 in #10609core_schema.InvalidSchema
instead of metadata injection + checks by @sydney-runkle in #10523type
withtyping.Self
and type aliases by @kc0506 in #10621Field
andPrivateAttr
functions by @Viicos in #10651mypy
plugin implementation by @Viicos in #10669typing_extensions
variant ofTypeAliasType
by @Daraan in #10713BaseModel.model_copy()
by @Viicos in #10751isinstance
behavior for urls by @sydney-runkle in #10766cached_property
can be set on Pydantic models by @Viicos in #10774host_required
for URLs by @Viicos in pydantic/pydantic-core#1488coerce_numbers_to_str
enabled and string has invalid Unicode character by @andrey-berenda in pydantic/pydantic-core#1515complex
values inEnum
s by @changhc in pydantic/pydantic-core#1524_typing_extra
module by @Viicos in #10725bytearray
toTypeAdapter.validate_json
signature by @samuelcolvin in #10802Field
by @Viicos in #10816validate_call
by @sydney-runkle in #10807IncEx
type alias to be compatible with mypy by @Viicos in #10813__signature__
a lazy property, do not deepcopy defaults by @Viicos in #10818__signature__
lazy for dataclasses, too by @sydney-runkle in #10832AnyUrl
to preserve behavior from v2.9 by @sydney-runkle in #10856New Contributors
v2.9.2
Compare Source
GitHub release
What's Changed
Fixes
Callable
discriminators by @sydney-runkle in #10400PlainValidator
by @Viicos in #10427Union
serialization warnings by @sydney-runkle in pydantic/pydantic-core#1449_IncEx
type alias, only allowTrue
by @Viicos in #10414ZoneInfo
validation with various invalid types by @sydney-runkle in #10408v2.9.1
Compare Source
GitHub release
What's Changed
Fixes
annotated-types
bound to>=0.6.0
by @sydney-runkle in #10327tzdata
install requirement into optionaltimezone
dependency by @jakob-keller in #10331IncExc
type alias definition by @Viicos in #10339v2.9.0
Compare Source
GitHub release
The code released in v2.9.0 is practically identical to that of v2.9.0b2.
What's Changed
Packaging
ruff
tov0.5.0
andpyright
tov1.1.369
by @sydney-runkle in #9801pydantic-extra-types
tov2.9.0
by @sydney-runkle in #9832pdm v2.18.1
by @Viicos in #10138v1
version stub tov1.10.18
by @sydney-runkle in #10214pydantic-core
tov2.23.2
by @sydney-runkle in #10311New Features
ZoneInfo
by @Youssefares in #9896Config.val_json_bytes
by @josh-newman in #9770complex
number by @changhc in #9654annotated_types.Not
by @aditkumar72 in #10210WithJsonSchema
to inject$ref
s w/http
orhttps
links by @dAIsySHEng1 in #9863PathLike
types by @nix010 in #9764str
orcallable
discriminators to select the correct serializer by @sydney-runkle in in pydantic/pydantic-core#1397Changes
dict
typejson_schema_extra
by @sydney-runkle in #9792pattern
for incompatible types by @sydney-runkle in #10158'allOf'
JSON schema workarounds by @dpeachey in #10029typed_dict_cls
data fromCoreMetadata
by @sydney-runkle in #10180Examples
class by @Viicos in #10181initial_metadata
from internal metadata construct by @sydney-runkle in #10194re.Pattern.search
instead ofre.Pattern.match
for consistency withrust
behavior by @tinez in pydantic/pydantic-core#1368pydantic-core
serialization warning by @BoxyUwU in pydantic/pydantic-core#1377pydantic-core
, changemetadata
type hint in core schemas fromAny
->Dict[str, Any] | None
by @sydney-runkle in pydantic/pydantic-core#1411self
isn't returned from model validator by @sydney-runkle in #10255Performance
BaseModel
by @sydney-runkle in #10013Minor Internal Improvements
multiple_of_validator()
by 31% inpydantic/_internal/_validators.py
by @misrasaurabh1 in #9839ModelPrivateAttr.__set_name__()
by 18% inpydantic/fields.py
by @misrasaurabh1 in #9841dataclass()
by 7% inpydantic/dataclasses.py
by @misrasaurabh1 in #9843_field_name_for_signature
by 37% inpydantic/_internal/_signature.py
by @misrasaurabh1 in #9951GenerateSchema._unpack_refs_defs
by 26% inpydantic/_internal/_generate_schema.py
by @misrasaurabh1 in #9949apply_each_item_validators
by 100% inpydantic/_internal/_generate_schema.py
by @misrasaurabh1 in #9950ConfigWrapper.core_config
by 28% inpydantic/_internal/_config.py
by @misrasaurabh1 in #9953Fixes
use_enum_values
onLiteral
types by @kwint in #9787BaseModel/RootModel
inheritance by @dmontagu in #9913str
type annotation withAny
in validator factories in documentation on validators by @maximilianfellhuber in #9885ComputedFieldInfo.wrapped_property
pointer when a property setter is assigned by @tlambert03 in #9892main.IncEnx
by @tlambert03 in #9924type[Annotated[...]]
by @Viicos in #9932mypy
plugin: handle frozen fields on a per-field basis by @dmontagu in #9935invalid-annotated-type
error code by @sydney-runkle in #9948uuid
,url
, andip
types by @sydney-runkle in #9975date
schemas to_generate_schema.py
by @sydney-runkle in #9976decimal.Decimal
validation to_generate_schema.py
by @sydney-runkle in #9977_std_types_schema.py
by @sydney-runkle in #9959GenerateSchema.match_type
options by @sydney-runkle in #9961dataclass
ignoringdefault_factory
passed in Annotated by @kc0506 in #9971Sequence
ignoringdiscriminator
by @kc0506 in #9980IPvAnyAddress
andIPvAnyInterface
by @haoyun in #9990mypy
plugin forfrom_orm
check requiring from_attributes=True config by @radekwlsk in #9938strict=True
to__init__
inmypy
plugin by @kc0506 in #9998deque
annotations by @sydney-runkle in #10018__pydantic_extra__
annotation in specific circumstances by @Viicos in #10070frozen
enforcement fordataclasses
by @sydney-runkle in #10066__get_pydantic_core_schema__
signature by @Viicos in #10075is_annotated
consistently by @Viicos in #10095PydanticDeprecatedSince26
typo by @kc0506 in #10101pyright
tests, refactor model decorators signatures by @Viicos in #10092ip
serialization logic by @sydney-runkle in #10112dataclasses
by @mochi22 in #10082when_used
set to'json-unless-none'
and the default value isNone
by @Viicos in #10121ImportString
special cases by @sydney-runkle in #10137__
prefixed annotations by @sydney-runkle in #10136nullable
schemas withserialization
schema available during JSON Schema generation by @Viicos in #10132BaseModel
annotations by @kc0506 in #10110PrivateAttr
withAnnotated
by @Viicos in #10157number
type for literal and enum schemas by @Viicos in #10172Mapping
andMutableMapping
annotations to use mapping schema instead of dict schema by @sydney-runkle in #10020field_serializer
with computed field when using*
by @nix010 in pydantic/pydantic-core#1349Union
serializer before inference by @sydney-runkle in pydantic/pydantic-core#1398float
serialization behavior instrict
mode by @sydney-runkle in pydantic/pydantic-core#1400exactness
into Decimal validation logic to improve union validation behavior by @sydney-runkle in in pydantic/pydantic-core#1405pytest.warns()
by @mgorny in #10241ModelMetaclass
by @Viicos in #10242__init__
by @Viicos in #10264BigInt
serialization forint
subclasses by @kxx317 in pydantic/pydantic-core#1417info
by @sydney-runkle in #10277__pydantic_complete__
is set when rebuildingdataclasses
by @Viicos in #10291schema_generator
config value inTypeAdapter
by @sydney-runkle in #10300New Contributors
pydantic
pydantic-core
v2.8.2
Compare Source
GitHub release
What's Changed
Fixes
v2.8.1
Compare Source
GitHub release
What's Changed
Packaging
ruff
tov0.5.0
andpyright
tov1.1.369
by @sydney-runkle in #9801pydantic-core
tov2.20.1
,pydantic-extra-types
tov2.9.0
by @sydney-runkle in #9832Fixes
to_snake
from v2.7 -> v2.8 by @sydney-runkle in #9812v2.8.0
Compare 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.367
and add type checking tests for pipeline API by @adriangb in #9674pydantic.v1
stub tov1.10.17
by @sydney-runkle in #9707v2.8.0b1
by [@sydney-runkle](https://redirConfiguration
📅 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 is behind base branch, 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.