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",