Skip to content

Commit

Permalink
changes for python version upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewPlayer3 committed Jun 28, 2024
1 parent 49cc224 commit a33692c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

- uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.12

- run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Review the parameters in [cloudformation.yml](cloudformation.yml) for deploy tim

### Deploy with CloudFormation

- Install dependencies for each component (requires pip for python 3.8)
- Install dependencies for each component (requires pip for python 3.12)

```sh
python -m pip install -r find_new/requirements.txt -t find_new/src
Expand Down
2 changes: 1 addition & 1 deletion database/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
license='BSD',
include_package_data=True,

python_requires='~=3.8',
python_requires='3.12',

packages=find_packages(),
)
2 changes: 1 addition & 1 deletion find_new/cloudformation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Resources:
Handler: find_new.lambda_handler
MemorySize: 128
Role: !GetAtt Role.Arn
Runtime: python3.8
Runtime: python3.12
Timeout: 900

EventInvokeConfig:
Expand Down
2 changes: 1 addition & 1 deletion harvest_products/cloudformation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Resources:
Handler: harvest_products.lambda_handler
MemorySize: 2048
Role: !GetAtt Role.Arn
Runtime: python3.8
Runtime: python3.12
Timeout: 900

EventInvokeConfig:
Expand Down

0 comments on commit a33692c

Please sign in to comment.