Skip to content

Commit

Permalink
Update to Python 3.11 (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
avgupta456 authored Nov 23, 2023
1 parent 608321c commit 131d526
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion backend/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ repos:
rev: 21.10b0
hooks:
- id: black
language_version: python3.8
language_version: python3.11
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
Expand Down
2 changes: 1 addition & 1 deletion backend/deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.8
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.11

ENV APP_MODULE=src.main:app
ENV PORT=8000
Expand Down
2 changes: 1 addition & 1 deletion backend/deploy/app.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
service: default
runtime: python38
runtime: python311
entrypoint: gunicorn -w 2 -k uvicorn.workers.UvicornWorker src.main:app

#smallest instance class
Expand Down
2 changes: 1 addition & 1 deletion docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ docker-compose up --build -d

### Manual

With Python3.8, install the dependencies from `backend/requirements.txt` and run on two separate terminal windows
With Python3.11, install the dependencies from `backend/requirements.txt` and run on two separate terminal windows

```
yarn start-sub
Expand Down

0 comments on commit 131d526

Please sign in to comment.