Skip to content

Commit

Permalink
Use Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Dickinson committed Oct 4, 2022
1 parent 7821178 commit 8bf8046
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: 3.8
python-version: '3.10'
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: '3.10'
cache: 'poetry'
- name: Install Python dependencies
run: poetry install
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
default_language_version:
node: 18.7.0
python: python3.8
python: python3.10
repos:
- repo: https://github.com/psf/black
rev: 22.6.0
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN npm run build:prod


# Build Python app - this stage is a common base for the prod and dev stages
FROM python:3.8-bullseye AS backend
FROM python:3.10-bullseye AS backend

ARG POETRY_VERSION=1.2.1

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.poetry.dependencies]
python = "^3.8"
python = "^3.10"
beautifulsoup4 = "~4.9.3"
boto3 = "~1.24.82"
dj-database-url = "~1.0.0"
Expand Down

0 comments on commit 8bf8046

Please sign in to comment.