From 052ea7a23376d42fb6919e0d5b79171d3ec7039f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Mon, 25 Dec 2023 17:03:48 +0800 Subject: [PATCH] :arrow_up: Update dependencies --- pyproject.toml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3485a89..8cdea1e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,10 +9,13 @@ readme = "README.md" [tool.poetry.dependencies] python = "^3.8" httpx = "^0.25.0" -pydantic = "^1.10.7" +pydantic = "<2.0.0,>=1.10.7" -[tool.poetry.extras] -test = ["pytest", "pytest-asyncio", "python-dotenv"] +[tool.poetry.group.dev.dependencies] +pytest = "^7.4.0" +pytest-asyncio = "^0.23.0" +python-dotenv = "^1.0.0" +black = "^23.12.0" [build-system] requires = ["poetry-core"] @@ -30,4 +33,4 @@ log_cli_date_format = "%Y-%m-%d %H:%M:%S" [tool.black] include = '\.pyi?$' line-length = 120 -target-version = ['py38'] \ No newline at end of file +target-version = ['py38', 'py39', 'py310', 'py311', 'py312'] \ No newline at end of file