Skip to content

Commit

Permalink
Bump python version to 3.12 throughout
Browse files Browse the repository at this point in the history
  • Loading branch information
dragon-dxw authored and jacksonj04 committed Feb 12, 2025
1 parent 8e708e2 commit 2489947
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ repos:
hooks:
- id: mypy
files: ^ds-caselaw-ingester/
language_version: "3.11"
language_version: "3.12"
additional_dependencies:
- types-requests
- types-python-dateutil
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup-localstack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ awslocal lambda create-function \
--function-name te-lambda \
--zip-file fileb://dist/lambda.zip \
--handler ds-caselaw-ingester/lambda_function.handler \
--runtime python3.11 \
--runtime python3.12 \
--environment "Variables={MARKLOGIC_HOST=$MARKLOGIC_HOST,MARKLOGIC_USER=$MARKLOGIC_USER,MARKLOGIC_PASSWORD=$MARKLOGIC_PASSWORD,AWS_BUCKET_NAME=$AWS_BUCKET_NAME,AWS_SECRET_KEY=$AWS_SECRET_KEY,AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID,AWS_ENDPOINT_URL=$AWS_ENDPOINT_URL,SQS_QUEUE_URL=$SQS_QUEUE_URL,ROLLBAR_TOKEN=$ROLLBAR_TOKEN,ROLLBAR_ENV=$ROLLBAR_ENV,NOTIFY_API_KEY=$NOTIFY_API_KEY,NOTIFY_EDITORIAL_ADDRESS=$NOTIFY_EDITORIAL_ADDRESS,NOTIFY_NEW_JUDGMENT_TEMPLATE_ID=$NOTIFY_NEW_JUDGMENT_TEMPLATE_ID,EDITORIAL_UI_BASE_URL=$EDITORIAL_UI_BASE_URL,PUBLIC_ASSET_BUCKET=$PUBLIC_ASSET_BUCKET,LAMBDA_RUNTIME_ENVIRONMENT_TIMEOUT=500}" \
--role arn:aws:iam::000000000000:role/lambda-role \
--timeout 500
Expand Down
2 changes: 1 addition & 1 deletion template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Resources:
Properties:
CodeUri: ds-caselaw-ingester/
Handler: lambda_function.handler
Runtime: python3.11
Runtime: python2
Architectures:
- x86_64
Timeout: 420
Expand Down

0 comments on commit 2489947

Please sign in to comment.