Use pydantic.v1 namespace on all pydantic versions (#883)

With https://github.com/pydantic/pydantic/pull/9042 being shipped with
[1.10.15](https://docs.pydantic.dev/latest/changelog/#v11015-2024-04-03),
we can clean up the imports a bit until we make decisions how to move
onward with or without pydantic.

---------

Co-authored-by: Steven B. <51370195+sdb9696@users.noreply.github.com>
This commit is contained in:
Teemu R
2024-05-01 15:59:35 +02:00
committed by GitHub
parent 16f17a7729
commit 46338ee21d
9 changed files with 252 additions and 285 deletions

View File

@@ -24,7 +24,7 @@ kasa = "kasa.cli:cli"
python = "^3.8"
anyio = "*" # see https://github.com/python-trio/asyncclick/issues/18
asyncclick = ">=8"
pydantic = ">=1"
pydantic = ">=1.10.15"
cryptography = ">=1.9"
async-timeout = ">=3.0.0"
aiohttp = ">=3"