14
0

- Update to 2.8.1:

* Fix for init source kwarg alias resolution
  * Revert usage of positional only argument in BaseSettings.__init__
  * Revert use of object instead of Any
  * CLI support for optional and variadic positional args
  * Improve env_prefix config doc
  * Add env_nested_max_split setting
  * Avoid using Any in BaseSettings signature to avoid mypy errors
  * Asynchronous CLI methods in CliApp
  * Don't explode env vars if env_nested_delimiter is empty
- Add patch use-typing_objects.patch:
  * Use typing_inspection.typing_objects rather than isinstance.
- Refreshed patch fix-settings-dump.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydantic-settings?expand=0&rev=14
This commit is contained in:
2025-04-04 04:54:24 +00:00
committed by Git OBS Bridge
parent 9f0835e209
commit 33cf6e0bdc
6 changed files with 62 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
Index: pydantic_settings-2.7.1/docs/index.md
Index: pydantic_settings-2.8.1/docs/index.md
===================================================================
--- pydantic_settings-2.7.1.orig/docs/index.md
+++ pydantic_settings-2.7.1/docs/index.md
--- pydantic_settings-2.8.1.orig/docs/index.md
+++ pydantic_settings-2.8.1/docs/index.md
@@ -72,9 +72,9 @@ print(Settings().model_dump())
{
'auth_key': 'xxx',
@@ -15,7 +15,7 @@ Index: pydantic_settings-2.7.1/docs/index.md
'special_function': math.cos,
'domains': set(),
'more_settings': {'foo': 'bar', 'apple': 1},
@@ -1952,7 +1952,7 @@ class Settings(BaseSettings):
@@ -2075,7 +2075,7 @@ class Settings(BaseSettings):
print(Settings(database_dsn='postgres://postgres@localhost:5432/kwargs_db'))