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

[BUG] pip installing spark expectations does install required dependencies #32

Closed
holdenk opened this issue Sep 13, 2023 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@holdenk
Copy link
Contributor

holdenk commented Sep 13, 2023

Describe the bug
pip installing spark expectations does install required dependencies

To Reproduce
Create a fresh virtualenv or anaconda env
pip install spark-expectations
try and import it from spark_expectations.core.expectations import SparkExpectations

Get

>>> from spark_expectations.core.expectations import SparkExpectations
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/holden/miniconda3/lib/python3.10/site-packages/spark_expectations/core/__init__.py", line 3, in <module>
    from delta import configure_spark_with_delta_pip
ImportError: cannot import name 'configure_spark_with_delta_pip' from 'delta' (/home/holden/miniconda3/lib/python3.10/site-packages/delta/__init__.py)
>>> 

Expected behavior
A clear and concise description of what you expected to happen.

Spark expectations loads

@holdenk holdenk added the bug Something isn't working label Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants