From 227507780ec8653b6047931904336cf8d7ba0135 Mon Sep 17 00:00:00 2001 From: Ian McEwen Date: Sat, 21 Dec 2024 20:29:07 -0700 Subject: [PATCH] Add 'wcwidth' as an optional cli dependency Fixes #598 when installed as meshtastic[cli], as should now be recommended by documentation. --- poetry.lock | 4 ++-- pyproject.toml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/poetry.lock b/poetry.lock index 90af31b6..ada814c6 100644 --- a/poetry.lock +++ b/poetry.lock @@ -4346,10 +4346,10 @@ type = ["pytest-mypy"] [extras] analysis = ["dash", "dash-bootstrap-components", "pandas", "pandas-stubs"] -cli = ["argcomplete", "dotmap", "print-color", "pyqrcode"] +cli = ["argcomplete", "dotmap", "print-color", "pyqrcode", "wcwidth"] tunnel = ["pytap2"] [metadata] lock-version = "2.0" python-versions = "^3.9,<3.14" -content-hash = "4ab787ea28390a4e19c2dfbfdee920174146b144a63fa1e138e25b7120941490" +content-hash = "57149482029acdfa364d888d95a95ab90e771e363405ed90a2016138fff6e8a1" diff --git a/pyproject.toml b/pyproject.toml index d1636961..ab84f869 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,7 @@ pytap2 = { version = "^2.3.0", optional = true } dash-bootstrap-components = { version = "^1.6.0", optional = true } pandas = { version = "^2.2.2", optional = true } pandas-stubs = { version = "^2.2.2.240603", optional = true } +wcwidth = {version = "^0.2.13", optional = true} [tool.poetry.group.dev.dependencies] hypothesis = "^6.103.2" @@ -65,7 +66,7 @@ ipywidgets = "^8.1.3" jupyterlab-widgets = "^3.0.11" [tool.poetry.extras] -cli = ["pyqrcode", "print-color", "dotmap", "argcomplete"] +cli = ["pyqrcode", "print-color", "dotmap", "argcomplete", "wcwidth"] tunnel = ["pytap2"] analysis = ["dash", "dash-bootstrap-components", "pandas", "pandas-stubs"]