Skip to content

fix(CodeBuild): Updates to resolve build problems when releasing #328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master-3.x
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions api_compatibility_tests/compatibility-requirements/3.1.2
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aws-encryption-sdk-cli==2.2.2
4 changes: 3 additions & 1 deletion codebuild/release/validate-api-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ env:
phases:
install:
commands:
- pip install tox
- pyenv install 3.8.12
runtime-versions:
python: latest
pre_build:
commands:
- cd api_compatibility_tests
- pyenv local 3.8.12
- pip install tox
build:
commands:
- NUM_RETRIES=3
Expand Down
4 changes: 3 additions & 1 deletion codebuild/release/validate-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ env:
phases:
install:
commands:
- pip install tox
- pyenv install 3.8.12
runtime-versions:
python: latest
pre_build:
commands:
- cd examples
- pyenv local 3.8.12
- pip install tox
- sed -i "s/aws-encryption-sdk-cli/aws-encryption-sdk-cli==$VERSION/" test/requirements.txt
build:
commands:
Expand Down
2 changes: 0 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -323,11 +323,9 @@ commands = python setup.py park
basepython = python3
skip_install = true
deps =
{[testenv:docs]deps}
wheel
setuptools
commands =
{[testenv:docs]commands}
python setup.py sdist bdist_wheel

[testenv:release-base]
Expand Down