From 9e67d1bd6ffa6ab76d93ade3567276b5fd97e70f Mon Sep 17 00:00:00 2001 From: Vegard Bieker Matthey Date: Wed, 18 Mar 2026 12:17:11 +0100 Subject: [PATCH 1/2] allow using stable dep versions --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9843b89..08bae94 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,10 +7,10 @@ license = { file = "LICENSE" } readme = "README.md" requires-python = ">=3.12" dependencies = [ - "alembic>=1.17", + "alembic>=1.16", "beautifulsoup4>=4.14", - "click>=8.3", - "flask-admin>=2.0", + "click>=8.2", + "flask-admin>=1.6", "flask-sqlalchemy>=3.1", "flask>=3.0", "isbnlib>=3.10", From 7d723eeb0d221cd5c13fa58379e1343455fddb8c Mon Sep 17 00:00:00 2001 From: Vegard Bieker Matthey Date: Wed, 18 Mar 2026 17:21:39 +0100 Subject: [PATCH 2/2] strip from password file --- src/worblehat/services/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/worblehat/services/config.py b/src/worblehat/services/config.py index 0415240..7f2eb5d 100644 --- a/src/worblehat/services/config.py +++ b/src/worblehat/services/config.py @@ -40,7 +40,7 @@ class Config: def read_password(password_field: str) -> str: if Path(password_field).is_file(): with Path(password_field).open() as f: - return f.read() + return f.read().strip() else: return password_field