From 50bfd910e82b4bc4b7a17ab73e37f0254607ff95 Mon Sep 17 00:00:00 2001 From: Antonio Maiolo Date: Wed, 17 Dec 2025 11:09:43 +0100 Subject: [PATCH] chore(backend): replace pysqlcipher3 with rotki-pysqlcipher3 - pysqlcipher3 is unmaintained (last updated 2021) - rotki-pysqlcipher3 has cross-platform wheels and active maintenance - Lock Python to 3.12.x for wheel compatibility Closes #40 --- .changeset/replace-pysqlcipher3.md | 10 ++++++++++ backend/pyproject.toml | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 .changeset/replace-pysqlcipher3.md diff --git a/.changeset/replace-pysqlcipher3.md b/.changeset/replace-pysqlcipher3.md new file mode 100644 index 0000000..26045b1 --- /dev/null +++ b/.changeset/replace-pysqlcipher3.md @@ -0,0 +1,10 @@ +--- +"think-app": patch +--- + +Replace unmaintained pysqlcipher3 with rotki-pysqlcipher3 + +- `pysqlcipher3` is no longer maintained (last updated 2021) +- `rotki-pysqlcipher3` is actively maintained with cross-platform wheels +- Drop-in replacement using the same `pysqlcipher3` import namespace +- Python version locked to 3.12.x (rotki-pysqlcipher3 wheels only support 3.11-3.12) diff --git a/backend/pyproject.toml b/backend/pyproject.toml index 06732cc..c08de0c 100644 --- a/backend/pyproject.toml +++ b/backend/pyproject.toml @@ -6,7 +6,7 @@ authors = ["Your Name "] package-mode = false [tool.poetry.dependencies] -python = "^3.12,<3.14" +python = "^3.12,<3.13" fastapi = "^0.115.0" uvicorn = "^0.32.0" openai = "^1.54.0" @@ -14,7 +14,7 @@ pydantic = "^2.9.0" pydantic-settings = "^2.6.0" httpx = "^0.27.0" aiosqlite = "^0.20.0" -pysqlcipher3 = "^1.2.0" +rotki-pysqlcipher3 = "^2024.10.1" sqlalchemy = {extras = ["asyncio"], version = "^2.0.0"} sqlite-vec = "^0.1.0" numpy = "^2.0.0"