Skip to content

Commit 3b78bc6

Browse files
chore: Add py38 and p39 to CI (#329)
1 parent adb6c72 commit 3b78bc6

File tree

9 files changed

+124
-1
lines changed

9 files changed

+124
-1
lines changed

.github/workflows/ci_tests.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
- 3.6
3030
- 3.7
3131
- 3.8
32+
- 3.9
3233
- 3.x
3334
architecture:
3435
- x64

buildspec.yml

+11
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,16 @@ batch:
5858
- identifier: py38_awses_latest
5959
buildspec: codebuild/py38/awses_latest.yml
6060

61+
- identifier: py39_integ
62+
buildspec: codebuild/py39/integ.yml
63+
- identifier: py39_examples
64+
buildspec: codebuild/py39/examples.yml
65+
- identifier: py39_awses_1_7_1
66+
buildspec: codebuild/py39/awses_1.7.1.yml
67+
- identifier: py39_awses_2_0_0
68+
buildspec: codebuild/py39/awses_2.0.0.yml
69+
- identifier: py39_awses_latest
70+
buildspec: codebuild/py39/awses_latest.yml
71+
6172
- identifier: code_coverage
6273
buildspec: codebuild/coverage/coverage.yml

codebuild/py39/awses_1.7.1.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
version: 0.2
2+
3+
env:
4+
variables:
5+
TOXENV: "py39-awses_1.7.1"
6+
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID: >-
7+
arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f
8+
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID_2: >-
9+
arn:aws:kms:eu-central-1:658956600833:key/75414c93-5285-4b57-99c9-30c1cf0a22c2
10+
AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_API_DEPLOYMENT_ID: "xi1mwx3ttb"
11+
AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_REGION: "us-west-2"
12+
13+
phases:
14+
install:
15+
runtime-versions:
16+
python: latest
17+
build:
18+
commands:
19+
- pyenv install 3.9.0
20+
- pyenv local 3.9.0
21+
- pip install tox tox-pyenv
22+
- cd test_vector_handlers
23+
- tox

codebuild/py39/awses_2.0.0.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
version: 0.2
2+
3+
env:
4+
variables:
5+
TOXENV: "py39-awses_2.0.0"
6+
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID: >-
7+
arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f
8+
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID_2: >-
9+
arn:aws:kms:eu-central-1:658956600833:key/75414c93-5285-4b57-99c9-30c1cf0a22c2
10+
AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_API_DEPLOYMENT_ID: "xi1mwx3ttb"
11+
AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_REGION: "us-west-2"
12+
13+
phases:
14+
install:
15+
runtime-versions:
16+
python: latest
17+
build:
18+
commands:
19+
- pyenv install 3.9.0
20+
- pyenv local 3.9.0
21+
- pip install tox tox-pyenv
22+
- cd test_vector_handlers
23+
- tox

codebuild/py39/awses_latest.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
version: 0.2
2+
3+
env:
4+
variables:
5+
TOXENV: "py39-awses_latest"
6+
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID: >-
7+
arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f
8+
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID_2: >-
9+
arn:aws:kms:eu-central-1:658956600833:key/75414c93-5285-4b57-99c9-30c1cf0a22c2
10+
AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_API_DEPLOYMENT_ID: "xi1mwx3ttb"
11+
AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_REGION: "us-west-2"
12+
13+
phases:
14+
install:
15+
runtime-versions:
16+
python: latest
17+
build:
18+
commands:
19+
- pyenv install 3.9.0
20+
- pyenv local 3.9.0
21+
- pip install tox tox-pyenv
22+
- cd test_vector_handlers
23+
- tox

codebuild/py39/examples.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
version: 0.2
2+
3+
env:
4+
variables:
5+
TOXENV: "py39-examples"
6+
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID: >-
7+
arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f
8+
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID_2: >-
9+
arn:aws:kms:eu-central-1:658956600833:key/75414c93-5285-4b57-99c9-30c1cf0a22c2
10+
11+
phases:
12+
install:
13+
runtime-versions:
14+
python: latest
15+
build:
16+
commands:
17+
- pyenv install 3.9.0
18+
- pyenv local 3.9.0
19+
- pip install tox tox-pyenv
20+
- tox

codebuild/py39/integ.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
version: 0.2
2+
3+
env:
4+
variables:
5+
TOXENV: "py39-integ"
6+
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID: >-
7+
arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f
8+
AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID_2: >-
9+
arn:aws:kms:eu-central-1:658956600833:key/75414c93-5285-4b57-99c9-30c1cf0a22c2
10+
11+
phases:
12+
install:
13+
runtime-versions:
14+
python: latest
15+
build:
16+
commands:
17+
- pyenv install 3.9.0
18+
- pyenv local 3.9.0
19+
- pip install tox tox-pyenv
20+
- tox

setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ def get_requirements():
5252
"Programming Language :: Python :: 3.5",
5353
"Programming Language :: Python :: 3.6",
5454
"Programming Language :: Python :: 3.7",
55+
"Programming Language :: Python :: 3.8",
56+
"Programming Language :: Python :: 3.9",
5557
"Programming Language :: Python :: Implementation :: CPython",
5658
"Topic :: Security",
5759
"Topic :: Security :: Cryptography",

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{27,34,35,36,37}-{local,integ,accept,examples}, nocmk,
3+
py{27,34,35,36,37,38,39}-{local,integ,accept,examples}, nocmk,
44
bandit, doc8, readme, docs,
55
{flake8,pylint}{,-tests,-examples},
66
isort-check, black-check,

0 commit comments

Comments
 (0)