-
Notifications
You must be signed in to change notification settings - Fork 8
pyside6 requirement confuses OpenBSD #67
Copy link
Copy link
Open
Description
OpenBSD manages many python packages via its packages and for security and compatibility reasons does not tend to allow system-wide installation of pip packages.
PySide6 is available via OpenBSD ports as the following packages:
For -stable:
pyside6-6.8.3
pyside6-tools-6.8.3
For -current:
pyside6-6.10.1 Python Qt bindings for Qt 6
pyside6-tools-6.10.1 PySide6 development tools
These versions should satisfy requirements.
PySide6 is installed and is accessible to Python:
$ pkg_info -m | grep pyside
pyside6-6.10.1 Python Qt bindings for Qt 6
pyside6-tools-6.10.1 PySide6 development tools
$ python3
>>> import PySide6
>>> PySide6.__file__
'/usr/local/lib/python3.13/site-packages/PySide6/__init__.py'
However:
$ pipx install typstwriter
Fatal error from pip prevented installation. Full pip output in file:
$HOME/.local/pipx/logs/cmd_2025-12-19_09.45.41_pip_errors.log
Log file says:
[snip]
Additionally, some packages in these conflicts have no matching distributions available for your environment:
pyside6
The same error happens if I try to install it in a VENV via pip.
WORKAROUND I FOUND:
- Clone repo
- Create a venv with system-site-packages:
typstwriter$ python3 -m venv --system-site-packages .venv
- REMOVE the dependency from
pyproject.toml:
diff --git a/pyproject.toml b/pyproject.toml
index 5941b74..3471831 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -18,7 +18,6 @@ classifiers = [
]
dependencies = [
"qtpy >= 2.3",
-"pyside6 >= 6.4.0",
"pygments >= 2.18",
"platformdirs >= 4.0",
"qt-themes >= 0.3.0"
- Install local version:
(.venv) $ pip install .
Typstwriter runs fine this way.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels