From 3b73dbe408a0344ff2d7ed73f1d003c03cd99ca6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Pacheco?= Date: Mon, 8 Dec 2025 15:07:31 -0500 Subject: [PATCH 1/2] chore(deps): Move dev dependencies to dependency-groups in pyproject.toml Closes #17 --- .github/workflows/main.yml | 1 + pyproject.toml | 15 ++++++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1876f68..0447dc5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,6 +34,7 @@ jobs: - name: Install dependencies run: | pip install -e . + pip install --group test - uses: BSFishy/pip-action@v1 with: diff --git a/pyproject.toml b/pyproject.toml index 8d4a493..9f6e6ff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,11 +40,6 @@ dependencies = [ 'beautifulsoup4', 'decorator', 'geocoder', # map - 'pytest', # testing - 'pytest-cov<4', # testing - 'responses', # testing - #'mkdocs', # docs - #'mkdocs-material', # docs 'python-magic', # figure embed 'pillow', ] @@ -94,3 +89,13 @@ omit = ["**/*test.py"] addopts = "--cov=customblocks" +[dependency-groups] +test = [ + "pytest", + "pytest-cov", + "responses", +] +docs = [ + #'mkdocs', # docs + #'mkdocs-material', # docs +] From 1a98f54ba2fafc572848ead23873e49e136f8c2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Pacheco?= Date: Wed, 10 Dec 2025 09:24:45 -0500 Subject: [PATCH 2/2] Requested updates: * Uncomment docs dep-group * Replace `--group` call with individual packages (temp) * Add `pip install --upgrade pip` --- .github/workflows/main.yml | 3 ++- pyproject.toml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0447dc5..5958fa1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,8 +33,9 @@ jobs: - name: Install dependencies run: | + pip install --upgrade pip pip install -e . - pip install --group test + pip install pytest pytest-cov responses # pip install --group test - uses: BSFishy/pip-action@v1 with: diff --git a/pyproject.toml b/pyproject.toml index 9f6e6ff..4f9a38a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -96,6 +96,6 @@ test = [ "responses", ] docs = [ - #'mkdocs', # docs - #'mkdocs-material', # docs + "mkdocs", # docs + "mkdocs-material", # docs ]