Skip to content

Commit 410d84e

Browse files
upgrade to python 3.10
1 parent f659d31 commit 410d84e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM mcr.microsoft.com/devcontainers/python:3.9-bookworm
1+
FROM mcr.microsoft.com/devcontainers/python:3.10-bookworm

.github/workflows/deploy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
environment: production
1515

1616
steps:
17-
- name: Set up Python 3.9
17+
- name: Set up Python 3.10
1818
uses: actions/setup-python@v5
1919
with:
20-
python-version: '3.9'
20+
python-version: '3.10'
2121
- name: Checkout Repo
2222
uses: actions/checkout@v4
2323

app/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use an official Python runtime as a parent image
2-
FROM python:3.9-slim
2+
FROM python:3.10-slim
33

44
# Set the working directory in the container
55
WORKDIR /app

app/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Flask==2.0.1
22
Flask-WTF==1.2.2
33
Werkzeug==2.0.3
4-
scikit-learn==0.24.2
4+
scikit-learn==1.0.2
55
segment-analytics-python==2.3.3
66
numpy==1.22.0
77
sentence-transformers==2.2.1
8-
torch==1.10.0
8+
torch==1.11.0
99
huggingface_hub==0.8.1
1010
openai==0.28.0
1111
PyYAML==6.0.2

0 commit comments

Comments
 (0)