Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble importing dask_deltatable #81

Closed
scharlottej13 opened this issue Oct 2, 2024 · 4 comments
Closed

Trouble importing dask_deltatable #81

scharlottej13 opened this issue Oct 2, 2024 · 4 comments

Comments

@scharlottej13
Copy link

Hi! I'm having some trouble importing dask-deltatable. When I import I get the following error for versions 0.3.1 and 0.3.0 (didn't try other versions after that).

import dask_deltatable as ddt

ImportError: cannot import name 'MAX_SUPPORTED_WRITER_VERSION' from 'deltalake.writer' (/Users/sarahj/mambaforge/envs/test/lib/python3.11/site-packages/deltalake/writer.py)

It looks like this is fixed for the latest commit (if I instead do a pip install for the latest commit, I do not get this error).

@jacobtomlinson
Copy link
Collaborator

Yeah it looks like this was fixed in #76 but hasn't been included in a release yet. Given that CI is passing on main I'm going to get a release out now.

@jacobtomlinson
Copy link
Collaborator

I've released the current state of main as 0.3.2 but I'm not sure this fixes the issue as the builds are failing.

We now see ImportError: cannot import name 'PYARROW_MAJOR_VERSION' from 'deltalake.writer'. It looks like more recent versions of deltalake have renamed some constants. I'll get a PR open to fix.

@jacobtomlinson
Copy link
Collaborator

This should be resolved now with the v0.3.3 release.

@scharlottej13
Copy link
Author

So speedy! Yup that works for me. Thanks @jacobtomlinson!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants