chore: add `pydantic` dependency

This commit is contained in:
NiceAesth 2024-02-23 12:52:38 +02:00
parent 179472bd6e
commit d27f95a863
2 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,9 @@ name = "pypi"
[packages] [packages]
orjson = "*" orjson = "*"
pydantic = ">=2"
"discord.py" = {extras = ["voice"], version = "*"} "discord.py" = {extras = ["voice"], version = "*"}
websockets = "*"
[dev-packages] [dev-packages]
mypy = "*" mypy = "*"

View File

@ -4,7 +4,7 @@ import re
import setuptools import setuptools
version = "" version = ""
requirements = ["aiohttp>=3.7.4,<4", "orjson", "websockets"] requirements = ["aiohttp>=3.7.4,<4", "orjson", "websockets", "pydantic>=2"]
with open("pomice/__init__.py") as f: with open("pomice/__init__.py") as f:
version = re.search( version = re.search(
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',