------------------------------------------------------------------- Tue Jan 28 02:23:01 UTC 2025 - Steve Kowalik - 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 - Remove azure BuildRequires ------------------------------------------------------------------- Thu Sep 12 05:57:59 UTC 2024 - Steve Kowalik - 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 - 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 - Add %{?sle15_python_module_pythons} ------------------------------------------------------------------- Mon Mar 11 03:19:14 UTC 2024 - Steve Kowalik - Initial release of 2.2.1