Skip to content

Commit

Permalink
Common Requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhavdeep13 committed Oct 1, 2024
1 parent 3f4c344 commit c15078d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 15 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/setup-docker-and-run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ jobs:
run: |
source venv/bin/activate
pip install -r tests/requirements.txt
pip install -r backend/api/requirements.txt
pip install -r backend/gateway/requirements.txt
pip install -r backend/requirements.txt
- name: Set PYTHONPATH
run: echo "PYTHONPATH=$(pwd)" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion backend/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ENV PYTHONUNBUFFERED 1
WORKDIR /app

# Copy requirements.txt
COPY ./backend/api/requirements.txt ./
COPY ./backend/requirements.txt ./

# Copy settings.py
COPY settings.py ./
Expand Down
8 changes: 0 additions & 8 deletions backend/api/requirements.txt

This file was deleted.

2 changes: 1 addition & 1 deletion backend/gateway/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ENV PYTHONUNBUFFERED 1
WORKDIR /app

# Copy requirements.txt
COPY ./backend/gateway/requirements.txt ./
COPY ./backend/requirements.txt ./

# Copy settings.py
COPY settings.py ./
Expand Down
9 changes: 6 additions & 3 deletions backend/gateway/requirements.txt → backend/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
aiohttp==3.8.4
asyncpg==0.27.0
requests==2.26.0
aiohttp==3.10.2
aiologger==0.7.0
async_timeout==4.0.2
asyncio-mqtt==0.16.1
paho-mqtt<2.0
asyncpg==0.27.0
jsonpath_ng==1.5.3
redis==4.5.4
aiologger==0.7.0
aiofiles==23.1.0
pydantic==1.10.7
pydantic==1.10.13
fastapi==0.109.1
uvicorn==0.22.0

0 comments on commit c15078d

Please sign in to comment.