From 378d4a383eec3f1008d33d04752cb458a7e9e3c2 Mon Sep 17 00:00:00 2001 From: evelynmitchell Date: Sat, 25 Nov 2023 09:10:58 -0700 Subject: [PATCH] boosted python version to 3.10 for pytorch --- pyproject.toml | 4 ++-- tests/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index dcad7e7e..bac55bc6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,11 +18,11 @@ classifiers = [ "Intended Audience :: Developers", "Topic :: Scientific/Engineering :: Artificial Intelligence", "License :: OSI Approved :: MIT License", - "Programming Language :: Python :: 3.6" + "Programming Language :: Python :: 3.10" ] [tool.poetry.dependencies] -python = "^3.8.1" +python = "^3.10.1" torch = "2.1.1" transformers = "*" openai = "0.28.0" diff --git a/tests/Dockerfile b/tests/Dockerfile index f6e46515..f575f599 100644 --- a/tests/Dockerfile +++ b/tests/Dockerfile @@ -1,7 +1,7 @@ # TESTING # -================== # Use an official Python runtime as a parent image -FROM python:3.9-slim +FROM python:3.10-slim # Set environment variables to make Python output unbuffered and disable the PIP cache ENV PYTHONDONTWRITEBYTECODE 1