Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix: Fix pysqlcipher3 installation in CI by adding system dependencies to Dockerfile

LearningCircuit627d7d761939
diff --git a/Dockerfile b/Dockerfile
index 420dd251f2..18a4135fe6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,6 +3,14 @@
####
FROM python:3.13.2-slim AS builder
+# Install system dependencies for SQLCipher
+RUN apt-get update && apt-get install -y \
+ sqlcipher \
+ libsqlcipher0 \
+ libsqlcipher-dev \
+ build-essential \
+ && rm -rf /var/lib/apt/lists/*
+
# Install dependencies and tools
RUN pip3 install --upgrade pip && pip install pdm playwright
# disable update check
diff --git a/pdm.lock b/pdm.lock
index c73e5d8871..cd70b6b7c9 100644
--- a/pdm.lock
+++ b/pdm.lock
@@ -5,7 +5,7 @@
groups = ["default", "dev"]
strategy = ["inherit_metadata"]
lock_version = "4.5.0"
-content_hash = "sha256:8626ecd26b2f793d3b348d0e85877690c1991ba21f336751fdc39370fbe02bfe"
+content_hash = "sha256:42be793bd8aa0a78ff3956ce88e2f6e7967d8c554df2b53e725763908cc31365"
[[metadata.targets]]
requires_python = ">=3.10"
@@ -4763,28 +4763,6 @@ files = [
{file = "rich-14.0.0.tar.gz", hash = "sha256:82f1bc23a6a21ebca4ae0c45af9bdbc492ed20231dcb63f297d6d1021a9d5725"},
]
-[[package]]
-name = "rotki-pysqlcipher3"
-version = "2024.10.1"
-requires_python = ">=3.3"
-summary = "DB-API 2.0 interface for SQLCIPHER 4.x"
-groups = ["default"]
-files = [
- {file = "rotki_pysqlcipher3-2024.10.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:77c56fb397e0a436589888e747404d16c99052d886fe3ed30c01432c2ac320d1"},
- {file = "rotki_pysqlcipher3-2024.10.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:7ebdeb7942aec7f709df4f61ceab185e3302aa8c83e57f01e6e7e0b488b710ec"},
- {file = "rotki_pysqlcipher3-2024.10.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:8414d32c69178c6667e44168faeb8363554bc2b0ee403ec31868b2010ed62a8b"},
- {file = "rotki_pysqlcipher3-2024.10.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:59d0df76a883de8d285dd6bb5f41b7a0d378a591e83bbcd080afbf24ce25df0e"},
- {file = "rotki_pysqlcipher3-2024.10.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6e90ef898cbd8b5add017069ba8e9c2e370323cf9a4bb60b9fab849335b958eb"},
- {file = "rotki_pysqlcipher3-2024.10.1-cp311-cp311-win_amd64.whl", hash = "sha256:8eba2a34c76d8a8e162b74b76ad82142f43e1145048f8f6bf38717b8a5b07c19"},
- {file = "rotki_pysqlcipher3-2024.10.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:d8a42905c5589589b33e4ac6e172ed6b72ca94139022a453067d305c869eae54"},
- {file = "rotki_pysqlcipher3-2024.10.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7ccbc77e71f712415bd531b793244ef5cd2557e75ec5cfaae67629676b7ca659"},
- {file = "rotki_pysqlcipher3-2024.10.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:97f1bfc29e8b0a5e12655bd0fa54f01d2b635b6cbc46ca2292964d8c73afcdeb"},
- {file = "rotki_pysqlcipher3-2024.10.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:431424de5de187fa782638671384114f99b8945e4a81bf11eb734479ddcc83ba"},
- {file = "rotki_pysqlcipher3-2024.10.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cf19ef827ea310cb60141b226279f547bd4522d6d9ce00eb306f99918f1b5df3"},
- {file = "rotki_pysqlcipher3-2024.10.1-cp312-cp312-win_amd64.whl", hash = "sha256:bb9330be2b3b96a935a9e638d83eabdcadefdc65451e3bd2b168d9fb8709e785"},
- {file = "rotki_pysqlcipher3-2024.10.1.tar.gz", hash = "sha256:06f55e23dbb20dae5d37f924312ac3f581f242897eebe97dec76a5520c5d9200"},
-]
-
[[package]]
name = "rpds-py"
version = "0.25.1"
diff --git a/pyproject.toml b/pyproject.toml
index cac2ac1dae..df6be24a5c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -67,7 +67,6 @@ dependencies = [
"kaleido==0.2.1",
"aiohttp>=3.9.0",
"tenacity>=8.0.0",
- "rotki-pysqlcipher3>=2024.10.1",
"flask-login>=0.6.3",
"pysqlcipher3>=1.2.0",
"dogpile.cache>=1.2.0",