diff --git a/.github/workflows/dash.yaml b/.github/workflows/dash.yaml index 08ec7ba..f2a15e6 100644 --- a/.github/workflows/dash.yaml +++ b/.github/workflows/dash.yaml @@ -17,7 +17,19 @@ jobs: # taken from here: https://github.com/eclipse/dash-licenses#example-python - name: Create Dash Dependency Report run: | - cat kuksa-client/requirements.txt | grep -v \# \ + python3 -m venv ./.venv/kuksa-client + source ./.venv/kuksa-client/bin/activate + + pip install --upgrade pip + pip install -r kuksa-client/requirements.txt + + deactivate + + python3 -m venv ./.venv/pipdeptree + source ./.venv/pipdeptree/bin/activate + + pip install pipdeptree + pipdeptree -a -f --python ./.venv/kuksa-client/bin/python \ | sed -E -e 's|([^= ]+)==([^= ]+)|pypi/pypi/-/\1/\2|' -e 's| ||g' \ | sort | uniq \ > dependencies.txt