Skip to content

Commit

Permalink
Upgrade to Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
faucomte97 committed Sep 17, 2024
1 parent 2408581 commit ad58266
Show file tree
Hide file tree
Showing 25 changed files with 235 additions and 259 deletions.
4 changes: 2 additions & 2 deletions .devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@
},
"ghcr.io/devcontainers/features/python:1": {
"toolsToInstall": "pipenv==2023.11.15",
"version": "3.8"
"version": "3.12"
}
},
"name": "workspace",
"postCreateCommand": "sudo chmod u+x .submodules/setup/run && .submodules/setup/run",
"remoteUser": "root",
"workspaceMount": "source=${localWorkspaceFolder},target=/codeforlife-workspace,type=bind",
"workspaceFolder": "/codeforlife-workspace"
}
}
2 changes: 1 addition & 1 deletion .github/actions/email/send/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ pylint = "==3.0.2"
types-requests = "==2.31.0.10"

[requires]
python_version = "3.11"
python_version = "3.12"
108 changes: 49 additions & 59 deletions .github/actions/email/send/Pipfile.lock

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

2 changes: 1 addition & 1 deletion .github/actions/email/send/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ runs:
steps:
- uses: ocadotechnology/codeforlife-workspace/.github/actions/python/setup-environment@main
with:
python-version: 3.11
python-version: 3.12
working-directory: ${{ github.action_path }}

- name: 📧 Send Email
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/python/docs/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inputs:
python-version:
description: "The python version to set up."
required: true
default: "3.8"
default: "3.12"
working-directory:
description: "The current working directory."
required: true
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/python/setup-environment/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ inputs:
python-version:
description: "The python version to set up."
required: true
default: "3.8"
default: "3.12"
working-directory:
description: "The current working directory."
required: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ mypy = "==1.6.1"
pylint = "==3.0.2"

[requires]
python_version = "3.11"
python_version = "3.12"
Loading

0 comments on commit ad58266

Please sign in to comment.