Skip to content

Commit

Permalink
Merge pull request #132 from mikegrima/py312
Browse files Browse the repository at this point in the history
Upgraded to Python 3.12
  • Loading branch information
mikegrima authored Apr 5, 2024
2 parents c7ae082 + 8029a11 commit 8cb12e4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
python-version:
- "3.10"
- "3.12"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Sample Starfleet Dockerfile for building ECR Lambda functions
FROM public.ecr.aws/lambda/python:3.10
FROM public.ecr.aws/lambda/python:3.12

ENV LAMBDA_TASK_ROOT=/var/runtime

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ tests = [
"mkdocs-material==9.5.16",
"cfn-lint>=0.77",
"checkov>=2.3",
"setuptools==69.2.0"
]

[tool.pytest.ini_options]
Expand Down
1 change: 1 addition & 0 deletions tests/starfleet_included_plugins/iam/test_schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ def test_nested_forbidden_fields() -> None:

def test_include_exclude_account_logic(test_index: AccountIndexInstance) -> None:
"""This tests that the nested include/exclude account logic is working properly."""
# pylint: disable=no-member
from starfleet.worker_ships.plugins.iam.schemas import IambicTemplateTypes, IamRoleWorkerShipPayloadTemplate, render_iambic_template

payload = """
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
requires =
tox>=4.2
env_list =
py310
py312
lint
no_package = true

Expand Down

0 comments on commit 8cb12e4

Please sign in to comment.