pydantic-vault icon indicating copy to clipboard operation
pydantic-vault copied to clipboard

Compatibility with pydantic v2

Open sylvainmouquet opened this issue 1 year ago • 11 comments

Hello,

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

sylvainmouquet avatar Jul 04 '23 16:07 sylvainmouquet

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

aleksey925 avatar Jul 30 '23 14:07 aleksey925

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!

nymous avatar Aug 03 '23 08:08 nymous

I tested this locally with vault token authentication.

aleksey925 avatar Aug 03 '23 15:08 aleksey925

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.

aleksey925 avatar Aug 12 '23 14:08 aleksey925

@nymous are there any updates about this issue?

raider444 avatar Oct 31 '23 11:10 raider444

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.

nymous avatar Oct 31 '23 17:10 nymous

@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.

blarghmatey avatar Nov 15 '23 19:11 blarghmatey

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

AdolfoVillalobos avatar Dec 14 '23 10:12 AdolfoVillalobos

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'.

yurivict avatar Jan 01 '24 18:01 yurivict

any update on supporting pydantic v2 / pydantic-settings?

mac-vtl avatar Apr 26 '24 12:04 mac-vtl

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

yurivict avatar Jul 28 '24 18:07 yurivict