From 0b7846777236a689fcb06180264492dca043540e Mon Sep 17 00:00:00 2001 From: Mara3l Date: Wed, 25 Oct 2023 15:08:29 +0200 Subject: [PATCH] TRIVIAL: doc-req -> script-req --- .github/actions/hugo-build-versioned-action/action.yaml | 9 +-------- dev-requirements.txt | 1 - docs/docs-requirements.txt | 3 --- scripts/script-requirements.txt | 5 +++++ 4 files changed, 6 insertions(+), 12 deletions(-) delete mode 100644 docs/docs-requirements.txt create mode 100644 scripts/script-requirements.txt diff --git a/.github/actions/hugo-build-versioned-action/action.yaml b/.github/actions/hugo-build-versioned-action/action.yaml index 09e8e7765..80c918ab1 100644 --- a/.github/actions/hugo-build-versioned-action/action.yaml +++ b/.github/actions/hugo-build-versioned-action/action.yaml @@ -32,14 +32,7 @@ runs: shell: bash run: | python -m pip install --upgrade pip - pip install -r dev-requirements.txt - - name: Setup PYTHONPATH - shell: bash - run: | - PYTHONPATH="${PYTHONPATH}:${GITHUB_WORKSPACE}/gooddata-pandas/" - PYTHONPATH="${PYTHONPATH}:${GITHUB_WORKSPACE}/gooddata-api-client/" - PYTHONPATH="${PYTHONPATH}:${GITHUB_WORKSPACE}/gooddata-sdk/" - echo "PYTHONPATH=$PYTHONPATH" >> $GITHUB_ENV + pip install -r scripts/script-requirements.txt - name: Generate Versioned Documentation shell: bash run: | diff --git a/dev-requirements.txt b/dev-requirements.txt index 6684115fa..77e079f30 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -15,4 +15,3 @@ pre-commit~=3.3.3 -r ./gooddata-fdw/test-requirements.txt -r ./gooddata-dbt/test-requirements.txt -r ./tests-support/requirements.txt --r ./docs/docs-requirements.txt diff --git a/docs/docs-requirements.txt b/docs/docs-requirements.txt deleted file mode 100644 index d72a73fb1..000000000 --- a/docs/docs-requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ -docstring_parser~=0.15 -gooddata-pandas~=1.7.0 -toml~=0.10.2 diff --git a/scripts/script-requirements.txt b/scripts/script-requirements.txt new file mode 100644 index 000000000..7fe649bff --- /dev/null +++ b/scripts/script-requirements.txt @@ -0,0 +1,5 @@ +docstring_parser~=0.15 +toml~=0.10.2 +-e./gooddata-api-client +-e./gooddata-sdk +-e./gooddata-pandas