File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ phases:
3232 - |
3333 while [ $NUM_RETRIES -gt 0 ]
3434 do
35- tox -e validate-pypi-release -- $VERSION
35+ VERSION=$VERSION tox -e validate-pypi-release
3636 if [ $? -eq 0 ]; then
3737 echo "Standard examples successful"
3838 break
@@ -58,10 +58,9 @@ phases:
5858 # Run MPL examples with a fresh retry count
5959 - NUM_RETRIES=3
6060 - |
61- echo "Running MPL examples"
6261 while [ $NUM_RETRIES -gt 0 ]
6362 do
64- tox -e validate-pypi-release-mpl -- $VERSION
63+ VERSION=$VERSION tox -e validate-pypi-release-mpl
6564 if [ $? -eq 0 ]; then
6665 echo "MPL examples successful"
6766 break
Original file line number Diff line number Diff line change @@ -417,9 +417,11 @@ basepython = {[testenv:py-validate-base]basepython}
417417skip_install = {[testenv:py-validate-base]skip_install}
418418passenv = {[testenv:py-validate-base]passenv}
419419deps = {[testenv:py-validate-base]deps}
420+ setenv =
421+ VERSION = {env:VERSION:latest}
420422commands =
421423 # Install the specified version from PyPI (without MPL extras)
422- pip install " aws-encryption-sdk=={posargs:latest }" --force-reinstall
424+ pip install " aws-encryption-sdk=={env:VERSION }" --force-reinstall
423425 # Run non-MPL examples
424426 {[testenv:base-command]commands} examples/test/legacy/ -m examples
425427
@@ -431,9 +433,11 @@ passenv = {[testenv:py-validate-base]passenv}
431433deps =
432434 {[testenv:py-validate-base]deps}
433435 boto3
436+ setenv =
437+ VERSION = {env:VERSION:latest}
434438commands =
435439 # Install the specified version from PyPI with MPL extras
436- pip install " aws-encryption-sdk[MPL]=={posargs:latest }" --force-reinstall
440+ pip install " aws-encryption-sdk[MPL]=={env:VERSION }" --force-reinstall
437441 # Install MPL requirements needed for MPL examples
438442 pip install -r requirements_mpl.txt
439443 # Run MPL-specific examples
You can’t perform that action at this time.
0 commit comments