nymous / pydantic-vault

A simple extension to Pydantic BaseSettings that can retrieve secrets from Hashicorp Vault
MIT License
52 stars 13 forks source link

Compatibility with pydantic v2 #19

Open sylvainmouquet opened 1 year ago

sylvainmouquet commented 1 year ago

Hello,

There is a plan to have the compatibility with pydantic v2 ?

aleksey925 commented 1 year ago

I did it https://github.com/nymous/pydantic-vault/pull/20. I hope this pr will be approved and merged.

nymous commented 1 year ago

Ooh awesome! I will try to look at it soon. In the meantime, anyone interested in this support of Pydantic v2 could try their branch and report their results on #20, if it works fine or if there are issues!

aleksey925 commented 1 year ago

I tested this locally with vault token authentication.

aleksey925 commented 1 year ago

Hi everyone! Support for pydantic 2.x is very important to me because I forked this library. If you need to work with pydantic 2.x now you can find this fork here.

raider444 commented 10 months ago

@nymous are there any updates about this issue?

nymous commented 10 months ago

Hello, no I haven't looked at this yet. I haven't had the chance to play with Pydantic v2 so I will need to see the changes there first.

blarghmatey commented 10 months ago

@nymous is there anything that I or other users of your library can do to help with this process? I have been using Pydantic 2 for many of my projects and would like to incorporate this as well.

AdolfoVillalobos commented 9 months ago

Similar to @blarghmatey, I would be happy to help in anything required to get compatibility with Pydantic v2.

yurivict commented 8 months ago

PYPI now has pydantic at 2.x and having two versions of Pydantic at the same time causes conflicts in resolving dependencies for some other packages, because pydantic-1.x and pydantic-2.x use the same namespace 'pydantic'.

mac-vtl commented 4 months ago

any update on supporting pydantic v2 / pydantic-settings?

yurivict commented 1 month ago

Is this project unmaintained? Should it be archived in such case?