2024-09-07 07:27:53 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-pydantic-core: updated to 2.23.2
v2.23.2 2024-09-05
Adding missing API docs to pydantic_core
|
2024-09-03 10:35:34 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-pydantic-core: updated to 2.23.1
2.23.1
Use more explicit warning regarding serialization warning for missing fields
Support BigInt serialization for int subclasses
|
2024-08-22 15:32:39 by Thomas Klausner | Files touched by this commit (2) |
Log message:
py-pydantic-core: adapt for py-maturin change
Bump PKGREVISION.
|
2024-08-08 07:35:17 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-pydantic-core: updated to 2.21.0
v2.21.0 2024-08-05
Packaging
Bump idna from 0.5.0 to 1.0.1
Bump pyo3 from 0.22.0 to 0.22.2
Bump serde_json from 1.0.118 to 1.0.121
Bump serde from 1.0.203 to 1.0.204
Bump base64 from 0.21.7 to 0.22.1
Fixes
Fixes discriminated union bug regression when using enums
string: Use 're.Pattern.search' instead of 're.Pattern.match'
Fix model field_serializer with computed field
Clean up some string handling cases
Features
Validate bytes based on ser_json_bytes
Support allow_partial='trailing-strings'
Performance
Use Uuid:::from_u128 for uuid_to_string
|
2024-07-04 13:20:48 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-pydantic-core: updated to 2.20.1
v2.20.1
Restore 3.13 PGO builds
Bump pytest-examples to get tests passing with ruff v0.5.0
Bump uuid from 1.9.0 to 1.9.1
Bump num-bigint from 0.4.5 to 0.4.6
Bump the python-packages group across 1 directory with 7 updates
Bump speedate to v0.14.1 and prep for v0.20.1
|
2024-06-17 17:17:55 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-pydantic-core: updated to 2.19.0
v2.19.0
Packaging
Lower MSRV to 1.75
Bump libc from 0.2.147 to 0.2.155
Fixes
Make ValidatorFunctionWrapHandler positional only
Reuse re.Pattern object in regex patterns
Features
Add ser_json_inf_nan='strings' mode to produce valid JSON
|
2024-06-06 07:19:12 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-pydantic-core: updated to 2.18.4
v2.18.4
Packaging
Bump uuid from 1.7.0 to 1.8.0
Bump serde from 1.0.197 to 1.0.203
Bump the python-packages group with 6 updates
Uprev jiter to v0.4.1
Fixes
Fix context type hints
|
2024-05-29 09:29:10 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-pydantic-core: updated to 2.18.3
v2.18.3
Packaging
Bump serde_json from 1.0.114 to 1.0.116
Bump the python-packages group with 7 updates
Bump regex from 1.10.3 to 1.10.4
Bump pyo3 from 0.21.1 to 0.21.2
Bump uraimo/run-on-arch-action from 2.7.1 to 2.7.2
Fixes
CI: lint fixes for rust 1.78
Fix validation of ints with leading unary minus
Defer to PyO3 i64 extraction to avoid implicit integer casts
Fix: keyword only non default argument
Fix str subclass validation for enums
Support BigInts in Literals and Enums
Fix: uuid - allow str subclass as input
Fix case of checking truthiness of NotImplemented
Fix generate_self_schema for Python 3.12+
|
2024-04-24 14:41:34 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-pydantic-core: updated to 2.18.2
v2.18.2
Support multiple zeros as an int
Fix validation of ints with leading unary plus
Fix interaction between extra != 'ignore' and from_attributes=True
Handle error from Enum's missing function as ValidationError
Fix memory leak with Iterable validation
|
2024-04-15 17:06:45 by Havard Eidnes | Files touched by this commit (3) | |
Log message:
devel/py-pydantic-core: update to version 2.18.1.
Pkgsrc changes:
* Version-bump, cargo-depends & checksums.
(This brings a newer pyo3, which now builds on macppc,
while the previous one didn't due to AtomicI64 usage.)
Upstream changes:
2.18.1:
=======
What's Changed
* allow serialization functions to upgrade warnings to exceptions
by @Lance-Drane in #1258
* Fix: add coerce_numbers_to_str option in StringSchema by @NeevCohen in #1262
* Trim leading zeros before parsing str -> int by @samuelcolvin in #1266
* Prevent trailing dots in integers by @samuelcolvin in #1267
New Contributors
* @Lance-Drane made their first contribution in #1258
2.18.0:
=======
What's Changed
* update to PyO3 0.21 final by @davidhewitt in #1248
* Add coerce_numbers_to_str option in str_schema by @NeevCohen in #1249
* caching strings from JSON by @samuelcolvin in #1240
* Bump serde from 1.0.196 to 1.0.197 by @dependabot in #1255
* Bump smallvec from 1.13.1 to 1.13.2 by @dependabot in #1253
* Bump enum_dispatch from 0.3.12 to 0.3.13 by @dependabot in #1252
* fix build warnings on python <3.11 by @samuelcolvin in #1259
* Fixes for ser_json_inf_nan inference by @sydney-runkle in #1251
* Adopt jiter 0.2.0 by @samuelcolvin in #1250
New Contributors
* @NeevCohen made their first contribution in #1249
2.17.0:
=======
Packaging
* Bump smallvec from 1.11.2 to 1.13.1 by @dependabot in #1181
* Bump regex from 1.10.2 to 1.10.3 by @dependabot in #1180
* Bump uuid from 1.6.1 to 1.7.0 by @dependabot in #1179
* Bump serde from 1.0.195 to 1.0.196 by @dependabot in #1177
* Bump serde_json from 1.0.109 to 1.0.114 by @dependabot in #1211
* Bump ahash from 0.8.7 to 0.8.10 by @dependabot in #1210
* Bump strum_macros from 0.25.3 to 0.26.1 by @dependabot in #1208
* update to PyO3 0.21 beta by @davidhewitt in #1222
* Update pyodide to 0.25.0 by @samdobson in #1199
* Really drop python<=3.7 support by @kloczek in #1232
* Uprev speedate by @sydney-runkle in #1244
Fixes
* Add benchmarks for serializing model with complete schema by
@alexmojaki in #1189
* Prevent panicking when __dict__ changes during iteration by
@alexmojaki in #1196
* Fix TzInfo equality check based on offset by @13sin in #1197
* Fix stack overflow due to recursion in some recursive serializer
schemas. by @dmontagu in #1198
* Use PEP570 syntax by @Viicos in #1216
* Fix parsing BigInt from str by @sydney-runkle in #1204
* Use new typing syntax for _pydantic_core.pyi by @Viicos in #1217
* separate Input trait 'a and 'py lifetimes by @davidhewitt in #1227
* Fix json serialization when computed_field is excluded by
@sydney-runkle in #1228
* Implement Input for str by @davidhewitt in #1229
* Move list validation to produce an associated type by @davidhewitt in #1230
* Remove with_new_extra by @davidhewitt in #1233
* Associated types for arguments in Input by @davidhewitt in #1234
* Associated types for dict in input by @davidhewitt in #1237
* Remaining associated types by @davidhewitt in #1238
* Refactor Input trait to have single as_python cast for python
inputs by @davidhewitt in #1241
* Allow case where __pydantic_extra__ is None, even if extra='allow'
by @sydney-runkle in #1236
Performance
* Rust enums validator by @samuelcolvin in #1235
* Support json cow of jiter 0.1.0 by @davidhewitt in #1231
New Features
* Add ability to pass context to serialization by @ornariece in #1215
* Add serialize_as_any runtime flag support by @sydney-runkle in #1194
Changes
* Trimming str before parsing to int and float by @hungtsetse in #1203
* speedate change: Serialize duration to hour minute second,
instead of just seconds by @kakilangit in pydantic/speedate#50
New Contributors
* @alexmojaki made their first contribution in #1189
* @samdobson made their first contribution in #1199
* @13sin made their first contribution in #1197
* @hungtsetse made their first contribution in #1203
* @stonebig made their first contribution in #1214
* @ornariece made their first contribution in #1215
* @bmwiedemann made their first contribution in #1221
* @kloczek made their first contribution in #1232
|