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

Time Series: Incompatibility between Google Colab and pandas 2 #478

Closed
wierdvanderhaar opened this issue Jun 18, 2024 · 3 comments · Fixed by #496
Closed

Time Series: Incompatibility between Google Colab and pandas 2 #478

wierdvanderhaar opened this issue Jun 18, 2024 · 3 comments · Fixed by #496
Labels
bug Something isn't working

Comments

@wierdvanderhaar
Copy link
Contributor

When running timeseries-queries-and-visualization.ipynb in Colab you get the following error when installing the needed pip packages.

!pip install --upgrade kaleido 'pandas>=2' plotly sqlalchemy-cratedb
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
cudf-cu12 24.4.1 requires pandas<2.2.2dev0,>=2.0, but you have pandas 2.2.2 which is incompatible.
google-colab 1.0.0 requires pandas==2.0.3, but you have pandas 2.2.2 which is incompatible.

This can be fixed by running:

!pip install --upgrade kaleido 'pandas==2.0.3' plotly sqlalchemy-cratedb
@wierdvanderhaar wierdvanderhaar changed the title pandas 2.2.2 incompatible with google-colab 1.0.0 timeseries-queries-and-visualization.ipynb - pandas 2.2.2 incompatible with google-colab 1.0.0 Jun 18, 2024
@amotl
Copy link
Member

amotl commented Jun 18, 2024

Thanks. Will be fixed with fa5edbd, on behalf of GH-482.

@amotl amotl changed the title timeseries-queries-and-visualization.ipynb - pandas 2.2.2 incompatible with google-colab 1.0.0 Time Series: Incompatibility between Google Colab and pandas 2 Jun 18, 2024
@amotl
Copy link
Member

amotl commented Jun 18, 2024

Google Colab's changelog reports that on 2024-05-13, the cudf package has been included.

Python package inclusions

  • cudf 24.4.1

This apparently wants to pull in pandas=>2.0, [...]

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
cudf-cu12 24.4.1 requires pandas<2.2.2dev0,>=2.0, but you have pandas 1.5.3 which is incompatible.
cudf-cu12 24.4.1 requires pyarrow<15.0.0a0,>=14.0.1, but you have pyarrow 16.1.0 which is incompatible.
google-colab 1.0.0 requires pandas==2.0.3, but you have pandas 1.5.3 which is incompatible.
google-colab 1.0.0 requires requests==2.31.0, but you have requests 2.32.3 which is incompatible.
ibis-framework 8.0.0 requires pyarrow<16,>=2, but you have pyarrow 16.1.0 which is incompatible.

[...] but our "Time Series" stack is not up-to-date to be able to use it, because the update needs to be unblocked.

As outlined on both the ticket and the PR, any support is appreciated.

@amotl
Copy link
Member

amotl commented Jun 18, 2024

The situation will be improved with:

Upgrading two other notebooks has been postponed:

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

Successfully merging a pull request may close this issue.

2 participants