From 39ba15eccd336d1b980462378be065bf4d102b3e Mon Sep 17 00:00:00 2001 From: evelynmitchell Date: Sun, 26 Nov 2023 19:49:58 -0700 Subject: [PATCH] python 3.9 --- .github/workflows/RELEASE.yml | 4 ++-- .github/workflows/unit-test.yml | 2 +- pyproject.toml | 2 +- tests/Dockerfile | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/RELEASE.yml b/.github/workflows/RELEASE.yml index 0abb2ed7..cde08689 100644 --- a/.github/workflows/RELEASE.yml +++ b/.github/workflows/RELEASE.yml @@ -22,10 +22,10 @@ jobs: - uses: actions/checkout@v4 - name: Install poetry run: pipx install poetry==$POETRY_VERSION - - name: Set up Python 3.10 + - name: Set up Python 3.9 uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.9" cache: "poetry" - name: Build project for distribution run: poetry build diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index c68e49b6..0a1985a7 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -18,7 +18,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.9' - name: Install dependencies run: | diff --git a/pyproject.toml b/pyproject.toml index bac55bc6..a15d5d83 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ classifiers = [ ] [tool.poetry.dependencies] -python = "^3.10.1" +python = "^3.9.1" torch = "2.1.1" transformers = "*" openai = "0.28.0" diff --git a/tests/Dockerfile b/tests/Dockerfile index f575f599..f6e46515 100644 --- a/tests/Dockerfile +++ b/tests/Dockerfile @@ -1,7 +1,7 @@ # TESTING # -================== # Use an official Python runtime as a parent image -FROM python:3.10-slim +FROM python:3.9-slim # Set environment variables to make Python output unbuffered and disable the PIP cache ENV PYTHONDONTWRITEBYTECODE 1