Skip to content

Commit dfa3d46

Browse files
committed
add pandas as an optional dependancy (for analytics only)
1 parent de29bf3 commit dfa3d46

3 files changed

Lines changed: 132 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
pip3 install poetry
3131
- name: Install meshtastic from local
3232
run: |
33-
poetry install --all-extras
33+
poetry install --all-extras --with dev
3434
poetry run meshtastic --version
3535
- name: Run pylint
3636
run: poetry run pylint meshtastic examples/ --ignore-patterns ".*_pb2.pyi?$"
@@ -68,5 +68,5 @@ jobs:
6868
run: |
6969
python -m pip install --upgrade pip
7070
pip3 install poetry
71-
poetry install --all-extras
71+
poetry install
7272
poetry run meshtastic --version

poetry.lock

Lines changed: 127 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ print-color = "^0.4.6"
3030
dash = { version = "^2.17.1", optional = true }
3131
pytap2 = { version = "^2.3.0", optional = true }
3232
dash-bootstrap-components = { version = "^1.6.0", optional = true }
33+
pandas = { version = "^2.2.2", optional = true }
3334

3435
[tool.poetry.group.dev.dependencies]
3536
hypothesis = "^6.103.2"
@@ -47,6 +48,7 @@ types-requests = "^2.31.0.20240406"
4748
types-setuptools = "^69.5.0.20240423"
4849
types-pyyaml = "^6.0.12.20240311"
4950
pyarrow-stubs = "^10.0.1.7"
51+
pandas-stubs = "^2.2.2.240603"
5052

5153
# If you are doing power analysis you might want these extra devtools
5254
[tool.poetry.group.analysis]
@@ -61,7 +63,7 @@ jupyterlab-widgets = "^3.0.11"
6163

6264
[tool.poetry.extras]
6365
tunnel = ["pytap2"]
64-
analysis = ["dash", "dash-bootstrap-components"]
66+
analysis = ["dash", "dash-bootstrap-components", "pandas", "pandas-stubs"]
6567

6668
[tool.poetry.scripts]
6769
meshtastic = "meshtastic.__main__:main"

0 commit comments

Comments
 (0)