Normalize native dependency ownership and split config UI
Some checks failed
ci / Unit Matrix (3.10) (push) Has been cancelled
ci / Unit Matrix (3.11) (push) Has been cancelled
ci / Unit Matrix (3.12) (push) Has been cancelled
ci / Portable Ubuntu Smoke (push) Has been cancelled
ci / Package Artifacts (push) Has been cancelled

Make distro packages the single source of truth for GTK/X11 Python bindings instead of advertising them as wheel-managed runtime dependencies. Update the uv, CI, and packaging workflows to use system site packages, regenerate uv.lock, and keep portable and Arch metadata aligned with that contract.

Pull runtime policy, audio probing, and page builders out of config_ui.py so the settings window becomes a coordinator instead of a single large mixed-concern module. Rename the config serialization and logging helpers, and stop startup logging from exposing raw vocabulary entries or custom model paths.

Remove stale helper aliases and add regression coverage for safe startup logging, packaging metadata and module drift, portable requirements, and the extracted audio helper behavior.

Validated with uv lock, python3 -m compileall -q src tests, python3 -m unittest discover -s tests -p 'test_*.py', make build, and make package-arch.
This commit is contained in:
Thales Maciel 2026-03-15 11:27:54 -03:00
parent f779b71e1b
commit c6fc61c885
No known key found for this signature in database
GPG key ID: 33112E6833C34679
23 changed files with 617 additions and 437 deletions

View file

@ -36,10 +36,15 @@ For `1.0.0`, the manual publication target is the forge release page at
`uv` workflow:
```bash
uv sync
python3 -m venv --system-site-packages .venv
. .venv/bin/activate
uv sync --active
uv run aman run --config ~/.config/aman/config.json
```
Install the documented distro runtime dependencies first so the active virtualenv
can see GTK/AppIndicator/X11 bindings from the system Python.
`pip` workflow:
```bash