From c6e394298d2126d934a1c756df8f420dfcc8e6ec Mon Sep 17 00:00:00 2001 From: burak-upstash Date: Thu, 25 Jan 2024 08:23:47 +0300 Subject: [PATCH] fix pyproject for numpy and pandas --- pyproject.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 7cd6b57..25efa38 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,6 +33,15 @@ packages = [{ include = "upstash_vector" }] python = "^3.8" requests = "^2.31.0" +[tool.poetry.group.types] +optional = true + +[tool.poetry.group.types.dependencies] +pandas-stubs = [ + {version = "^2.1.1.230928", python = ">=3.9"}, + {version = "^1.5.3.230321", python = ">=3.8,<3.9"} +] + [tool.poetry.group.dev.dependencies] mypy = "^1.8.0" types-requests = "^2.31.0.20240106" @@ -42,6 +51,11 @@ types-setuptools = "^69.0.0.20240115" pytest = "^7.4.4" ruff = "^0.1.13" black = "^23.12.1" +numpy = [ + { version = ">=1.22", python = ">=3.9" }, + { version = ">=1.21", python = ">=3.8,<3.9" }, +] +pandas = ">=1.3.5" [build-system] requires = ["poetry-core"]