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

pandas and pyarrow upgrade required #85

Open
vijaye12 opened this issue Jul 14, 2024 · 5 comments
Open

pandas and pyarrow upgrade required #85

vijaye12 opened this issue Jul 14, 2024 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@vijaye12
Copy link
Collaborator

While running the TTM colab notebook, we get the following error. Seems some library in public tsfm needs upgrade. After upgrading pandas and pyarrow to the latest version in the notebook, the error is resolved..

cudf-cu12 24.4.1 requires pandas<2.2.2dev0,>=2.0, but you have pandas 2.2.2 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 2.2.2 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.

@ssiegel95
Copy link
Collaborator

@vijaye12 please include the output of pip freeze for a known working state in colab.

@ssiegel95
Copy link
Collaborator

If we want to honor google-colab 1.0.0 requires pandas==2.0.3 and similar constraints it might require a separate release or branch/tagging strategy per platform as other platforms might bring in their own constraints.

@wgifford
Copy link
Collaborator

Documenting here, from internal discussions.

Currently, some operations we do are not compatible with pandas==2.0.3. However, if you pip install as follows, the pyarrow and requests issues are resolved:

!pip install git+https://github.com/IBM-granite/granite-tsfm.git "datasets<2.20"

@wgifford wgifford added the help wanted Extra attention is needed label Jul 31, 2024
@wgifford
Copy link
Collaborator

Tagging this with help wanted. Tests are currently failing for a downgraded version of pandas. There have been numerous changes in the pandas 2.x series of releases -- looking for someone to help identify fixes for these issues. I believe there are issues with options supported by group-by (and the default behavior) as well as how pandas defines frequency / period specifiers for daterange.

@ssiegel95
Copy link
Collaborator

@wgifford I'll see if I can make any headway tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants