From 3af5f3488831cb79f6341fadf946c323833dd316 Mon Sep 17 00:00:00 2001 From: Anton Tuchkov Date: Sat, 21 Oct 2023 16:25:47 +0500 Subject: [PATCH] Update to Seafile 9.0.5 --- Dockerfile | 6 +++--- Makefile | 2 +- container_scripts/setup_script.py | 2 +- docker-compose.yml | 2 +- tests/utils.py | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index d136dbf..9e0698b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,17 +41,17 @@ COPY container_scripts/backup /usr/sbin RUN set -eux; \ # Installing Seahub dependencies pip3 install --no-cache-dir --no-dependencies \ - captcha==0.3 \ + captcha==0.4 \ django-simple-captcha==0.5.17 \ django-ranged-response==0.2.0 \ pycryptodome==3.14.1 \ - Pillow==9.0.1 \ + Pillow==9.1.0 \ ; \ # Installing Seafdav dependencies pip3 install --no-cache-dir --no-dependencies \ markupsafe==2.0.1 \ Jinja2~=2.10 \ - sqlalchemy==1.4.31 + sqlalchemy==1.4.36 ENV PYTHONPATH=/seafile/server/seafile-server/seahub/thirdpart:/seafile/server/seafile-server/seafile/lib/python3/site-packages diff --git a/Makefile b/Makefile index 06882b9..f9eb3cb 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -SEAFILE_VERSION = 9.0.4 +SEAFILE_VERSION = 9.0.5 .PHONY: help help: ## Show help diff --git a/container_scripts/setup_script.py b/container_scripts/setup_script.py index 53b5d12..2d8204f 100644 --- a/container_scripts/setup_script.py +++ b/container_scripts/setup_script.py @@ -83,7 +83,7 @@ def do_major_update(current_ver: str, old_ver: str) -> None: update_7_1__8_0 = os.path.join(SERVER_PATH, "upgrade/upgrade_7.1_8.0.sh") update_8_0__9_0 = os.path.join(SERVER_PATH, "upgrade/upgrade_8.0_9.0.sh") update_map = { - ("9.0.2", "9.0.3", "9.0.4"): { + ("9.0.2", "9.0.3", "9.0.4", "9.0.5"): { ("8.0.2", "8.0.3", "8.0.4", "8.0.5", "8.0.6", "8.0.7", "8.0.8"): (update_8_0__9_0,), ("7.1.3", "7.1.4", "7.1.5"): (update_7_1__8_0, update_8_0__9_0), }, diff --git a/docker-compose.yml b/docker-compose.yml index c7404e1..49a3dee 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,7 @@ volumes: services: seafile: - image: ghcr.io/antontkv/seafile:9.0.4 + image: ghcr.io/antontkv/seafile:9.0.5 container_name: seafile environment: TZ: diff --git a/tests/utils.py b/tests/utils.py index 003eb6a..50cab7d 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -9,7 +9,7 @@ class SeafileContainerSetup: def __init__(self) -> None: self._docker_client = docker.from_env() self._container_args = dict( - image="ghcr.io/antontkv/seafile:9.0.4", + image="ghcr.io/antontkv/seafile:9.0.5", name="test-seafile", detach=True, volumes={"test-seafile": {"bind": "/seafile/data", "mode": "rw"}},