From 9d232246e88a60f40da0cadf115b266e0632af54 Mon Sep 17 00:00:00 2001 From: Ari Date: Thu, 25 Aug 2022 10:49:46 -0400 Subject: [PATCH] upgrading python --- .github/workflows/test.yml | 2 +- Dockerfile | 2 +- api/setup.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index daf5d37..c33f9a4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -43,7 +43,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: 3.9 + python-version: 3.10 - name: Install Dependencies run: cd api && make setup - name: Echo dependencies diff --git a/Dockerfile b/Dockerfile index b61c350..771ec07 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ ARG BUILD_ARCH # <--- Main Image --> -FROM python:3.9.13-slim-buster +FROM python:3.10-slim-buster WORKDIR /app # <--- Post-Build Args --> diff --git a/api/setup.py b/api/setup.py index f521155..69a19fa 100644 --- a/api/setup.py +++ b/api/setup.py @@ -2,14 +2,14 @@ import setuptools # type: ignore setuptools.setup( - python_requires=">=3.9", + python_requires=">=3.10", install_requires=[ "PyYAML==6.0", "fastapi==0.78.0", "pydantic==1.9.1", "hypercorn==0.13.2", "python-decouple==3.6", - "websockets==10.3" + "websockets==10.3", ], extras_require={ "dev": [