From 3dbf77c8313cabbce398c52d4df833c5ed46b23d Mon Sep 17 00:00:00 2001 From: Simon Date: Sat, 11 Apr 2026 12:27:43 +0700 Subject: [PATCH] bump dependencies --- .pre-commit-config.yaml | 8 ++++---- backend/common/src/env_settings.py | 24 ++++++++---------------- backend/manage.py | 1 + backend/requirements.txt | 10 +++++----- frontend/package.json | 2 +- requirements-dev.txt | 4 ++-- 6 files changed, 21 insertions(+), 28 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e46bac53..5dcf9b8e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,14 +4,14 @@ repos: hooks: - id: end-of-file-fixer - repo: https://github.com/psf/black - rev: 25.9.0 + rev: 26.3.1 hooks: - id: black alias: python files: ^backend/ args: ["--line-length=79"] - repo: https://github.com/pycqa/isort - rev: 6.0.1 + rev: 8.0.1 hooks: - id: isort name: isort (python) @@ -26,12 +26,12 @@ repos: files: ^backend/ args: ["--max-complexity=10", "--max-line-length=79"] - repo: https://github.com/codespell-project/codespell - rev: v2.4.1 + rev: v2.4.2 hooks: - id: codespell exclude: ^frontend/package-lock.json - repo: https://github.com/pre-commit/mirrors-eslint - rev: v9.36.0 + rev: v10.2.0 hooks: - id: eslint name: eslint diff --git a/backend/common/src/env_settings.py b/backend/common/src/env_settings.py index db4c86c5..d4be5ebf 100644 --- a/backend/common/src/env_settings.py +++ b/backend/common/src/env_settings.py @@ -93,8 +93,7 @@ class EnvironmentSettings: def print_generic(self): """print generic env vars""" - print( - f""" + print(f""" HOST_UID: {self.HOST_UID} HOST_GID: {self.HOST_GID} TZ: {self.TZ} @@ -102,36 +101,29 @@ class EnvironmentSettings: TA_PORT: {self.TA_PORT} TA_BACKEND_PORT: {self.TA_BACKEND_PORT} TA_USERNAME: {self.TA_USERNAME} - TA_PASSWORD: *****""" - ) + TA_PASSWORD: *****""") def print_paths(self): """debug paths set""" - print( - f""" + print(f""" MEDIA_DIR: {self.MEDIA_DIR} APP_DIR: {self.APP_DIR} - CACHE_DIR: {self.CACHE_DIR}""" - ) + CACHE_DIR: {self.CACHE_DIR}""") def print_redis_conf(self): """debug redis conf paths""" - print( - f""" + print(f""" REDIS_CON: {self.REDIS_CON} - REDIS_NAME_SPACE: {self.REDIS_NAME_SPACE}""" - ) + REDIS_NAME_SPACE: {self.REDIS_NAME_SPACE}""") def print_es_paths(self): """debug es conf""" - print( - f""" + print(f""" ES_URL: {self.ES_URL} ES_PASS: ***** ES_USER: {self.ES_USER} ES_SNAPSHOT_DIR: {self.ES_SNAPSHOT_DIR} - ES_DISABLE_VERIFY_SSL: {self.ES_DISABLE_VERIFY_SSL}""" - ) + ES_DISABLE_VERIFY_SSL: {self.ES_DISABLE_VERIFY_SSL}""") def print_all(self): """print all""" diff --git a/backend/manage.py b/backend/manage.py index f17c8b68..1bd5a379 100755 --- a/backend/manage.py +++ b/backend/manage.py @@ -1,5 +1,6 @@ #!/usr/bin/env python """Django's command-line utility for administrative tasks.""" + import os import sys diff --git a/backend/requirements.txt b/backend/requirements.txt index 3f370dac..c22e4a5c 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -1,15 +1,15 @@ apprise==1.9.9 celery==5.6.3 -deepdiff==8.6.2 +deepdiff==9.0.0 django-auth-ldap==5.3.0 django-celery-beat==2.9.0 django-cors-headers==4.9.0 -Django==6.0.3 +Django==6.0.4 djangorestframework==3.17.1 drf-spectacular==0.28.0 # rc:ignore -Pillow==12.1.1 +Pillow==12.2.0 redis==7.4.0 -requests==2.33.0 +requests==2.33.1 ryd-client==0.0.6 -uvicorn==0.42.0 +uvicorn==0.44.0 yt-dlp[default]==2026.3.17 diff --git a/frontend/package.json b/frontend/package.json index b4f20a8c..c52fab17 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -31,7 +31,7 @@ "prettier": "3.8.1", "typescript": "^6.0.2", "typescript-eslint": "^8.58.0", - "vite": "^8.0.3", + "vite": "^8.0.5", "vite-plugin-checker": "^0.12.0" } } diff --git a/requirements-dev.txt b/requirements-dev.txt index 454f59d1..4954f398 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -5,7 +5,7 @@ pre-commit==4.5.1 pylint-django==2.7.0 pylint==4.0.5 pytest-django==4.12.0 -pytest==9.0.2 +pytest==9.0.3 python-dotenv==1.2.2 requirementscheck==0.1.0 -types-requests==2.33.0.20260327 +types-requests==2.33.0.20260408