Skip to content
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

Upgraded to Python 3.12 #132

Merged
merged 1 commit into from
Apr 5, 2024
Merged
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
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
Loading