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

- Updating to python 3.10 #2

Merged
merged 1 commit into from
Jul 23, 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
8 changes: 6 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8' ]
python-version: ['3.10' ]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8' ]
python-version: ['3.10' ]
steps:
- uses: actions/checkout@v3
- name: Get tag version
Expand All @@ -60,7 +60,11 @@ jobs:
- name: Build a release
run: |
python --version
pwd
ls
python create_package.py

find -name ghrc_ghrc_rds_lambda_package.zip
bash create_release.sh $SOURCE_TAG
env:
SOURCE_TAG: ${{ steps.tag_name.outputs.SOURCE_TAG }}
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resource "aws_lambda_function" "rds_lambda" {
function_name = "${var.stack_prefix}-rds-lambda"
source_code_hash = filebase64sha256("${path.module}/${local.lambda_package}")
handler = "task.lambda_handler.handler"
runtime = "python3.8"
runtime = "python3.10"
filename = "${path.module}/${local.lambda_package}"
role = var.cumulus_lambda_role_arn
timeout = var.timeout
Expand Down
6 changes: 3 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pytest==6.1.2
flake8==3.8.4
coverage==6.3.2
pytest==7.4.3
flake8==6.1.0
coverage==7.3.2
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
boto3~=1.26.90
psycopg2-binary~=2.9.7
cumulus-message-adapter-python~=2.2.0
boto3==1.26.165
cumulus_message_adapter_python==2.2.0
psycopg2-binary==2.9.9
Loading