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

Incompatible versions of sqlalchemy between kedro[pandas]~=0.18 and kedro-viz~=6.0 #2474

Closed
tsanikgr opened this issue Mar 28, 2023 · 5 comments · Fixed by kedro-org/kedro-viz#1300

Comments

@tsanikgr
Copy link
Contributor

These 2 lines should probably be updated, as pip throws the following error when trying to install the latest versions of kedro[pandas] and kedro-viz:

The conflict is caused by:
    kedro[pandas] 0.18.7 depends on SQLAlchemy~=1.2; extra == "pandas"
    kedro-viz 6.0.0 depends on sqlalchemy~=2.0
@astrojuanlu
Copy link
Member

Hello @tsanikgr, thanks for letting us know. I can confirm on Python 3.10:

> pip install "kedro[pandas]~=0.18" "kedro-viz~=6.0.0"
...
ERROR: Cannot install kedro-viz==6.0.0 and kedro[pandas]==0.18.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    kedro[pandas] 0.18.0 depends on SQLAlchemy~=1.2; extra == "pandas"
    kedro-viz 6.0.0 depends on sqlalchemy~=2.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

@noklam
Copy link
Contributor

noklam commented Mar 28, 2023

Thanks for reporting that @tsanikgr, I am checking with viz why it is bumped to 2.0

@astrojuanlu
Copy link
Member

To note, I also tried pip install "kedro" "kedro-datasets[pandas]>=1.0" "kedro-viz~=6.0.0" (had to add >1.0 to avoid backtracking to really old versions) and getting essentially the same error:

> pip install "kedro" "kedro-datasets[pandas]>=1.0" "kedro-viz~=6.0.0"
...
ERROR: Cannot install kedro-datasets[pandas]==1.0.0 and kedro-viz==6.0.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    kedro-datasets[pandas] 1.0.0 depends on SQLAlchemy~=1.2; extra == "pandas"
    kedro-viz 6.0.0 depends on sqlalchemy~=2.0

@noklam
Copy link
Contributor

noklam commented Mar 29, 2023

Reopen the issue. The fix was merged but we haven't released a new version, will keep it open until then.

@tynandebold
Copy link
Member

The new version is out now, so I'll close this again.

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

Successfully merging a pull request may close this issue.

4 participants