From 25ce82c8c580301aff345f726afd81ac9ebae788 Mon Sep 17 00:00:00 2001 From: Artem Rys Date: Thu, 9 Nov 2023 14:46:23 +0100 Subject: [PATCH] chore: revert "feat(poetry): bump poetry version to v1.5.1 (#190)" (#193) This reverts commit e1a8b3d6854d7e1bba25fefdb70fa9bda3994a5e. --- .github/workflows/reusable-build-test-release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/reusable-build-test-release.yml b/.github/workflows/reusable-build-test-release.yml index 5c6042038..658224ba4 100644 --- a/.github/workflows/reusable-build-test-release.yml +++ b/.github/workflows/reusable-build-test-release.yml @@ -423,7 +423,7 @@ jobs: if [ -f "poetry.lock" ] then mkdir -p package/lib || true - pip install poetry==1.5.1 poetry-plugin-export==1.4.0 + pip install poetry==1.2.2 poetry-plugin-export==1.2.0 poetry export --without-hashes -o package/lib/requirements.txt poetry export --without-hashes --dev -o requirements_dev.txt fi @@ -471,7 +471,7 @@ jobs: if [ -f "poetry.lock" ] then mkdir -p package/lib || true - pip install poetry==1.5.1 poetry-plugin-export==1.4.0 + pip install poetry==1.2.2 poetry-plugin-export==1.2.0 poetry export --without-hashes -o package/lib/requirements.txt poetry export --without-hashes --dev -o requirements_dev.txt fi @@ -524,7 +524,7 @@ jobs: if [ -f "poetry.lock" ] then echo " poetry.lock found " - sudo pip3 install poetry==1.5.1 poetry-plugin-export==1.4.0 + sudo pip3 install poetry==1.2.2 poetry-plugin-export==1.2.0 poetry lock --check poetry export --without-hashes -o requirements.txt if [ "$(grep -cve '^\s*$' requirements.txt)" -ne 0 ] @@ -591,7 +591,7 @@ jobs: cp -f THIRDPARTY package/THIRDPARTY || echo "THIRDPARTY file not found (allowed for PR and schedule)" - name: Build Package id: uccgen - uses: splunk/addonfactory-ucc-generator-action@v2 + uses: splunk/addonfactory-ucc-generator-action@v1 with: version: ${{ steps.BuildVersion.outputs.VERSION }} - name: Slim Package @@ -662,7 +662,7 @@ jobs: if [ -f "poetry.lock" ] then echo " poetry.lock found " - sudo pip3 install poetry==1.5.1 poetry-plugin-export==1.4.0 + sudo pip3 install poetry==1.2.2 poetry-plugin-export==1.2.0 poetry export --without-hashes -o requirements.txt if [ "$(grep -cve '^\s*$' requirements.txt)" -ne 0 ] then @@ -991,7 +991,7 @@ jobs: env: PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring run: | - sudo pip3 install poetry==1.5.1 + sudo pip3 install poetry==1.2.2 export POETRY_REPOSITORIES_SPLUNK_ADD_ON_UCC_MODINPUT_TEST_URL=https://github.com/splunk/addonfactory-ucc-test.git export POETRY_HTTP_BASIC_SPLUNK_ADD_ON_UCC_MODINPUT_TEST_USERNAME=${{ secrets.SA_GH_USER_NAME }} export POETRY_HTTP_BASIC_SPLUNK_ADD_ON_UCC_MODINPUT_TEST_PASSWORD=${{ secrets.GH_TOKEN_ADMIN }}