From 8696fb7e94768f81ffab97a6e3388dba557bdd41 Mon Sep 17 00:00:00 2001 From: Teemu Rytilahti Date: Sat, 4 May 2024 20:17:37 +0200 Subject: [PATCH] Add extras group for crcmod and install all extras in CI --- .github/workflows/ci.yml | 2 +- poetry.lock | 3 ++- pyproject.toml | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 642784e01..88e84d004 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -75,7 +75,7 @@ jobs: - name: "Install dependencies" run: | python -m pip install --upgrade pip poetry - poetry install --extras docs + poetry install --all-extras - name: "Run tests" run: | poetry run pytest --cov miio --cov-report xml diff --git a/poetry.lock b/poetry.lock index 07b060c42..dde943839 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1911,10 +1911,11 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [extras] backup-extract = ["android_backup"] +crcmod = ["crcmod"] docs = ["myst-parser", "sphinx", "sphinx_click", "sphinx_rtd_theme", "sphinxcontrib-apidoc"] updater = ["netifaces"] [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "f47d1235ba7dd14061166207842ee2c60c7ba1130b0afebf4bca76a16930af13" +content-hash = "9b1a95be5a1616574a1888462d7252452b9c96677fdb910f2cb85a78a54a5b11" diff --git a/pyproject.toml b/pyproject.toml index d8f918ba9..12bbdf11f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -58,6 +58,7 @@ crcmod = { version = "^1.7", optional = true } docs = ["sphinx", "sphinx_click", "sphinxcontrib-apidoc", "sphinx_rtd_theme", "myst-parser"] updater = ["netifaces"] backup_extract = ["android_backup"] +crcmod = ["crcmod"] [tool.poetry.dev-dependencies] pytest = ">=6.2.5"