Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
RineshRamadhin committed Dec 17, 2023
1 parent 77c99eb commit 19e57b4
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 23 deletions.
11 changes: 7 additions & 4 deletions compose/django/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.71.0-buster
FROM rust:1.74.0-buster

# Setup labels
LABEL version = "2.0"
Expand All @@ -19,11 +19,11 @@ RUN apt-get purge python python3 -y
WORKDIR /install
RUN apt-get install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libsqlite3-dev \
libreadline-dev libffi-dev curl libbz2-dev git -y
RUN wget https://www.python.org/ftp/python/3.11.2/Python-3.11.2.tar.xz
RUN tar -xf Python-3.11.2.tar.xz
RUN wget https://www.python.org/ftp/python/3.12.1/Python-3.12.1.tar.xz
RUN tar -xf Python-3.12.1.tar.xz

# Configure Python
WORKDIR /install/Python-3.11.2
WORKDIR /install/Python-3.12.1
RUN ./configure --enable-optimizations
RUN make install

Expand All @@ -37,5 +37,8 @@ RUN pip3 install -r requirements.txt
# Copy application source
COPY . .

# Configure Git
RUN git config --system --add safe.directory /code

# Set starting configuration
ENTRYPOINT ["./compose/services-check.sh"]
8 changes: 4 additions & 4 deletions compose/selenium/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11.2-buster
FROM python:3.12.1-bullseye

# Setup labels
LABEL version = "1.0"
Expand All @@ -16,12 +16,12 @@ RUN apt-get install unzip xvfb libxi6 libgconf-2-4 default-jdk -y
# Install Chrome driver
WORKDIR /install
# Uncomment below for development on x64. e.g. Intel® Core™, AMD Ryzen™, etc.
#RUN wget -O chromedriver.zip https://github.com/electron/electron/releases/download/v12.2.3/chromedriver-v12.2.3-linux-x64.zip
#RUN wget -O chromedriver.zip https://github.com/electron/electron/releases/download/v25.9.8/chromedriver-v25.9.8-linux-x64.zip
# Uncomment below for development on arm64. e.g. Apple Silicon™.
# RUN wget -O chromedriver.zip https://github.com/electron/electron/releases/download/v12.2.3/chromedriver-v12.2.3-linux-arm64.zip
# RUN wget -O chromedriver.zip https://github.com/electron/electron/releases/download/v25.9.8/chromedriver-v25.9.8-linux-arm64.zip
# Comment below temporarily during development when using an overwrite from above.
# Uncomment below for runtime on armv7. e.g. Raspberry Pi chipsets and similar.
RUN wget -O chromedriver.zip https://github.com/electron/electron/releases/download/v12.2.3/chromedriver-v12.2.3-linux-armv7l.zip
RUN wget -O chromedriver.zip https://github.com/electron/electron/releases/download/v25.9.8/chromedriver-v25.9.8-linux-armv7l.zip
RUN unzip chromedriver.zip
RUN mv chromedriver /usr/bin/chromedriver
RUN chown root:root /usr/bin/chromedriver
Expand Down
2 changes: 1 addition & 1 deletion config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


# Build information of the Web DL API
VERSION = '3.2.3'
VERSION = '3.3.0'
REPOSITORY = 'https://github.com/web-dl-tools/api.git'

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ services:
- ${FILES_PATH}:/code/files

redis:
image: redis:7.0.5-bullseye
image: redis:7.2.3-bookworm
container_name: web-dl_redis
deploy:
resources:
Expand Down
26 changes: 13 additions & 13 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
psycopg2==2.9.5
psycopg2==2.9.9

django==4.1.7
django==5.0
djangorestframework==3.14.0
django-cors-headers==3.13.0
django-cors-headers==4.3.1
django-polymorphic==3.1.0
django-rest-polymorphic==0.1.10
django-filter==22.1
django-filter==23.5

sentry-sdk==1.15.0
whitenoise==6.4.0
sentry-sdk==1.39.1
whitenoise==6.6.0
daphne==4.0.0
channels==4.0.0
channels-redis==4.0.0
requests==2.28.2
markdown==3.4.1
celery==5.2.7
redis==4.5.1
channels-redis==4.1.0
requests==2.31.0
markdown==3.5.1
celery==5.3.6
redis==5.0.1

yt-dlp==2023.10.13
yt-dlp==2023.11.16
python-qbittorrent==0.4.3
selenium==4.8.2
selenium==4.16.0

0 comments on commit 19e57b4

Please sign in to comment.