From 34ab9d6afdf39451f6d0fa9e6f6beeb8529fcb87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez-Mondrag=C3=B3n?= Date: Sun, 30 Nov 2025 12:13:38 -0600 Subject: [PATCH] Remove mypy as a runtime dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Installing `litecli` is currently pulling mypy and librt, which are not needed to use the tool on the end user's machine, so this PR makes mypy a dev-only dependency. Signed-off-by: Edgar Ramírez-Mondragón --- CHANGELOG.md | 4 ++++ pyproject.toml | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b57b59..3cfc6a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## Unreleased + +* Remove mypy as a runtime dependency + ## 1.17.0 - 2025-09-28 ### Features diff --git a/pyproject.toml b/pyproject.toml index 04ab2b0..15a4fe8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,6 @@ dependencies = [ "cli-helpers[styles]>=2.2.1", "click>=4.1,!=8.1.*", "configobj>=5.0.5", - "mypy>=1.17.1", "prompt-toolkit>=3.0.3,<4.0.0", "pygments>=1.6", "sqlparse>=0.4.4", @@ -28,6 +27,11 @@ requires = [ ] build-backend = "setuptools.build_meta" +[dependency-groups] +dev = [ + "mypy>=1.17.1", +] + [tool.setuptools_scm] [project.scripts]