From 426256b7fa07f65e124a867cd260e3c8e3888be9 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Sun, 21 Jan 2024 09:09:51 +0100 Subject: [PATCH] some fixes --- conf/settings.py | 2 +- manifest.toml | 4 +--- scripts/install | 2 +- tests.toml | 2 ++ 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/conf/settings.py b/conf/settings.py index 5534292..364566a 100644 --- a/conf/settings.py +++ b/conf/settings.py @@ -860,7 +860,7 @@ SILENCED_SYSTEM_CHECKS = [ # CELERY_TASK_EAGER_PROPAGATES = True # Celery worker configuration for production CELERY_TASK_ALWAYS_EAGER = False -CELERY_BROKER_URL = "redis://127.0.0.1:6379" +CELERY_BROKER_URL = "redis://127.0.0.1:6379/__REDIS_DB__" CELERY_RESULT_BACKEND = CELERY_BROKER_URL # Celery settings, it is not recommended to change these diff --git a/manifest.toml b/manifest.toml index 97e8ec5..908a943 100644 --- a/manifest.toml +++ b/manifest.toml @@ -94,9 +94,7 @@ ram.runtime = "3G" [resources.apt] #first § = weblate dependecies, second § = borgbackup dependencies - packages = "libxml2-dev, libxslt-dev, libfreetype6-dev, libjpeg-dev, libz-dev, libyaml-dev, libffi-dev, libcairo-dev, gir1.2-pango-1.0, libgirepository1.0-dev, libacl1-dev, libssl-dev, libpq-dev, libjpeg62-turbo-dev, build-essential, python3-gdbm, python3-dev, python3-pip, python3-venv, python3-virtualenv, virtualenv, git, uwsgi, uwsgi-plugin-python3, redis-server, postgresql, postgresql-contrib, hub" - - #libacl1-dev, libacl1, libssl-dev, liblz4-dev, libzstd-dev, libxxhash-dev, build-essential, pkg-config, python3-pkgconfig" + packages = "libxml2-dev, libxslt-dev, libfreetype6-dev, libjpeg-dev, libz-dev, libyaml-dev, libffi-dev, libcairo-dev, gir1.2-pango-1.0, libgirepository1.0-dev, libacl1-dev, libssl-dev, libpq-dev, libjpeg62-turbo-dev, build-essential, python3-gdbm, python3-dev, python3-pip, python3-venv, python3-virtualenv, virtualenv, git, uwsgi, uwsgi-plugin-python3, redis-server, postgresql, postgresql-contrib, hub, libacl1-dev, libacl1, libssl-dev, liblz4-dev, libzstd-dev, libxxhash-dev, build-essential, pkg-config, python3-pkgconfig" [resources.database] type = "postgresql" diff --git a/scripts/install b/scripts/install index bf05f9f..b3d66b0 100755 --- a/scripts/install +++ b/scripts/install @@ -101,7 +101,7 @@ chown -R $app: "$install_dir" set -o nounset cd "${install_dir}" - sudo --user=$app $install_dir/venv/bin/pip install --upgrade pip setuptools wheel pkgconfig xxhash + sudo --user=$app $install_dir/venv/bin/pip install --upgrade pip setuptools wheel pkgconfig xxhash # Read the "Note" section in https://docs.weblate.org/en/weblate-4.11/admin/install/venv-debian.html#python-modules sudo --user=$app $install_dir/venv/bin/pip install --force-reinstall --no-binary :all: cffi diff --git a/tests.toml b/tests.toml index 82dcc43..40788e5 100644 --- a/tests.toml +++ b/tests.toml @@ -16,4 +16,6 @@ test_format = 1.0 # Commits to test upgrade from # ------------------------------- + test_upgrade_from.2749e7b.name = "0.5.3 - packaging v1" + \ No newline at end of file