Closed ingomueller-net closed 1 month ago
35 win64 is ok
>>> from datafusion import substrait as ss
>>> dir(ss)
['__builtins__', '__cached__', '__doc__', '__file__', '__getattr__', '__loader__', '__name__', '__package__', '__spec__', 'substrait']
>>> import datafusion
>>> datafusion.__version__
'35.0.0'
I'm also seeing this behavior. The possibilities I can come up with is not being included as a feature in recent builds (which seems unlikely since it sometimes works) and missing dependencies only needed at runtime.
I had one working environment so I started removing packages. When I downgraded libabseil I started getting this result. I don't think that's the culprit but it did end up downgrading pyarrow from 15 to 9. Perhaps there's a minimum pyarrow version (or other dependency) required.
I tried including every package that was installed in conda/pip from my working environment on the failing CI one but that wasn't enough to get things working. I did look at the shared library and found it was looking for a brotli decoder so I even made sure that libbrotlidec was included.
Note I transferred this issue into the datafusion-python repo as I think we should begin triage there
FYI _ tried the v38.0.0. from pypi-test and problem remains.
Rebuilding the code locally and using the wheel created then works fine maturin build --features substrait
Describe the bug
The substrait subpackage cannot be imported from any version >32.0.0 on PyPI.
To Reproduce
produces this error
The same is true for versions 34 and 35 but 32.0.0 works.
Expected behavior
Import works and package is usable.
Additional context
The exact wheel that is download in above command is
datafusion-33.0.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.