Fix dependency on my sqlcipher4 package
All checks were successful
CI / test (push) Successful in 8m13s
Lint / test (push) Successful in 35s
Trivy / test (push) Successful in 17s

This commit is contained in:
Miguel Jacq 2025-12-21 15:43:17 +11:00
parent ffc52bdf08
commit 6d199dbca2
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
13 changed files with 38 additions and 11 deletions

View file

@ -1,3 +1,7 @@
# 0.7.5
* Fix import of sqlcipher4
# 0.7.4
* Depend on my own bouquin-sqlcipher4 package (upgraded to latest SQLCipher 4.12.0)

View file

@ -33,6 +33,8 @@ RUN set -eux; \
python3-pyside6.qtprintsupport \
python3-requests \
python3-markdown \
libxcb-cursor0 \
fonts-noto-core \
; \
rm -rf /var/lib/apt/lists/*

View file

@ -82,6 +82,17 @@ Make sure you have `libxcb-cursor0` installed (on Debian-based distributions) or
If downloading from my Forgejo's Releases page, you may wish to verify the GPG signatures with my [GPG key](https://mig5.net/static/mig5.asc).
### Debian 13 ('Trixie')
```bash
sudo mkdir -p /usr/share/keyrings
curl -fsSL https://mig5.net/static/mig5.asc | sudo gpg --dearmor -o /usr/share/keyrings/mig5.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/mig5.gpg] https://apt.mig5.net $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/mig5.list
sudo apt update
sudo apt install bouquin
```
### From PyPi/pip
* `pip install bouquin`

View file

@ -12,8 +12,8 @@ from pathlib import Path
from typing import Dict, List, Sequence, Tuple
import markdown
from sqlcipher3 import Binary
from sqlcipher3 import dbapi2 as sqlite
from sqlcipher4 import Binary
from sqlcipher4 import dbapi2 as sqlite
from . import strings

View file

@ -29,7 +29,7 @@ from PySide6.QtWidgets import (
QVBoxLayout,
QWidget,
)
from sqlcipher3 import dbapi2 as sqlite3
from sqlcipher4 import dbapi2 as sqlite3
from . import strings
from .db import DBManager, TimeLogRow

View file

@ -12,7 +12,7 @@ from PySide6.QtWidgets import (
QTreeWidgetItem,
QVBoxLayout,
)
from sqlcipher3.dbapi2 import IntegrityError
from sqlcipher4.dbapi2 import IntegrityError
from . import strings
from .db import DBManager

View file

@ -39,7 +39,7 @@ from PySide6.QtWidgets import (
QVBoxLayout,
QWidget,
)
from sqlcipher3.dbapi2 import IntegrityError
from sqlcipher4.dbapi2 import IntegrityError
from . import strings
from .db import DBManager

6
debian/changelog vendored
View file

@ -1,3 +1,9 @@
bouquin (0.7.5) unstable; urgency=medium
* Add libxcb-cursor0 dependency
-- Miguel Jacq <mig@mig5.net> Sun, 21 Dec 2025 15:30:00 +1100
bouquin (0.7.4) unstable; urgency=medium
* Initial build for Debian

8
debian/control vendored
View file

@ -16,7 +16,9 @@ Build-Depends:
python3-pyside6.qtsvg,
python3-pyside6.qtprintsupport,
python3-requests,
python3-markdown
python3-markdown,
libxcb-cursor0,
fonts-noto-core
Standards-Version: 4.6.2
Homepage: https://git.mig5.net/mig5/bouquin
@ -30,6 +32,8 @@ Depends: ${misc:Depends}, ${python3:Depends},
python3-pyside6.qtprintsupport,
python3-sqlcipher4,
python3-requests,
python3-markdown
python3-markdown,
libxcb-cursor0,
fonts-noto-core
Description: A simple, opinionated notebook application written in Python, PyQt and SQLCipher.
Bouquin is a simple, opinionated notebook application written in Python, PyQt and SQLCipher.

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "bouquin"
version = "0.7.4"
version = "0.7.5"
description = "Bouquin is a simple, opinionated notebook application written in Python, PyQt and SQLCipher."
authors = ["Miguel Jacq <mig@mig5.net>"]
readme = "README.md"

View file

@ -5,7 +5,7 @@ from datetime import date, timedelta
import pytest
from bouquin.db import DBManager
from sqlcipher3 import dbapi2 as sqlite
from sqlcipher4 import dbapi2 as sqlite
def _today():

View file

@ -14,7 +14,7 @@ from PySide6.QtWidgets import (
QInputDialog,
QMessageBox,
)
from sqlcipher3.dbapi2 import IntegrityError
from sqlcipher4.dbapi2 import IntegrityError
# ============================================================================
# DB Layer Tag Tests

View file

@ -12,7 +12,7 @@ from bouquin.time_log import (
)
from PySide6.QtCore import QDate, Qt
from PySide6.QtWidgets import QDialog, QFileDialog, QInputDialog, QMessageBox
from sqlcipher3.dbapi2 import IntegrityError
from sqlcipher4.dbapi2 import IntegrityError
@pytest.fixture