@@ -338,7 +338,7 @@ jobs:
338
338
if [ -f "poetry.lock" ]
339
339
then
340
340
mkdir -p package/lib || true
341
- pip install poetry==1.5.1 poetry-plugin-export==1.4.0
341
+ python${{ matrix.python-version }} -m pip install poetry==1.5.1 poetry-plugin-export==1.4.0
342
342
poetry lock --check
343
343
poetry export --without-hashes -o package/lib/requirements.txt
344
344
poetry export --without-hashes --with dev -o requirements_dev.txt
@@ -389,7 +389,7 @@ jobs:
389
389
if [ -f "poetry.lock" ]
390
390
then
391
391
mkdir -p package/lib || true
392
- pip install poetry==1.5.1 poetry-plugin-export==1.4.0
392
+ python${{ matrix.python-version }} -m pip install poetry==1.5.1 poetry-plugin-export==1.4.0
393
393
poetry lock --check
394
394
poetry export --without-hashes -o package/lib/requirements.txt
395
395
poetry export --without-hashes --with dev -o requirements_dev.txt
@@ -445,7 +445,7 @@ jobs:
445
445
if [ -f "poetry.lock" ]
446
446
then
447
447
echo " poetry.lock found "
448
- sudo pip3 install poetry==1.5.1 poetry-plugin-export==1.4.0
448
+ python3.7 -m pip install poetry==1.5.1 poetry-plugin-export==1.4.0
449
449
poetry export --without-hashes -o requirements.txt
450
450
if [ "$(grep -cve '^\s*$' requirements.txt)" -ne 0 ]
451
451
then
@@ -617,7 +617,7 @@ jobs:
617
617
if [ -f "poetry.lock" ]
618
618
then
619
619
echo " poetry.lock found "
620
- sudo pip3 install poetry==1.5.1 poetry-plugin-export==1.4.0
620
+ python3.9 -m pip install poetry==1.5.1 poetry-plugin-export==1.4.0
621
621
poetry export --without-hashes -o requirements.txt
622
622
if [ "$(grep -cve '^\s*$' requirements.txt)" -ne 0 ]
623
623
then
@@ -878,7 +878,7 @@ jobs:
878
878
env :
879
879
PYTHON_KEYRING_BACKEND : keyring.backends.null.Keyring
880
880
run : |
881
- sudo pip3 install poetry==1.5.1
881
+ python3.7 -m pip install poetry==1.5.1
882
882
export POETRY_REPOSITORIES_SPLUNK_ADD_ON_UCC_MODINPUT_TEST_URL=https://github.com/splunk/addonfactory-ucc-test.git
883
883
export POETRY_HTTP_BASIC_SPLUNK_ADD_ON_UCC_MODINPUT_TEST_USERNAME=${{ secrets.SA_GH_USER_NAME }}
884
884
export POETRY_HTTP_BASIC_SPLUNK_ADD_ON_UCC_MODINPUT_TEST_PASSWORD=${{ secrets.GH_TOKEN_ADMIN }}
0 commit comments