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
Member

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

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>
holler added 1 commit 2026-07-28 13:25:50 +02:00
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
89b185eae2
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>
holler merged commit 89b185eae2 into main 2026-07-28 13:30:46 +02:00
holler deleted branch fix/pygobject-optional-dependency 2026-07-28 13:30:46 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bec/csaxs_bec#285