From 652ff20b2a032f3429f4317742fe48a9649b9e43 Mon Sep 17 00:00:00 2001 From: Vince Reuter Date: Fri, 15 Mar 2024 19:37:56 +0100 Subject: [PATCH] remove unnecessary setuptools types, but add type stubs for pandas --- poetry.lock | 41 +++++++++++++++++++++-------------------- pyproject.toml | 4 ++-- 2 files changed, 23 insertions(+), 22 deletions(-) diff --git a/poetry.lock b/poetry.lock index 8c935d4..80d7857 100644 --- a/poetry.lock +++ b/poetry.lock @@ -569,6 +569,21 @@ pytz = ">=2020.1" [package.extras] test = ["hypothesis (>=5.5.3)", "pytest (>=6.0)", "pytest-xdist (>=1.31)"] +[[package]] +name = "pandas-stubs" +version = "2.2.0.240218" +description = "Type annotations for pandas" +optional = false +python-versions = ">=3.9" +files = [ + {file = "pandas_stubs-2.2.0.240218-py3-none-any.whl", hash = "sha256:e97478320add9b958391b15a56c5f1bf29da656d5b747d28bbe708454b3a1fe6"}, + {file = "pandas_stubs-2.2.0.240218.tar.gz", hash = "sha256:63138c12eec715d66d48611bdd922f31cd7c78bcadd19384c3bd61fd3720a11a"}, +] + +[package.dependencies] +numpy = {version = ">=1.26.0", markers = "python_version < \"3.13\""} +types-pytz = ">=2022.1.1" + [[package]] name = "pathspec" version = "0.12.1" @@ -1013,30 +1028,16 @@ files = [ ] [[package]] -name = "types-docutils" -version = "0.20.0.20240311" -description = "Typing stubs for docutils" +name = "types-pytz" +version = "2024.1.0.20240203" +description = "Typing stubs for pytz" optional = false python-versions = ">=3.8" files = [ - {file = "types-docutils-0.20.0.20240311.tar.gz", hash = "sha256:b29df362e9e6efcba68e27af78135902d56614f6fa76c073d29989272eedb069"}, - {file = "types_docutils-0.20.0.20240311-py3-none-any.whl", hash = "sha256:7d6ade724d89c7cbec390da4c63104f46d3f4e3eff0804998b38a274aa1e3d0c"}, + {file = "types-pytz-2024.1.0.20240203.tar.gz", hash = "sha256:c93751ee20dfc6e054a0148f8f5227b9a00b79c90a4d3c9f464711a73179c89e"}, + {file = "types_pytz-2024.1.0.20240203-py3-none-any.whl", hash = "sha256:9679eef0365db3af91ef7722c199dbb75ee5c1b67e3c4dd7bfbeb1b8a71c21a3"}, ] -[[package]] -name = "types-setuptools" -version = "65.7.0.4" -description = "Typing stubs for setuptools" -optional = false -python-versions = "*" -files = [ - {file = "types-setuptools-65.7.0.4.tar.gz", hash = "sha256:147809433301fe7e0f4ef5c0782f9a0453788960575e1efb6da5fe8cb2493c9f"}, - {file = "types_setuptools-65.7.0.4-py3-none-any.whl", hash = "sha256:522067dfd8e1771f8d7e047e451de2740dc4e0c9f48a22302a6cc96e6c964a13"}, -] - -[package.dependencies] -types-docutils = "*" - [[package]] name = "typing-extensions" version = "4.10.0" @@ -1150,4 +1151,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "^3.10.0" -content-hash = "be952de0e4cc7fabd344800e98db803db68dc0c630306fecfd2e566ae6b712c5" +content-hash = "788b38319895f9615f83277d7ff0608209d67f74af73b5d9aed73f21b51321fb" diff --git a/pyproject.toml b/pyproject.toml index 1086147..142397b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,10 +49,10 @@ optional = true hypothesis = "^6.68.2" mypy = "^0.991" nox = "^2022.11.21" +pandas-stubs = "^2.2.0.240218" pydantic = "^1.10.4" pylint = "^2.15.8" pytest = "^7.1.0" -types-setuptools = "^65.6.0.2" [tool.poetry.group.format] optional = true @@ -75,10 +75,10 @@ colorama = "^0.4.6" hypothesis = "^6.68.2" mypy = "^0.991" nox = "^2022.11.21" +pandas-stubs = "^2.2.0.240218" pydantic = "^1.10.4" pylint = "^2.15.8" pytest = "^7.1.0" -types-setuptools = "^65.6.0.2" [tool.black] target-version = ["py310"]