From c77f0d7117610229902f4c9bd96d1b2d3686d086 Mon Sep 17 00:00:00 2001 From: Anton Tuchkov Date: Sun, 22 Oct 2023 15:39:05 +0500 Subject: [PATCH] Update to Seafile 9.0.7 --- Dockerfile | 7 ++++--- Makefile | 2 +- container_scripts/setup_script.py | 2 +- docker-compose.yml | 2 +- tests/utils.py | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index d8557b3..46a0528 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,14 +44,15 @@ RUN set -eux; \ captcha==0.4 \ django-simple-captcha==0.5.17 \ django-ranged-response==0.2.0 \ - pycryptodome==3.14.1 \ - Pillow==9.1.1 \ + pycryptodome==3.15.0 \ + Pillow==9.2.0 \ ; \ # Installing Seafdav dependencies pip3 install --no-cache-dir --no-dependencies \ markupsafe==2.0.1 \ Jinja2~=2.10 \ - sqlalchemy==1.4.37 + sqlalchemy==1.4.40 \ + lxml==4.9.1 ENV PYTHONPATH=/seafile/server/seafile-server/seahub/thirdpart:/seafile/server/seafile-server/seafile/lib/python3/site-packages diff --git a/Makefile b/Makefile index 9cf68fb..39ea8fb 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -SEAFILE_VERSION = 9.0.6 +SEAFILE_VERSION = 9.0.7 .PHONY: help help: ## Show help diff --git a/container_scripts/setup_script.py b/container_scripts/setup_script.py index 578c4a6..7df25b6 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.5", "9.0.6"): { + ("9.0.2", "9.0.3", "9.0.4", "9.0.5", "9.0.6", "9.0.7"): { ("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 bbed384..464eb95 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,7 @@ volumes: services: seafile: - image: ghcr.io/antontkv/seafile:9.0.6 + image: ghcr.io/antontkv/seafile:9.0.7 container_name: seafile environment: TZ: diff --git a/tests/utils.py b/tests/utils.py index bc9b7a2..a27addd 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.6", + image="ghcr.io/antontkv/seafile:9.0.7", name="test-seafile", detach=True, volumes={"test-seafile": {"bind": "/seafile/data", "mode": "rw"}},