fix(deps): make pygobject an optional extra, not a hard dependency #285

Merged
holler merged 1 commits from fix/pygobject-optional-dependency into main 2026-07-28 13:30:46 +02:00
1 Commits
Author SHA1 Message Date
x01dcandClaude Sonnet 5 89b185eae2 fix(deps): make pygobject an optional extra, not a hard dependency
CI for csaxs_bec / test (pull_request) Successful in 1m47s
Read the Docs Deploy Trigger / trigger-rtd-webhook (push) Successful in 2s
CI for csaxs_bec / test (push) Successful in 1m51s
pygobject ships no PyPI wheels, so pip install always compiles it from
source, which requires the OS gobject-introspection dev package at
install time. As a mandatory dependency this broke plain `pip install
csaxs_bec` on CI and on Read the Docs, neither of which has that
package installed. Move it to the `allied_vision` extra so only hosts
that actually run the camera (which already need Aravis + the OS
package present) opt in via `pip install csaxs_bec[allied_vision]`.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-28 13:25:25 +02:00