pcdshub / pcdsdaq

Utilities for using the DAQ's pydaq, pycdb, and pyami libraries in conjunction with Bluesky
https://pcdshub.github.io/pcdsdaq
Other
0 stars 9 forks source link

Make psdaq an optional dependency for testing #118

Closed ZLLentz closed 1 year ago

ZLLentz commented 1 year ago

All of the pip builds fail because there is no pypi distribution for psdaq, nor will there be. This can be an optional dependency, like the lcls1 daq libraries are an optional dependency. Using the related classes should give errors if the dependency is missing but it shouldn't block imports. Tests can be skipped when the necessary library is missing.

Originally posted by @ZLLentz in https://github.com/pcdshub/pcdsdaq/issues/115#issuecomment-1462694398