File python-pydantic-settings.changes of Package python-pydantic-settings
-------------------------------------------------------------------
Thu Apr 24 05:53:47 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 2.9.1:
* Drop support for Python 3.8
* Switch to typing-inspection
* Refactor sources.py into a subpackage
* Add support for AWS Secrets Manager
* Fix minor typo: conotations => connotations
* Azure Key Vault: Don't load disabled secret
* Add support for GCP Secret Manager
* CLI JSON Optional Default
* Fix for env nested enum
* CLI submodel suppress
* Cli retrieve unknown args
* Update pydantic
- Drop patches:
* fix-settings-dump.patch
* use-typing_objects.patch
-------------------------------------------------------------------
Fri Apr 4 04:53:17 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- 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
-------------------------------------------------------------------
Tue Jan 28 02:23:01 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 2.7.1:
* Move preferred alias resolution to private method
* Fix test_protected_namespace_defaults with -Wdefault
* Make tests more robust to the running environment
* Fix rendering of annotations in code example
* Fix alias resolution for default settings source.
* Use the class name in the __repr__ implementations
* Fix default help text for union of submodels.
* Add support for CliMutuallyExclusiveGroup.
* Disable abbreviations on internal parser.
* Fix Secret field parsing
* Fix alias resolution to use preferred key.
* Strip annotated when getting submodels during CLI parsing.
* Removing return type from the function in test
* Relax default protected_namespaces
* Add support for CLI kebab case flag.
* Change reference of default values validation in documentation
* Improve field value parsing by adding NoDecode and ForceDecode
annotations
* Fix attribute error on Python 3.9 with typing.Sequence
* Add Python 3.13 support
* Adding support for populate_by_name
* Refactor path_type_label
* Fix nested model field with alias parsing
* Fix PathType typing in case of sequence
* Add cli_ignore_unknown_args config option.
* Fix AzureKeyVaultSettingsSource problem in case of field with underscore
* Add cli_flag_prefix_char config option.
* Fix nested model AliasChoices in validation alias
* Add CLI App Support
* Fix a regression in dotenv optional nested field
* Put tests for non-default sources in separate files
* Update nested model partial update docs example.
* Add support for suppressing fields from CLI help.
* Fix bug in dotenv source when there is env with and without prefix
* Fix a bug in nested vanila dataclass
* CLI Improve Docstring Help Text
* Cli fix default or none object help text
* Determine RootModel complexity from root type
* Add CLI bool flags
* CLI arg list whitespaces fix.
* Add nested_model_default_partial_update flag and DefaultSettingsSource
* Parse enum fixes.
* Fixes CLI help text for function types
* Add get_subcommand function.
* Cli prefix validation alias fix
* CLI ignore external parser list fix
* Enable multiple secrets dirs
* Add CLI subcommand union and alias support
* Fix dotenv settings source problem in handling extra variables with
same prefix in name
- Drop patch clear-environment.patch, fixed by upstream in a different way.
- Add patch fix-settings-dump.patch:
* Support changes introduced by Pydantic 2.10.
-------------------------------------------------------------------
Mon Oct 28 09:52:17 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Remove azure BuildRequires
-------------------------------------------------------------------
Thu Sep 12 05:57:59 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 2.4.0:
* Fix regex flags accidentally passed as count
* Deprecate read_env_file and move it to DotEnvSettingsSource
* Fix a bug when loading empty yaml file
* feat: Enable access to the current state in settings sources
* Add support for short options
* Add Azure Key Vault settings source
* Add cli_exit_on_error config option
- Add in multibuild.
-------------------------------------------------------------------
Mon Jul 1 17:55:58 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.3.4:
* add in-place reloading in docs
* Nested pydantic dataclasses and doc fixes.
* Remove leftover docstring causing warning on `pydantic` docs
build
- update to 2.3.3:
* Fix an intriduced bug in parsing json field with
discriminated union
* Add CliSettingsSource alias handling for AliasChoices and
AliasPath.
- update to 2.3.2:
* Initialize CLI source on demand.
* Fix command line help from `argparse` formatting problem
* Fix issue with nested model uppercase field name in case
insensitive mode
- update to 2.3.1:
* Fix a regression in parsing env value for nested dict
- update to 2.3.0:
* Add environment parsing support for enums.
* Improve `explode_env_vars` for better dict handling
* add `PyprojectTomlConfigSettingsSource`
* Fix broken link in AliasChoices class
* Update Pydantic
* fix: superfluous deep env conflicts with non-dict model leaf
* fix: a second level of environment nesting expected a dict
* Fix an issue when inner types of a discriminated union with a
callable discriminator were not correctly identified as
complex.
* Fix a bug when we have case insentive field in nested model
* Add CLI Settings Source
-------------------------------------------------------------------
Wed Mar 27 15:37:56 UTC 2024 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Mon Mar 11 03:19:14 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Initial release of 2.2.1