Make PyMuPDF a main Dangerzone dependency

The PyMuPDF package was previously mainly used within the Dangerzone
container, as well as on Qubes. With on-host conversion, PyMuPDF will be
used in all supported platforms by default. For this reason, we can
promote it to a main dependency.
This commit is contained in:
Alex Pyrgiotis 2024-03-14 10:37:29 +02:00
parent b9e5c59520
commit 0f2be58167
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA
3 changed files with 3 additions and 8 deletions

View file

@ -268,10 +268,7 @@ test it.
cd dangerzone
```
2. Follow the Fedora instructions for setting up the development environment with the particularity of running the following instead of `poetry install`:
```
poetry install --with qubes
```
2. Follow the Fedora instructions for setting up the development environment.
3. Build a dangerzone `.rpm` for qubes with the command

2
poetry.lock generated
View file

@ -1046,4 +1046,4 @@ type = ["pytest-mypy"]
[metadata]
lock-version = "2.0"
python-versions = ">=3.9,<3.13"
content-hash = "9f1c256ac7a768845d519e58206bb3021be7fca94a55c29534cb7a157609e4e8"
content-hash = "9b4083a41b94d03d7688fb6fcc82a0af9839f4dfc769204548c44bf35bcda60b"

View file

@ -17,6 +17,7 @@ python = ">=3.9,<3.13"
click = "*"
appdirs = "*"
PySide6 = "^6.7.1"
PyMuPDF = "^1.23.3" # The version in Fedora 39
colorama = "*"
pyxdg = {version = "*", platform = "linux"}
requests = "*"
@ -51,9 +52,6 @@ pytest-qt = "^4.2.0"
pytest-cov = "^5.0.0"
strip-ansi = "*"
[tool.poetry.group.qubes.dependencies]
pymupdf = "^1.23.6"
[tool.poetry.group.container.dependencies]
pymupdf = "^1.24.10"