From c86b2d2e16c281aab9f52c90ea4799636b27cd19 Mon Sep 17 00:00:00 2001 From: Dylan Date: Wed, 30 Oct 2024 18:32:29 +0000 Subject: [PATCH 1/2] Remove yt-dlp as dependency --- .github/dependabot.yml | 2 -- Dockerfile | 2 +- requirements.txt | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 63627b7..5273e26 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,5 +9,3 @@ updates: directory: "/" schedule: interval: "weekly" - ignore: - - dependency-name: "yt-dlp" diff --git a/Dockerfile b/Dockerfile index 457372c..3be0137 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM python:3.10-alpine AS build RUN apk add build-base python3-dev linux-headers pcre-dev jpeg-dev zlib-dev RUN pip install --upgrade pip -RUN pip install yt-dlp pillow uwsgi +RUN pip install pillow uwsgi FROM python:3.10-alpine AS deps WORKDIR /twitfix diff --git a/requirements.txt b/requirements.txt index 7c7ecc2..c2a7318 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,6 @@ requests==2.32.3 Pillow==10.4.0 Flask==2.2.3 Flask-Cors==4.0.0 -yt-dlp==2022.7.18 Werkzeug==2.3.7 numerize==0.12 oauthlib==3.2.2 From 136974da527863c708a6abcddf0d9ee8656ae251 Mon Sep 17 00:00:00 2001 From: Dylan Date: Wed, 30 Oct 2024 18:51:13 +0000 Subject: [PATCH 2/2] Use new serverless version to deploy, TODO: replace serverless --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2a3ba95..e881bd7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -27,7 +27,7 @@ jobs: cache: 'npm' - name: Install packages - run: npm install -g serverless@3.25.1 + run: npm install -g serverless - name: Install serverless-wsgi run: serverless plugin install -n serverless-wsgi