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

Update python version #18

Merged
merged 1 commit into from
Oct 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
2 changes: 1 addition & 1 deletion .github/actions/sam-build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ runs:
# Convert Pipfile.lock to requirements.txt for sam
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.11
- run: pip install -U pipenv
shell: bash

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.11
- uses: pre-commit/[email protected]

pytest:
Expand All @@ -23,7 +23,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.11
- run: pip install -U pipenv
- run: pipenv sync --dev
- run: pipenv run coverage run -m pytest tests/ -svv
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,6 @@ dmypy.json

# generated dynamically from Pipfile
s3objects/requirements.txt

# mac files
.DS_Store
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ boto3 = "~=1.17"
coverage = "~=7.0"

[requires]
python_version = "3.8"
python_version = "3.11"
194 changes: 102 additions & 92 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ Resources:
ResourceFunction:
Type: AWS::Serverless::Function
Properties:
Runtime: python3.8
Runtime: python3.11
CodeUri: s3objects
Handler: resource.handler
Policies: AmazonS3FullAccess

MacroFunction:
Type: AWS::Serverless::Function
Properties:
Runtime: python3.8
Runtime: python3.11
CodeUri: s3objects
Handler: macro.handler
Policies: AmazonS3FullAccess
Expand Down
Loading