Skip to content

Commit

Permalink
Merge pull request #65 from nattvara/downgrade-python
Browse files Browse the repository at this point in the history
Downgrade python
  • Loading branch information
nattvara authored Sep 9, 2023
2 parents 0d74c70 + e0e547b commit 5b8bd0d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
description='Ask GPT-3 questions about KTH lectures',
author='Ludwig Kristoffersson',
author_email='[email protected]',
python_requires='>=3.11',
python_requires='>=3.10',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
Expand Down
2 changes: 1 addition & 1 deletion worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion worker/Dockerfile.gpu_accelerated
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 5b8bd0d

Please sign in to comment.