@ -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
@ -18,7 +18,7 @@ jobs:
- name: Setup Python
python-version: '3.10'
python-version: '3.9'
- name: Install dependencies
run: |
@ -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"
@ -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