From ed48b9b742127645210646a2169b62eec1fd289a Mon Sep 17 00:00:00 2001 From: seriaati Date: Fri, 27 Sep 2024 08:24:24 +0800 Subject: [PATCH] Lower aiohttp and pydantic version requirement --- pyproject.toml | 2 +- uv.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c91e7b62..6f9a3de4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ version = "1.7.1" description = "API wrapper for HoYoLAB/Miyoushe API built on asyncio and pydantic." readme = "README.md" requires-python = ">=3.9" -dependencies = ["aiohttp>=3.10.6", "pydantic>=2.9.2"] +dependencies = ["aiohttp==3.*", "pydantic==2.*"] license = { file = "LICENSE" } classifiers = [ "Development Status :: 4 - Beta", diff --git a/uv.lock b/uv.lock index 4f48ea19..ee60722f 100644 --- a/uv.lock +++ b/uv.lock @@ -635,7 +635,7 @@ dev = [ [package.metadata] requires-dist = [ - { name = "aiohttp", specifier = ">=3.10.6" }, + { name = "aiohttp", specifier = "==3.*" }, { name = "aiohttp-socks", marker = "extra == 'all'", specifier = ">=0.9.0" }, { name = "aiohttp-socks", marker = "extra == 'socks-proxy'", specifier = ">=0.9.0" }, { name = "aioredis", marker = "extra == 'all'", specifier = ">=2.0.1" }, @@ -652,7 +652,7 @@ requires-dist = [ { name = "mkdocs-material", marker = "extra == 'docs'", specifier = ">=9.5.38" }, { name = "mypy", marker = "extra == 'typecheck'", specifier = ">=1.11.2" }, { name = "pdoc3", marker = "extra == 'docs'", specifier = ">=0.11.1" }, - { name = "pydantic", specifier = ">=2.9.2" }, + { name = "pydantic", specifier = "==2.*" }, { name = "pyright", marker = "extra == 'typecheck'", specifier = ">=1.1.382.post0" }, { name = "pytest", marker = "extra == 'pytest'", specifier = ">=8.3.3" }, { name = "pytest-asyncio", marker = "extra == 'pytest'", specifier = ">=0.24.0" },