pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-pydantic-settings



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Oct 13 13:00:26 UTC 2026

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

Log Message:
py-pydantic-settings: updated to 2.15.0

2.15.0

Highlights

Behavior changes

case_sensitive now applies to init kwargs and config-file sources. InitSettingsSource and the JSON/TOML/YAML config sources previously ignored case_sensitive. Since it defaults to False, 
case-insensitive matching is now the default for these sources — e.g. Settings(TeSt=...) now populates a test field where it previously did not. Nested keys are still matched case-sensitively.
Fields with unresolved forward references now emit a warning. Settings sources can silently fail to resolve such fields; they now raise IncompleteFieldDefinitionWarning telling you to call 
model_rebuild(). If you have filterwarnings = error configured, this may surface as a new failure.
Non-JSON env values for strict fields now raise ValidationError instead of a less specific error.

New features

Show environment variable names in CLI help via cli_show_env_vars=True, so generated --help output doubles as configuration documentation.
PYDANTIC_SETTINGS_DEBUG for debugging settings resolution. Set it to a truthy value with DEBUG logging enabled to see each source's contribution in priority order, which source won for each value, 
and which env_file/secret files were probed, loaded, or skipped — the long-standing "why isn't my .env being picked up?" question.
toml_table_header for regular TOML files, letting you root settings at a nested table in any TOML file, not just pyproject.toml.
Traversable support for JSON/TOML/YAML file sources, so you can load config packaged inside a distribution — including files inside a zip or wheel — via importlib.resources.files(...) without casting 
to Path.
GCP: project_id can come from an earlier settings source, rather than only from the constructor or GOOGLE_CLOUD_PROJECT.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/py-pydantic-settings/Makefile \
    pkgsrc/devel/py-pydantic-settings/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-settings/Makefile
diff -u pkgsrc/devel/py-pydantic-settings/Makefile:1.16 pkgsrc/devel/py-pydantic-settings/Makefile:1.17
--- pkgsrc/devel/py-pydantic-settings/Makefile:1.16     Wed Jul  1 08:52:44 2026
+++ pkgsrc/devel/py-pydantic-settings/Makefile  Tue Oct 13 13:00:26 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2026/07/01 08:52:44 adam Exp $
+# $NetBSD: Makefile,v 1.17 2026/10/13 13:00:26 adam Exp $
 
-DISTNAME=      pydantic_settings-2.14.2
+DISTNAME=      pydantic_settings-2.15.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/g}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pydantic_settings/}
Index: pkgsrc/devel/py-pydantic-settings/distinfo
diff -u pkgsrc/devel/py-pydantic-settings/distinfo:1.16 pkgsrc/devel/py-pydantic-settings/distinfo:1.17
--- pkgsrc/devel/py-pydantic-settings/distinfo:1.16     Wed Jul  1 08:52:44 2026
+++ pkgsrc/devel/py-pydantic-settings/distinfo  Tue Oct 13 13:00:26 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.16 2026/07/01 08:52:44 adam Exp $
+$NetBSD: distinfo,v 1.17 2026/10/13 13:00:26 adam Exp $
 
-BLAKE2s (pydantic_settings-2.14.2.tar.gz) = 60ece8a7741c8239a3bf73be5d27f5d4125fcf82fdbf3760934a8da667a51969
-SHA512 (pydantic_settings-2.14.2.tar.gz) = 50ec63a4e70bf41f5cd4923c7d4802a9b94de2f50c364f0dec2f9fb2833ef7b22c13f5c5e39004b2b38231f56151b2c1d5f50d547737ec99578840d5e6932c5e
-Size (pydantic_settings-2.14.2.tar.gz) = 237700 bytes
+BLAKE2s (pydantic_settings-2.15.0.tar.gz) = 1b407a48d45d7eb93d2fe6315baaa90db2dcccc8dbded92eed538643073ebce7
+SHA512 (pydantic_settings-2.15.0.tar.gz) = 0b8ee285df6d1b89429e2156ed5d462d43ea0aed9fe684cf4adb1d240c2174ea315f8937465f682351da18f93d2454cace52ccb4bce30f6fe4e6cf75069296db
+Size (pydantic_settings-2.15.0.tar.gz) = 261253 bytes



Home | Main Index | Thread Index | Old Index