pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Nov  8 19:12:14 UTC 2026

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

Log Message:
py-pydantic, py-pydantic-core: update to 2.14.3, 2.50.4

## v2.14.3 (2026-11-04)

#### Packaging

* Build wheels for GraalPy 3.13 by @msimacek in [#14136](https://github.com/pydantic/pydantic/pull/14136).

  The previous v2.14.2 release published GraalPy 3.11 wheels, which were not working due to a PyO3 version bump. A CI workflow issue
  made it so that the wheel wasn't tested before publishing. This is now fixed: starting in v2.14.3, we no longer publish GraalPy 3.11
  wheels, and GraalPy 3.13 wheels are now published together with the existing 3.12 one.

#### Performance

* Improve schema generation for fixed type handlers by @alexmojaki in [#14130](https://github.com/pydantic/pydantic/pull/14130)
* Skip general schema dispatch for builtin scalars by @alexmojaki in [#14141](https://github.com/pydantic/pydantic/pull/14141)
* Skip annotation handler setup when annotations are empty by @alexmojaki in [#14149](https://github.com/pydantic/pydantic/pull/14149)
* Fix quadratic serialization time with per-index `include`/`exclude` on sequences by @Viicos in [#14160](https://github.com/pydantic/pydantic/pull/14160)
* Avoid type lookups when checking for `None` during serialization by @Viicos in [#14167](https://github.com/pydantic/pydantic/pull/14167)
* Improve performance of model serialization by @Viicos in [#14171](https://github.com/pydantic/pydantic/pull/14171)
* Improve performance of dict serialization by @Viicos in [#14172](https://github.com/pydantic/pydantic/pull/14172)
* Improve performance of type inference during serialization by @Viicos in [#14173](https://github.com/pydantic/pydantic/pull/14173)
* Avoid cloning the field name when using the default value during validation by @Viicos in [#14175](https://github.com/pydantic/pydantic/pull/14175)
* Do not evaluate `model_config` annotations by @Viicos in [#14195](https://github.com/pydantic/pydantic/pull/14195)
* Avoid slow runtime `Protocol` check when expanding `GroupedMetadata` annotations by @Viicos in [#14196](https://github.com/pydantic/pydantic/pull/14196)
* Use a lightweight `@contextmanager` implementation internally by @Viicos in [#14199](https://github.com/pydantic/pydantic/pull/14199)

#### Fixes

* Fix various issues about GC tracking in `pydantic-core` by @Viicos in [#13819](https://github.com/pydantic/pydantic/pull/13819)
* Include `null` in serialization JSON Schema for `unless-none` field serializers by @Kropiunig in [#13848](https://github.com/pydantic/pydantic/pull/13848)
* Fix `RecursionError` when copying or unpickling models with `defer_build` by @Viicos in [#14115](https://github.com/pydantic/pydantic/pull/14115)
* Remove dead `default_factory` check in unsupported `Field()` attribute by @owtaylor in [#14129](https://github.com/pydantic/pydantic/pull/14129)
* Disallow non string extra keys during validation by @Viicos in [#14135](https://github.com/pydantic/pydantic/pull/14135)
* Fix deeply nested data being reported as a cyclic reference by @Viicos in [#14164](https://github.com/pydantic/pydantic/pull/14164)


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 pkgsrc/devel/py-pydantic/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-pydantic/PLIST
cvs rdiff -u -r1.40 -r1.41 pkgsrc/devel/py-pydantic/distinfo
cvs rdiff -u -r1.40 -r1.41 pkgsrc/devel/py-pydantic-core/Makefile
cvs rdiff -u -r1.38 -r1.39 pkgsrc/devel/py-pydantic-core/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.44 pkgsrc/devel/py-pydantic/Makefile:1.45
--- pkgsrc/devel/py-pydantic/Makefile:1.44      Sun Nov  1 22:35:35 2026
+++ pkgsrc/devel/py-pydantic/Makefile   Sun Nov  8 19:12:14 2026
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.44 2026/11/01 22:35:35 wiz Exp $
+# $NetBSD: Makefile,v 1.45 2026/11/08 19:12:14 wiz Exp $
 
 # NB: pydantic expresses an exact dependency on pydantic-core.  While
 # unfortunate, it is actually true, and pydantic with non-matching
 # versions of pydantic-core fail to build matrix-synapse.
 # https://github.com/pydantic/pydantic/issues/12189#issuecomment-3227083571
-DISTNAME=      pydantic-2.14.2
+DISTNAME=      pydantic-2.14.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pydantic/}
@@ -19,7 +19,7 @@ TOOL_DEPENDS+=        ${PYPKGPREFIX}-hatchling>
 DEPENDS+=      ${PYPKGPREFIX}-annotated-types>=0.6.0:../../lang/py-annotated-types
 # We must express the exact dependency from pyproject.toml with
 # respect to upstream's version, but allow for possible nbN versions.
-DEPENDS+=      ${PYPKGPREFIX}-pydantic-core>=2.50.2<2.51:../../devel/py-pydantic-core
+DEPENDS+=      ${PYPKGPREFIX}-pydantic-core>=2.50.4<2.51:../../devel/py-pydantic-core
 DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=4.16.0:../../devel/py-typing-extensions
 DEPENDS+=      ${PYPKGPREFIX}-typing-inspection>=0.4.4:../../devel/py-typing-inspection
 TEST_DEPENDS+= ${PYPKGPREFIX}-cloudpickle>=0:../../converters/py-cloudpickle
@@ -38,8 +38,8 @@ TEST_DEPENDS+=        ${PYPKGPREFIX}-test-run-p
 
 USE_LANGUAGES= # none
 
-# as of 2.14.2
-# 6480 passed, 242 skipped, 28 xfailed
+# as of 2.14.3, after 'make install'
+# 10917 passed, 242 skipped, 28 xfailed, 70 errors
 
 # needs non-existent 'docs' directory
 pre-test:

Index: pkgsrc/devel/py-pydantic/PLIST
diff -u pkgsrc/devel/py-pydantic/PLIST:1.11 pkgsrc/devel/py-pydantic/PLIST:1.12
--- pkgsrc/devel/py-pydantic/PLIST:1.11 Mon Oct 12 11:43:53 2026
+++ pkgsrc/devel/py-pydantic/PLIST      Sun Nov  8 19:12:14 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2026/10/12 11:43:53 adam Exp $
+@comment $NetBSD: PLIST,v 1.12 2026/11/08 19:12:14 wiz Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -12,6 +12,9 @@ ${PYSITELIB}/pydantic/_internal/__init__
 ${PYSITELIB}/pydantic/_internal/_config.py
 ${PYSITELIB}/pydantic/_internal/_config.pyc
 ${PYSITELIB}/pydantic/_internal/_config.pyo
+${PYSITELIB}/pydantic/_internal/_contextlib.py
+${PYSITELIB}/pydantic/_internal/_contextlib.pyc
+${PYSITELIB}/pydantic/_internal/_contextlib.pyo
 ${PYSITELIB}/pydantic/_internal/_core_metadata.py
 ${PYSITELIB}/pydantic/_internal/_core_metadata.pyc
 ${PYSITELIB}/pydantic/_internal/_core_metadata.pyo

Index: pkgsrc/devel/py-pydantic/distinfo
diff -u pkgsrc/devel/py-pydantic/distinfo:1.40 pkgsrc/devel/py-pydantic/distinfo:1.41
--- pkgsrc/devel/py-pydantic/distinfo:1.40      Sun Nov  1 22:35:35 2026
+++ pkgsrc/devel/py-pydantic/distinfo   Sun Nov  8 19:12:14 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.40 2026/11/01 22:35:35 wiz Exp $
+$NetBSD: distinfo,v 1.41 2026/11/08 19:12:14 wiz Exp $
 
-BLAKE2s (pydantic-2.14.2.tar.gz) = 983479c64faab6acb0e36cb261ffbd933ff841acae11ece4ef8e3ee46f05fc8e
-SHA512 (pydantic-2.14.2.tar.gz) = 7f1a57e726773d190addf6663c2393e7aa883c08709391c93158ab9cb30504025526ac9c0b07ad4401271e45874c0ee178f7fa6527f8310affcc8f1826cac3fd
-Size (pydantic-2.14.2.tar.gz) = 911596 bytes
+BLAKE2s (pydantic-2.14.3.tar.gz) = 7ead3ec341002da98ad874db8893d852a57a8726396fb3e9f0c46388b7c96dfa
+SHA512 (pydantic-2.14.3.tar.gz) = 6be87cedb563a78f683c94fafc68ceee68d4c72a69b5ef1eaa52235a90e661fd951bf21078628e67f101819ffc203e38af0e6cb3fe80d4a9a914698b54ecffe2
+Size (pydantic-2.14.3.tar.gz) = 925636 bytes

Index: pkgsrc/devel/py-pydantic-core/Makefile
diff -u pkgsrc/devel/py-pydantic-core/Makefile:1.40 pkgsrc/devel/py-pydantic-core/Makefile:1.41
--- pkgsrc/devel/py-pydantic-core/Makefile:1.40 Sun Nov  1 22:35:36 2026
+++ pkgsrc/devel/py-pydantic-core/Makefile      Sun Nov  8 19:12:14 2026
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.40 2026/11/01 22:35:36 wiz Exp $
+# $NetBSD: Makefile,v 1.41 2026/11/08 19:12:14 wiz Exp $
 
 # NB: pydantic expresses an exact dependency on pydantic-core.  While
 # unfortunate, it is actually true, and pydantic with non-matching
 # versions of pydantic-core fail to build matrix-synapse.
 # https://github.com/pydantic/pydantic/issues/12189#issuecomment-3227083571
-DISTNAME=      pydantic_core-2.50.2
+DISTNAME=      pydantic_core-2.50.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pydantic-core/}
@@ -26,11 +26,9 @@ TEST_DEPENDS+=       ${PYPKGPREFIX}-test-run-p
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout>=2.2.0:../../devel/py-test-timeout
 TEST_DEPENDS+= ${PYPKGPREFIX}-typing-inspection>=0.4.1:../../devel/py-typing-inspection
 TEST_DEPENDS+= ${PYPKGPREFIX}-tzdata>=0:../../time/py-tzdata
-# dependency loop: https://github.com/pydantic/pydantic/issues/14183
-#TEST_DEPENDS+=        ${PYPKGPREFIX}-pydantic>=0:../../devel/py-pydantic
 
-# as of 2.50.2, with pydantic installed:
-# 5999 passed, 192 skipped, 8 xfailed
+# as of 2.50.4, after 'make install'
+# 5838 passed, 190 skipped, 8 xfailed, 163 errors
 
 .include "cargo-depends.mk"
 

Index: pkgsrc/devel/py-pydantic-core/distinfo
diff -u pkgsrc/devel/py-pydantic-core/distinfo:1.38 pkgsrc/devel/py-pydantic-core/distinfo:1.39
--- pkgsrc/devel/py-pydantic-core/distinfo:1.38 Sun Nov  1 22:35:36 2026
+++ pkgsrc/devel/py-pydantic-core/distinfo      Sun Nov  8 19:12:14 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.38 2026/11/01 22:35:36 wiz Exp $
+$NetBSD: distinfo,v 1.39 2026/11/08 19:12:14 wiz Exp $
 
 BLAKE2s (ahash-0.8.12.crate) = 157e4e2836883526fa391419f08c2aa4c932fb96ddf2b254bb436193691754c4
 SHA512 (ahash-0.8.12.crate) = 872e5fa0d1334abac96d10eca18f32c2b1a1e0b38671c132b6effd029e9f0147ddcef79f4d85c8baf0537ddfb8c39a85f61d073e1fb3143dba659a8385641e1b
@@ -150,9 +150,9 @@ Size (portable-atomic-1.6.0.crate) = 140
 BLAKE2s (proc-macro2-1.0.107.crate) = fb11738a84dd1e4dea616e14778d0223a5085563cb1ea8a8fa433e26bfb1351a
 SHA512 (proc-macro2-1.0.107.crate) = c109d5509624a57156e0eae22a3aec89a1a163623e8b4e376a13d872a46e4bf6855ee3cd4428c07cdf5c22f2284b6ce755f9cc7e075480e4587ce4f2d40fa903
 Size (proc-macro2-1.0.107.crate) = 59588 bytes
-BLAKE2s (pydantic_core-2.50.2.tar.gz) = e78f0de0d41f8ad00d3ca627763a3be065a2edcd2b7eae965cbd400acf131801
-SHA512 (pydantic_core-2.50.2.tar.gz) = 79817d5269bb11d855ca6083b785d2730e08dbc326ad081000d560d5d40abd3a4e28c25bba0f78807c9da758be3c9bbf5e86ce2fbc6efc132ba93b34c674fb03
-Size (pydantic_core-2.50.2.tar.gz) = 518711 bytes
+BLAKE2s (pydantic_core-2.50.4.tar.gz) = 3ac86cdb8d0ebec27fe2fc32a8653b58a26e3f21f673ab394e584d85fde4532b
+SHA512 (pydantic_core-2.50.4.tar.gz) = a15788820ea3d9c767da794ba3bc7c7ca79cf340cfd4fb4332de3530dd287a22a9864e3df89268b5bda6db07948fc7a30d9302b2f146565202acba10ea6b2351
+Size (pydantic_core-2.50.4.tar.gz) = 522249 bytes
 BLAKE2s (pyo3-0.30.1.crate) = f0e52334d3f93e8b01d889a076b007cc535e365bc2a745c5a797888dbb077727
 SHA512 (pyo3-0.30.1.crate) = 68799fc448f68b204d4825ce4e1a0b000febf18d968740fa9f94df9507b3a2697fb1c4b642d88ad1f1fb2b214fcd1b9a3a8089eccd8b0418c08b4ae69b7bfdec
 Size (pyo3-0.30.1.crate) = 1345706 bytes



Home | Main Index | Thread Index | Old Index