From fa0012691408e1dda289dc030abbf67ab379a479 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Sun, 8 Dec 2024 14:04:52 +0100 Subject: [PATCH] [mypy] Use type-setuptools instead of types-pkg-resources Closes #10117 --- .pre-commit-config.yaml | 2 +- requirements_test.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index adb5b2a324..ae6f433fb6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -140,7 +140,7 @@ repos: "platformdirs==2.2.0", "py==1.11", "tomlkit>=0.10.1", - "types-pkg_resources==0.1.3", + "types-setuptools==75.6.0.20241126", ] exclude: tests(/\w*)*/functional/|tests/input|tests(/.*)+/conftest.py|doc/data/messages|tests(/\w*)*data/ - repo: https://github.com/rbubley/mirrors-prettier diff --git a/requirements_test.txt b/requirements_test.txt index 0d5d80b1c9..fbf9313cc7 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -6,5 +6,5 @@ pytest-cov~=6.0 pytest-xdist~=3.6 six # Type packages for mypy -types-pkg_resources==0.1.3 +types-setuptools==75.6.0.20241126 tox>=3