Skip to content

Commit 7950abd

Browse files
committed
fix(CodeBuild): pyenv local before pip installing
1 parent b4657fa commit 7950abd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: codebuild/release/validate.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ phases:
88
python: latest
99
pre_build:
1010
commands:
11-
- pyenv install 3.8.12
12-
- pip install tox tox-pyenv
1311
- git clone https://github.com/aws-samples/busy-engineers-document-bucket.git
1412
- cd busy-engineers-document-bucket/exercises/python/encryption-context-complete
15-
- pyenv local 3.8.12
1613
- sed -i "s/aws_encryption_sdk/aws_encryption_sdk==$VERSION/" requirements-dev.txt
14+
- pyenv install 3.8.12
15+
- pyenv local 3.8.12
16+
- pip install tox tox-pyenv
1717
build:
1818
commands:
1919
- NUM_RETRIES=3

0 commit comments

Comments
 (0)