pull/187/head
evelynmitchell 1 year ago
parent d91250d516
commit 39ba15eccd

@ -22,10 +22,10 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install poetry - name: Install poetry
run: pipx install poetry==$POETRY_VERSION run: pipx install poetry==$POETRY_VERSION
- name: Set up Python 3.10 - name: Set up Python 3.9
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: "3.10" python-version: "3.9"
cache: "poetry" cache: "poetry"
- name: Build project for distribution - name: Build project for distribution
run: poetry build run: poetry build

@ -18,7 +18,7 @@ jobs:
- name: Setup Python - name: Setup Python
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: '3.10' python-version: '3.9'
- name: Install dependencies - name: Install dependencies
run: | run: |

@ -22,7 +22,7 @@ classifiers = [
] ]
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.10.1" python = "^3.9.1"
torch = "2.1.1" torch = "2.1.1"
transformers = "*" transformers = "*"
openai = "0.28.0" openai = "0.28.0"

@ -1,7 +1,7 @@
# TESTING # TESTING
# -================== # -==================
# Use an official Python runtime as a parent image # 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 # Set environment variables to make Python output unbuffered and disable the PIP cache
ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONDONTWRITEBYTECODE 1

Loading…
Cancel
Save