pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-pydantic



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Jul  4 11:24:20 UTC 2024

Modified Files:
        pkgsrc/devel/py-pydantic: Makefile PLIST distinfo

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.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/py-pydantic/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-pydantic/PLIST
cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/py-pydantic/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-pydantic/Makefile
diff -u pkgsrc/devel/py-pydantic/Makefile:1.20 pkgsrc/devel/py-pydantic/Makefile:1.21
--- pkgsrc/devel/py-pydantic/Makefile:1.20      Wed Jun 12 15:13:50 2024
+++ pkgsrc/devel/py-pydantic/Makefile   Thu Jul  4 11:24:20 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2024/06/12 15:13:50 adam Exp $
+# $NetBSD: Makefile,v 1.21 2024/07/04 11:24:20 adam Exp $
 
-DISTNAME=      pydantic-2.7.4
+DISTNAME=      pydantic-2.8.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pydantic/}
@@ -13,8 +13,8 @@ LICENSE=      mit
 TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-fancy-pypi-readme>=22.5.0:../../devel/py-hatch-fancy-pypi-readme
 TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
 DEPENDS+=      ${PYPKGPREFIX}-annotated-types>=0.4.0:../../lang/py-annotated-types
-DEPENDS+=      ${PYPKGPREFIX}-pydantic-core>=2.18.4:../../devel/py-pydantic-core
-DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=4.6.1:../../devel/py-typing-extensions
+DEPENDS+=      ${PYPKGPREFIX}-pydantic-core>=2.20.1:../../devel/py-pydantic-core
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=4.12.2:../../devel/py-typing-extensions
 #TEST_DEPENDS+=        ${PYPKGPREFIX}-cloudpickle-[0-9]*
 TEST_DEPENDS+= ${PYPKGPREFIX}-dirty-equals-[0-9]*:../../devel/py-dirty-equals
 TEST_DEPENDS+= ${PYPKGPREFIX}-email_validator>=2.0.0:../../mail/py-email_validator

Index: pkgsrc/devel/py-pydantic/PLIST
diff -u pkgsrc/devel/py-pydantic/PLIST:1.5 pkgsrc/devel/py-pydantic/PLIST:1.6
--- pkgsrc/devel/py-pydantic/PLIST:1.5  Wed Jun 12 15:13:50 2024
+++ pkgsrc/devel/py-pydantic/PLIST      Thu Jul  4 11:24:20 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2024/06/12 15:13:50 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2024/07/04 11:24:20 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -147,6 +147,12 @@ ${PYSITELIB}/pydantic/error_wrappers.pyo
 ${PYSITELIB}/pydantic/errors.py
 ${PYSITELIB}/pydantic/errors.pyc
 ${PYSITELIB}/pydantic/errors.pyo
+${PYSITELIB}/pydantic/experimental/__init__.py
+${PYSITELIB}/pydantic/experimental/__init__.pyc
+${PYSITELIB}/pydantic/experimental/__init__.pyo
+${PYSITELIB}/pydantic/experimental/pipeline.py
+${PYSITELIB}/pydantic/experimental/pipeline.pyc
+${PYSITELIB}/pydantic/experimental/pipeline.pyo
 ${PYSITELIB}/pydantic/fields.py
 ${PYSITELIB}/pydantic/fields.pyc
 ${PYSITELIB}/pydantic/fields.pyo

Index: pkgsrc/devel/py-pydantic/distinfo
diff -u pkgsrc/devel/py-pydantic/distinfo:1.19 pkgsrc/devel/py-pydantic/distinfo:1.20
--- pkgsrc/devel/py-pydantic/distinfo:1.19      Wed Jun 12 15:13:50 2024
+++ pkgsrc/devel/py-pydantic/distinfo   Thu Jul  4 11:24:20 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.19 2024/06/12 15:13:50 adam Exp $
+$NetBSD: distinfo,v 1.20 2024/07/04 11:24:20 adam Exp $
 
-BLAKE2s (pydantic-2.7.4.tar.gz) = 55948873b42f9e1e97b7709174c752171eb69798b86def051ca475b5c0904662
-SHA512 (pydantic-2.7.4.tar.gz) = 9a36041a24306761f2528aaca196d0b3e160cf46d71596fcd3df0169b9dd68ce810b88bcbe15dc9c0126551d0d7e33e4c3014b97daaf5d68ce68c0f8d6ffaf81
-Size (pydantic-2.7.4.tar.gz) = 714127 bytes
+BLAKE2s (pydantic-2.8.2.tar.gz) = a027d8fd0629027339649f37a59cd5b92b3ad8b4a197b6bfe1d040baa4c0b4c1
+SHA512 (pydantic-2.8.2.tar.gz) = 9d3b795ee43ccc4976a07c3770769758f023cc6763b8ef9ce4475d22c49d4dba80c8326d42106075b54a5d82c84722735e6017644755672b0f1cb0a4b624340a
+Size (pydantic-2.8.2.tar.gz) = 739834 bytes



Home | Main Index | Thread Index | Old Index