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

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


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

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


Master sites:

Filesize: 412.902 KB

Version history: (Expand)


CVS history: (Expand)


   2025-02-26 11:24:36 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-pydantic-core: updated to 2.30.0

2.30.0

Use core schema fns to initalize SchemaValidators in the test suite.
Bump url from 2.5.2 to 2.5.4
Fix enum strict JSON validation when validators are present
Add support for validating v7 UUIDs
Refactor LookupKey logic to reduce redundancy
Add support for UUIDv6 and UUIDv8 validation
Remove unneeded Option map in PyMultiHostUrl.build
Add API documentation for ErrorDetails.url
Fix typo in InitErrorDetails.type documentation
bump to PyO3 0.23.5, support PyPy 3.11
Fix strict behavior for unions
Update python3-dll-a for PyPy 3.11
Improving the alias configuration API for validation and serialization
   2025-02-09 15:39:36 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-pydantic-core: update to 2.29.0.

Packaging

    Bump uuid from 1.11.0 to 1.12.1 by @dependabot in #1618
    Bump serde_json from 1.0.134 to 1.0.138 by @dependabot in #1617
    Always use maturin for the uv commands in Makefile by @davidhewitt in #1622
    build PGO wheels on macos-latest runners by @davidhewitt in #1624

Fixes

    Fix float multiple_of validation for negative numbers by @K-dash in #1373
    Fix wasm preview by @samuelcolvin in #1621
    Raise validation error when unhashable items added to a set by @mikeedjones \ 
in #1619
    Fix condition before using prebuilt validator/serializer by @Viicos in #1625

Performance

    Memory usage optimization via reuse of SchemaValidator and SchemaSerializer \ 
by @sydney-runkle in #1616

New Features

    Support free-threaded Python 3.13t by @davidhewitt in #1628
   2025-02-01 19:43:48 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-pydantic-core: updated to 2.28.0

2.28.0

minimal upgrade to PyO3 0.23 (ignoring deprecations)
Bump serde_json from 1.0.132 to 1.0.133
Bump idna from 1.0.2 to 1.0.3
Bump serde from 1.0.214 to 1.0.215
remove python3-dll-a dependency
Use UserWarning from pyo3
bump jiter to 0.8.2, PyO3 to 0.23.3
Fix typo in PydanticUseDefault docstring
Forward default_value calls to the underlying schema for DefinitionRefValidator
fix type hint for SerializationInfo.round_trip
Include JSON Schema input core schema in function schemas
fix wasteful to_python() calls checking for undefined
Fix ValueError on year zero
Bump serde from 1.0.215 to 1.0.216
optimize refcounting op in datetime creation
Bump astral-sh/setup-uv from 4 to 5
Bump serde from 1.0.216 to 1.0.217
Bump serde_json from 1.0.133 to 1.0.134
Drop 3.8 support
Remove pyupgrade as an explicit linting dependency
Fix: dataclass InitVars shouldn't be required on serialization
Bump version to v2.28.0
   2024-12-24 23:14:39 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-pydantic-core: updated to 2.27.2

2.27.2

fix linux PGO wheel build
Forward default_value calls to the underlying schema for DefinitionRefValidator
Include JSON Schema input core schema in function schemas
fix ValueError on year zero
   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