From ebeb4ba1ef0de70130ddb918e08c3651e6c5ef09 Mon Sep 17 00:00:00 2001 From: Derk Weijers Date: Tue, 19 Nov 2024 20:43:24 +0100 Subject: [PATCH] chore: Revert "feat: update Dockerfile to install Google Chrome and wget (#3623)" This reverts commit dcd179dee3aaaded83a25777b44c9c0e5c103d8d. --- Dockerfile | 5 +---- pyproject.toml | 2 +- uv.lock | 8 ++++---- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7c6c7225..40ed9444 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,10 +21,7 @@ RUN uv sync --frozen --no-dev FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim # Update the package os dependencies -RUN apt-get update && apt-get upgrade -y && apt-get install wget -y -RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \ - && echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list -RUN apt-get update && apt-get -y install google-chrome-stable +RUN apt-get update && apt-get upgrade -y WORKDIR /app diff --git a/pyproject.toml b/pyproject.toml index 74029fd5..4f4f7efc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ dependencies = [ "pyyaml>=6.0.2", "sentry-sdk>=2.14.0", "uritemplate>=4.1.1", - "harvester>=0.5.0", + "harvester>=0.4.0", ] [tool.uv] diff --git a/uv.lock b/uv.lock index 72c666cf..31a98582 100644 --- a/uv.lock +++ b/uv.lock @@ -495,7 +495,7 @@ wheels = [ [[package]] name = "harvester" -version = "0.5.0" +version = "0.4.0" source = { registry = "https://pypi.thespacedevs.com/simple/" } dependencies = [ { name = "beautifulsoup4" }, @@ -506,9 +506,9 @@ dependencies = [ { name = "requests" }, { name = "selenium" }, ] -sdist = { url = "https://pypi.thespacedevs.com/packages/harvester-0.5.0.tar.gz", hash = "sha256:190045b33abfd28f60a86821ca56df1d3bd94d50fe9231556c95e32ee625bebf" } +sdist = { url = "https://pypi.thespacedevs.com/packages/harvester-0.4.0.tar.gz", hash = "sha256:dd2b720621da6317f9bf4eb5b5a77067461a96bd00d5a30c3d5ea1e329222468" } wheels = [ - { url = "https://pypi.thespacedevs.com/packages/harvester-0.5.0-py3-none-any.whl", hash = "sha256:63035d3c9945832bfc791ba20e2475fd091cad645bbfaee2358aa58b279ba762" }, + { url = "https://pypi.thespacedevs.com/packages/harvester-0.4.0-py3-none-any.whl", hash = "sha256:9501e12d2874fb0e5507d6fb593d4295fe75efb62d95644d09fd2bf218ff5c32" }, ] [[package]] @@ -1203,7 +1203,7 @@ requires-dist = [ { name = "environs", extras = ["django"], specifier = ">=11.0.0" }, { name = "feedparser", specifier = ">=6.0.11" }, { name = "gunicorn", specifier = ">=23.0.0" }, - { name = "harvester", specifier = ">=0.5.0" }, + { name = "harvester", specifier = ">=0.4.0" }, { name = "httpx", specifier = ">=0.27.2" }, { name = "markdown", specifier = ">=3.7" }, { name = "psycopg2-binary", specifier = ">=2.9.9" },