Subject: CVS commit: pkgsrc/devel/py-pydantic
From: Adam Ciarcinski
Date: 2024-07-04 13:24:20
Message id: 20240704112420.4CA88FC74@cvs.NetBSD.org

Log Message:
py-pydantic: updated to 2.8.2

v2.8.2

Fixes

Fix issue with assertion caused by pluggable schema validator

v2.8.1

Packaging

Bump ruff to v0.5.0 and pyright to v1.1.369
Bump pydantic-core to v2.20.1, pydantic-extra-types to v2.9.0

Fixes

Fix breaking change in to_snake from v2.7 -> v2.8
Fix list constraint json schema application
Support time duration more than 23
Fix millisecond fraction being handled with the wrong scale
Handle negative fractional durations correctly

v2.8.0

Packaging

Update citation version automatically with new releases
Bump pyright to v1.1.367 and add type checking tests for pipeline API
Update pydantic.v1 stub to v1.10.17
General package updates to prep for v2.8.0b1
Bump pydantic-core to v2.20.0
Add support for Python 3.13
Update pdm version used for pdm.lock to v2.16.1
Update to ruff v0.4.8

New Features

Experimental: support defer_build for TypeAdapter
Implement deprecated field in json schema
Experimental: Add pipeline API
Add support for programmatic title generation
Implement fail_fast feature
Add ser_json_inf_nan='strings' mode to produce valid JSON

Changes

Add warning when "alias" is set in ignored Annotated field
Support serialization of some serializable defaults in JSON schema
Relax type specification for __validators__ values in create_model
Breaking Change: Improve smart union matching logic
You can read more about our smart union matching logic here. In some cases, if \ 
the old behavior
is desired, you can switch to left-to-right mode and change the order of your \ 
Union members.

Files:
RevisionActionfile
1.21modifypkgsrc/devel/py-pydantic/Makefile
1.6modifypkgsrc/devel/py-pydantic/PLIST
1.20modifypkgsrc/devel/py-pydantic/distinfo