8000 Versions >32.0.0 on PyPI have broken substrait support · Issue #646 · apache/datafusion-python · GitHub
[go: up one dir, main page]

Skip to content
Versions >32.0.0 on PyPI have broken substrait support #646
Closed
@ingomueller-net

Description

@ingomueller-net

Describe the bug

The substrait subpackage cannot be imported from any version >32.0.0 on PyPI.

To Reproduce

pip install datafusion==33.0.0 && python -c "from datafusion import substrait as ss"

produces this error

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "$USER/.venv/mlirdev/lib/python3.11/site-packages/datafusion/substrait.py", line 19, in <module>
    from ._internal import substrait
ImportError: cannot import name 'substrait' from 'datafusion._internal' ($USER/.venv/mlirdev/lib/python3.11/site-packages/datafusion/_internal.abi3.so)

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0