From 5b43e6b6a29b05f01fd4175f2fb88afdf711bde0 Mon Sep 17 00:00:00 2001 From: Heinz-Alexander Fuetterer <35225576+afuetterer@users.noreply.github.com> Date: Tue, 2 Apr 2024 15:04:49 +0200 Subject: [PATCH] build(deps-dev): remove pipdeptree from dev dependency group (#304) --- .github/workflows/constraints.txt | 1 + .github/workflows/test.yml | 4 ++++ pyproject.toml | 1 - 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/constraints.txt b/.github/workflows/constraints.txt index 2776894..0aff724 100644 --- a/.github/workflows/constraints.txt +++ b/.github/workflows/constraints.txt @@ -1,6 +1,7 @@ build==1.2.1 hatch==1.9.4 pip==24.0 +pipdeptree==2.16.2 pre-commit==3.7.0 setuptools==69.2.0 wheel==0.43.0 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index aa6d719..d6dd2cd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -74,6 +74,10 @@ jobs: cache: pip - run: python -Im pip install --editable .[dev] - run: python -Ic 'import oaipmh_scythe.__about__; print(oaipmh_scythe.__about__.__version__)' + - name: Set up pipdeptree + if: matrix.os == 'ubuntu-latest' + run: | + python -m pip install --constraint=.github/workflows/constraints.txt pipdeptree - name: Write info to step summary if: matrix.os == 'ubuntu-latest' run: | diff --git a/pyproject.toml b/pyproject.toml index 99a517b..f3b5f51d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,6 @@ dependencies = [ dev = [ "oaipmh-scythe[lint]", "oaipmh-scythe[test]", - "pipdeptree~=2.13", ] docs = [ "mkdocs~=1.5",