Hi all! I'm trying to use pydantic in my plugin: `...
# plugins
s
Hi all! I'm trying to use pydantic in my plugin:
Copy code
pantsbuild-pants 2.19.0 depends on typing-extensions==4.3.0
     pydantic 2.5.3 depends on typing-extensions>=4.6.1
Is there any reason why the typing-extensions version is pinned? can we set it to
typing-extensions~=4.3
?
c
it's from https://github.com/pantsbuild/pants/blob/c07004cc324e0d823781d0d383b27db7618c7862/3rdparty/python/requirements.txt#L33 and it's apparent that we haven't been upgrading those deps in a timely manner as some lines are several years old. I wonder if, now that we have proper lockfiles, if we shouldn't instead use looser constraints like
typing-extensions>=4.3,<5
or something like that for most of our 3rd party deps..? Not sure what the implications could be for that, but it would greatly simplify the process of staying on top of new releases for our dependencies..
s
Yeah, that would be great! Right now I can't use pydantic2 at all