gstlal.bottle raises ImportError on Python 3.11
The gstlal.bottle
module is raising an ImportError
with Python 3.11 because it is attempting to use inspect.getargspec
which was removed (see bullet point 8 in that section, and gh-28618):
Traceback (most recent call last):
File "/home/conda/feedstock_root/build_artifacts/gstlal_1668802611294/_test_env/lib/gstreamer-1.0/python/lal_spectrumplot.py", line 70, in <module>
from gstlal.psd import HorizonDistance
File "/home/conda/feedstock_root/build_artifacts/gstlal_1668802611294/_test_env/lib/python3.11/site-packages/gstlal/psd.py", line 51, in <module>
from gstlal import datasource
File "/home/conda/feedstock_root/build_artifacts/gstlal_1668802611294/_test_en/lib/python3.11/site-packages/gstlal/datasource.py", line 64, in <module>
from gstlal import bottle
File "/home/conda/feedstock_root/build_artifacts/gstlal_1668802611294/_test_env/lib/python3.11/site-packages/gstlal/bottle.py", line 44, in <module>
from inspect import getargspec
ImportError: cannot import name 'getargspec' from 'inspect' (/home/conda/feedstock_root/build_artifacts/gstlal_1668802611294/_test_env/lib/python3.11/inspect.py)
(gst-plugin-scanner:26721): GStreamer-WARNING **: 20:22:57.009: Failed to load plugin '/home/conda/feedstock_root/build_artifacts/gstlal_1668802611294/_test_env/lib/gstreamer-1.0/libgstximagesrc.so': libXfixes.so.3: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "/home/conda/feedstock_root/build_artifacts/gstlal_1668802611294/_test_env/lib/python3.11/site-packages/gstlal/datasource.py", line 54, in <module>
import bottle
ModuleNotFoundError: No module named 'bottle'
Ref: https://github.com/conda-forge/gstlal-feedstock/pull/27