diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e41e0fe..bbb449e 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -6,11 +6,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up Python 3.11 + - name: Set up Python 3.10 uses: actions/setup-python@v4 with: cache: 'pip' - python-version: '3.11' + python-version: '3.10' - name: Install Dependencies run: | @@ -34,10 +34,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up Python 3.11 + - name: Set up Python 3.10 uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: '3.10' - name: Install Dependencies run: | diff --git a/api/Dockerfile b/api/Dockerfile index a43a9fe..80609a0 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -9,11 +9,11 @@ WORKDIR /app # set env variables ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONUNBUFFERED 1 +ENV PYTHONPATH=/app # Install system tools, Python, FastAPI essentials, and Playwright's dependencies RUN apt-get update && apt-get install -y \ wget \ - python3.11 \ python3-pip \ python3-venv \ libgtk-3-0 \ diff --git a/setup.py b/setup.py index 4bbe7b5..4fef18b 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ description='Ask GPT-3 questions about KTH lectures', author='Ludwig Kristoffersson', author_email='ludwig@kristoffersson.org', - python_requires='>=3.11', + python_requires='>=3.10', packages=find_packages(), include_package_data=True, zip_safe=False, diff --git a/worker/Dockerfile b/worker/Dockerfile index a43a9fe..80609a0 100644 --- a/worker/Dockerfile +++ b/worker/Dockerfile @@ -9,11 +9,11 @@ WORKDIR /app # set env variables ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONUNBUFFERED 1 +ENV PYTHONPATH=/app # Install system tools, Python, FastAPI essentials, and Playwright's dependencies RUN apt-get update && apt-get install -y \ wget \ - python3.11 \ python3-pip \ python3-venv \ libgtk-3-0 \ diff --git a/worker/Dockerfile.gpu_accelerated b/worker/Dockerfile.gpu_accelerated index ce2afc7..3dd2562 100644 --- a/worker/Dockerfile.gpu_accelerated +++ b/worker/Dockerfile.gpu_accelerated @@ -9,11 +9,11 @@ WORKDIR /app # set env variables ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONUNBUFFERED 1 +ENV PYTHONPATH=/app # Install system tools, Python, FastAPI essentials, and Playwright's dependencies RUN apt-get update && apt-get install -y \ wget \ - python3.11 \ python3-pip \ python3-venv \ libgtk-3-0 \