Skip to content

Deprecation warning raised by hvac #950

@ogajduse

Description

@ogajduse

Describe the bug
Using the latest version of dynaconf along with the Hashicorp Vault integration, we get the following deprecation warning.

/opt/app-root/lib64/python3.11/site-packages/dynaconf/loaders/vault_loader.py:101: DeprecationWarning: The raise_on_deleted parameter will change its default value to False in hvac v3.0.0. The current default of True will presere previous behavior. To use the old behavior with no warning, explicitly set this value to True. See https://github.com/hvac/hvac/pull/907
      data = client.secrets.kv.v2.read_secret_version(

To Reproduce
Steps to reproduce the behavior:
Create a LazySettings object using the Vault integration.

Expected behavior
no deprecation warning

Environment (please complete the following information):
hvac==1.0.2
dynaconf==3.1.12

Additional context
This is not exactly a bug, but something that should be addressed before hvac 3.0.0 gets out

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions