diff --git a/.github/workflows/ci_test-vector-handler.yaml b/.github/workflows/ci_test-vector-handler.yaml index 81ad1fa09..abee0bd9f 100644 --- a/.github/workflows/ci_test-vector-handler.yaml +++ b/.github/workflows/ci_test-vector-handler.yaml @@ -23,6 +23,9 @@ jobs: python: - 3.7 - 3.8 + - 3.9 + - "3.10" + - "3.11" - 3.x architecture: - x64 diff --git a/buildspec.yml b/buildspec.yml index 2f2571f64..e2274d81f 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -30,6 +30,12 @@ batch: - identifier: py310_awses_latest buildspec: codebuild/py310/awses_local.yml + - identifier: py311_integ + buildspec: codebuild/py311/integ.yml + - identifier: py311_examples + buildspec: codebuild/py311/examples.yml + - identifier: py311_awses_latest + buildspec: codebuild/py311/awses_local.yml - identifier: code_coverage buildspec: codebuild/coverage/coverage.yml diff --git a/codebuild/py311/awses_local.yml b/codebuild/py311/awses_local.yml new file mode 100644 index 000000000..3ac3241ca --- /dev/null +++ b/codebuild/py311/awses_local.yml @@ -0,0 +1,27 @@ +version: 0.2 + +env: + variables: + TOXENV: "py310-awses_local" + AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID: >- + arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f + AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID_2: >- + arn:aws:kms:eu-central-1:658956600833:key/75414c93-5285-4b57-99c9-30c1cf0a22c2 + AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_MRK_KEY_ID_1: >- + arn:aws:kms:us-west-2:658956600833:key/mrk-80bd8ecdcd4342aebd84b7dc9da498a7 + AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_MRK_KEY_ID_2: >- + arn:aws:kms:us-east-1:658956600833:key/mrk-80bd8ecdcd4342aebd84b7dc9da498a7 + AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_API_DEPLOYMENT_ID: "xi1mwx3ttb" + AWS_ENCRYPTION_SDK_PYTHON_DECRYPT_ORACLE_REGION: "us-west-2" + +phases: + install: + runtime-versions: + python: latest + build: + commands: + - pyenv install 3.11.0 + - pyenv local 3.11.0 + - pip install "tox < 4.0" + - cd test_vector_handlers + - tox diff --git a/codebuild/py311/examples.yml b/codebuild/py311/examples.yml new file mode 100644 index 000000000..72e5fc8d0 --- /dev/null +++ b/codebuild/py311/examples.yml @@ -0,0 +1,24 @@ +version: 0.2 + +env: + variables: + TOXENV: "py310-examples" + AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID: >- + arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f + AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID_2: >- + arn:aws:kms:eu-central-1:658956600833:key/75414c93-5285-4b57-99c9-30c1cf0a22c2 + AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_MRK_KEY_ID_1: >- + arn:aws:kms:us-west-2:658956600833:key/mrk-80bd8ecdcd4342aebd84b7dc9da498a7 + AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_MRK_KEY_ID_2: >- + arn:aws:kms:us-east-1:658956600833:key/mrk-80bd8ecdcd4342aebd84b7dc9da498a7 + +phases: + install: + runtime-versions: + python: latest + build: + commands: + - pyenv install 3.11.0 + - pyenv local 3.11.0 + - pip install "tox < 4.0" + - tox diff --git a/codebuild/py311/integ.yml b/codebuild/py311/integ.yml new file mode 100644 index 000000000..595b90a87 --- /dev/null +++ b/codebuild/py311/integ.yml @@ -0,0 +1,24 @@ +version: 0.2 + +env: + variables: + TOXENV: "py310-integ" + AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID: >- + arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f + AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID_2: >- + arn:aws:kms:eu-central-1:658956600833:key/75414c93-5285-4b57-99c9-30c1cf0a22c2 + AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_MRK_KEY_ID_1: >- + arn:aws:kms:us-west-2:658956600833:key/mrk-80bd8ecdcd4342aebd84b7dc9da498a7 + AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_MRK_KEY_ID_2: >- + arn:aws:kms:us-east-1:658956600833:key/mrk-80bd8ecdcd4342aebd84b7dc9da498a7 + +phases: + install: + runtime-versions: + python: latest + build: + commands: + - pyenv install 3.11.0 + - pyenv local 3.11.0 + - pip install "tox < 4.0" + - tox diff --git a/setup.py b/setup.py index 7cc111bac..2c0ea67e6 100644 --- a/setup.py +++ b/setup.py @@ -49,6 +49,8 @@ def get_requirements(): "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Security", "Topic :: Security :: Cryptography",