------------------------------------------------------------------- Sat Apr 25 20:03:57 UTC 2026 - Dirk Müller - update to 2.14.0: * Fix parsing env vars into Optional Strict types * Fix RecursionError with mutually recursive models in CLI * Fix env_file from model_config ignored in CliApp.run() * Update dependencies * Add Dependabot configuration * Bump samuelcolvin/check-python-version from 4.1 to 5 * Bump actions/upload-artifact from 4 to 7 * Bump actions/checkout from 4 to 6 * Bump astral-sh/setup-uv from 5 to 7 * Bump actions/setup-python from 5 to 6 * Ignore chardet and group GitHub Actions in Dependabot * Bump actions/download-artifact from 4 to 8 in the github- actions group * Bump the python-packages group with 2 updates * Support reading .env files from FIFOs (e.g. 1Password Environments) * Fix AliasChoices ignored when changing provider priority * fix: resolve KeyError in run_subcommand for underscore field names * Bump the python-packages group with 3 updates * Fix `Literal[numeric Enum]` coercion for CLI and env vars * Fix nested discriminated unions not discovered by env/CLI providers * Bump the python-packages group with 3 updates * CLI ensure env nested max split internally. * Bump the python-packages group with 4 updates * Migrate `boto3-stubs` to `types-boto3` * Fix CLI not recognizing field name with validate_by_name and AliasChoices * Allow customisation of the dotevn setting source to filter variables * Bump the python-packages group with 3 updates * Introduce yamlfmt * Bump boto3 from 1.42.82 to 1.42.83 in the python-packages group * Introduce zizmor * Fix CliPositionalArg[list[CustomType]] crash for custom types * Add note about Mypy plugin for `BaseSettings.__init__()` * Fix `cli_ignore_unknown_args=True` not working on subcommands * Bump the python-packages group with 4 updates * Fix CLI descriptions lost under `python -OO` by falling back to `json_schema_extra` * Prepare release 2.14.0 ------------------------------------------------------------------- Wed Mar 25 03:11:24 UTC 2026 - Steve Kowalik - Switch to using python3 -m pytest for running the testsuite. ------------------------------------------------------------------- Tue Mar 24 16:27:53 UTC 2026 - Dirk Müller - update to 2.13.1: * fix: Deterministic alias selection when using validate_by_name * add deep merge functionality to config file sources * Add support for AWS Secrets Manager VersionId parameter * bugfix: Return `None` for inaccessible GCP Secret Manager secrets * Bugfix for cli_kebab_case="all" and CliImplicitFlag[bool] * Unpack type alisases when looking for `NoDecode` * CliToggleFlag and CliDualFlag * Fix for CLI duplicate enum field values. * fixed load nested config from env * Add non-Path files support (for example Traversable) and open files using Path.open method * add one more traversable test * CLI fix fox external list args. * fix: handle case-insensitive retrieval in GoogleSecretManagerSettingsSource * CLI test fixes for help text formatting. * Avoid conflicts with the `NAME` environment variable in WSL * fix: When restoring init kwargs, use deterministic order * Add env_prefix_target * Remove `(default: …)` in the help message for `CliToggleFlag` * Add support for CLI serialize styles. * Add support for overriding default help on CLI internal parser. * CLI format_help method support * feat(gcp): support SecretVersion annotation for per-field secret versioning * Allow `snake_case_conversion` with `env_prefix` for Azure Key Vault source * fix: Only override preferred_key when no value was found * Update deps * CLI coerce numeric types. * CLI Union Discriminator Choices in Help * Add nested path support for yaml_config_section (fixes #772) ------------------------------------------------------------------- Sun Dec 28 20:23:52 UTC 2025 - Dirk Müller - update to 2.12.0: * Support for enum kebab case. * Apply source order: init > env > dotenv > secrets > defaults and pres… * Add NestedSecretsSettings source * Strip non-explicit default values. * Coerce env vars if strict is True. * Restore init kwarg names before returning final state dictionary. * Drop Python3.9 support * Adapt test_protected_namespace_defaults for dev. Pydantic * Add Python 3.14 * Prepare release 2.12 - update to 2.11.0: * CLI Serialize Support * Inspect type aliases to determine if an annotation is complex * Remove parsing of command line arguments from `CliSettingsSource.__init__`. * turn off allow_abbrev on subparsers * CLI Serialization Fixes * Fix PydanticModel type checking. * Avoid env_prefix falling back to env vars without prefix * Warn if model_config sets unused keys for missing settings sources * Included endpoint_url kwarg in AWSSecretsManagerSettingsSource class * Fix typo ("Accesing") in the "Adding sources" docs * CLI Windows Path Fix * Cli root model support ------------------------------------------------------------------- Tue Jul 1 08:46:12 UTC 2025 - Nico Krapp - Update to 2.10.1 * Fix UnboundLocalError error in _replace_field_names_case_insensitively * Remove unknown file reference in documentation * Prepare release 2.10.1 - Update to 2.10.0 * Fix running tests when azure-keyvault-secrets is not installed * Fix running tests when google-cloud-secret-manager is not installed * Support loading a specific nested key from YAML in YamlConfigSettingsSource * Fix CLI suppression for model group help * Fix missing DEFAULT_PATH import * Fix case-insensitive handling of nested aliases in EnvironmentSettingsSource * Azure Key Vault case insensitive support and dash-underscore translation * fix: Respect 'cli_parse_args' from model_config with settings_customise_sources * Bump astral-sh/setup-uv * Update packages by * Update README.md * Fix CI badge * Update dependencies * Fix coverage report * Fix _consume_object_or_array on unbalanced brackets in JSON strings * add region as a parameter to aws secret manager * Expose GCP Secret Manager case sensitive option * Update deps * feat: Add cli_shortcuts to CLI settings * Expose AWS Secrets Manager case sensitive option * Prepare release 2.10.0 - remove otional test dependencies ------------------------------------------------------------------- Thu Apr 24 05:53:47 UTC 2025 - Steve Kowalik - 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 - 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 - 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