./devel/py-pydantic-core, Core functionality for pydantic

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.27.1, Package name: py312-pydantic-core-2.27.1, Maintainer: pkgsrc-users

This package provides the core functionality for pydantic validation and
serialization.


Master sites:

Filesize: 403.11 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-22 08:49:22 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-pydantic-core: updated to 2.27.1

v2.27.1

Simplify shared union serializer logic
Tidy up some uses of Bound<'_, PyString>::to_str
Fix serialization inference for complex types in python
Bump to PyO3 v0.22.6
Fix performance regression for JSON tagged union
   2024-11-17 10:50:08 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-pydantic-core: update to 2.27.0.

What's Changed

    Remove Url and MultiHostUrl docstrings, we moved them to pydantic by \ 
@sydney-runkle in #1531
    Fix panic in validate_assignment when field has gone missing by @davidhewitt \ 
in #1532
    Fix for Union serializer: do not raise warnings in nested unions by \ 
@lukapeschke in #1513
    Fix _IncEx type alias to be compatible with mypy by @Viicos in #1537
    More union serialization tidying by @sydney-runkle in #1536
    Fix wrap serializer breaking union serialization in presence of extra fields \ 
by @davidhewitt in #1530
    Support trailing-strings with allow_partial by @samuelcolvin in #1539
   2024-11-13 14:32:26 by Jonathan Perkin | Files touched by this commit (11)
Log message:
*: Switch to py-maturin's tool.mk
   2024-11-11 10:06:10 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-pydantic-core: update to 2.26.0.

Fixes

    Revert changes to url schemas that support cls, the 2x validation isn't \ 
worth it (and is breaking) by @sydney-runkle in #1514
    Fix when coerce_numbers_to_str enabled and string has invalid unicode \ 
character by @andrey-berenda in #1515
    Fix serializing complex values in enums by @changhc in #1524

Packaging

    Bump serde from 1.0.213 to 1.0.214 by @dependabot in #1519
    Bump regex from 1.11.0 to 1.11.1 by @dependabot in #1520
    Bump jiter from 0.6.1 to 0.7.0 by @dependabot in #1521
    bump speedate to 0.15 by @davidhewitt in #1526

New Features

    Add allow_partial by @samuelcolvin in #1512
   2024-11-01 01:22:36 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-pydantic-core: update to 2.25.1.

2.5.1

What's Changed

    Bump jiter from 0.5.0 to 0.6.1 by @dependabot in #1498
    Update Pyodide to v0.26.3 by @riyavsinha in #1507
    Allow subclassing ValidationError and PydanticCustomError by @Youssefares in \ 
#1413
    Revert "feat: add 'millisecond' option to ser_json_timedelta" by \ 
@sydney-runkle in #1503
    Support subclass inits for Url and MultiHostUrl by @sydney-runkle in #1508

2.5.0

What's Changed

    Properly enforce host_required for URLs by @Viicos in #1488
    Support revalidation of parametrized generics by @sydney-runkle in #1489
    Support default factories taking validated data as an argument by @Viicos in \ 
#1491
   2024-10-19 08:25:12 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-pydantic-core: updated to 2.24.2

2.24.2

dd serialization key to InvalidSchema
   2024-10-14 15:31:31 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-pydantic-core: updated to 2.24.1

2.24.1 2024-10-11

Packaging

Restore Windows aarch64 builds
Limit windows builds to Rust 1.77 (to keep Windows 7 support)
Bump pyo3 from 0.22.2 to 0.22.3
Bump serde from 1.0.209 to 1.0.210
Bump regex from 1.10.6 to 1.11.0

Fixes

Fix equality checks for primitives in literals

Changes

Add invalid schema placeholder
Relax intensity of error for issubclass and isinstance schemas from json
   2024-09-22 18:34:27 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-pydantic-core: update to 2.24.0.

Features

    Add milliseconds option to ser_json_timedelta config parameter by @ollz272 \ 
in #1427
    Add support for unpacked TypedDict to type hint variadic keyword arguments \ 
in ArgumentsValidator by @Viicos in #1451

Fixes

    Do not require padding when decoding base64 bytes by @bschoenmaeckers in #1448
    Support wider variety of enum validation cases by @sydney-runkle in #1456