From 55f49fed8fe85c89e0f156cdf0dec741c574c8ed Mon Sep 17 00:00:00 2001 From: Adam Velebil Date: Mon, 31 Oct 2022 10:51:59 +0100 Subject: [PATCH] use pip-licenses==4.0.0rc2 --- .github/workflows/linux.yml | 2 -- .github/workflows/macos.yml | 2 -- .github/workflows/windows.yml | 2 -- build-helper.bat | 2 +- build-helper.sh | 2 +- 5 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index e017c177..79daea45 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -43,8 +43,6 @@ jobs: flutter analyze - name: Build the Helper - env: - _PIP_USE_IMPORTLIB_METADATA: 0 run: ./build-helper.sh - name: Build the app diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 7efc512d..664e2274 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -41,8 +41,6 @@ jobs: flutter analyze - name: Build the Helper - env: - _PIP_USE_IMPORTLIB_METADATA: 0 run: ./build-helper.sh - name: Build the app diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 06925ec6..b225a68d 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -39,8 +39,6 @@ jobs: flutter analyze - name: Build the Helper - env: - _PIP_USE_IMPORTLIB_METADATA: 0 run: .\build-helper.bat - name: Build the app diff --git a/build-helper.bat b/build-helper.bat index a9fb5b2f..70d1572d 100644 --- a/build-helper.bat +++ b/build-helper.bat @@ -11,7 +11,7 @@ rmdir /s /q ..\build\windows\helper-license-venv poetry build poetry run python -m venv ..\build\windows\helper-license-venv ..\build\windows\helper-license-venv\Scripts\python -m pip install --upgrade pip wheel -..\build\windows\helper-license-venv\Scripts\python -m pip install dist\authenticator_helper-0.1.0-py3-none-any.whl pip-licenses +..\build\windows\helper-license-venv\Scripts\python -m pip install dist\authenticator_helper-0.1.0-py3-none-any.whl 'pip-licenses=4.0.0rc2' ..\build\windows\helper-license-venv\Scripts\pip-licenses --format=json --no-license-path --with-license-file --ignore-packages authenticator-helper zxing-cpp --output-file ..\assets\licenses\helper.json cd .. diff --git a/build-helper.sh b/build-helper.sh index e8d81c76..270a9507 100755 --- a/build-helper.sh +++ b/build-helper.sh @@ -40,7 +40,7 @@ VENV="../$OUTPUT/helper-license-venv" rm -rf $VENV poetry run python -m venv $VENV $VENV/bin/pip install --upgrade pip wheel -$VENV/bin/pip install dist/authenticator_helper-0.1.0-py3-none-any.whl pip-licenses +$VENV/bin/pip install dist/authenticator_helper-0.1.0-py3-none-any.whl 'pip-licenses==4.0.0rc2' $VENV/bin/pip-licenses --format=json --no-license-path --with-license-file --ignore-packages authenticator-helper zxing-cpp --output-file ../assets/licenses/helper.json cd ..