Skip to content

pandas==1.4.0rc0 FilePathOrBuffer deprecation breaks modin import #3947

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

Closed
jeffreykennethli opened this issue Jan 12, 2022 · 2 comments
Closed
Labels
bug 🦗 Something isn't working dependencies 🔗 Issues related to dependencies P0 Highest priority tasks requiring immediate fix pandas 🤔 Weird Behaviors of Pandas

Comments

@jeffreykennethli
Copy link

System information

  • OS Platform and Distribution: Mac 12.0.1
  • Modin version (modin.__version__): 0.12.0 - pandas==1.4.0rc0 pre-release
  • Python version: 3.8.8
  • Code we can use to reproduce:
python -m pip install --upgrade --pre pandas==1.4.0rc0
ipython

# (in ipython)
import modin.pandas as pd

# throws error:
# cannot import name 'FilePathOrBuffer' from 'pandas._typing' (/Users/jeffreyli/opt/anaconda3/lib/python3.8/site-packages/pandas/_typing.py)

Describe the problem

The Class FilePathOrBuffer no longer exists in pandas typing, after this PR pandas-dev/pandas#43951.

@jeffreykennethli jeffreykennethli added bug 🦗 Something isn't working pandas 🤔 Weird Behaviors of Pandas dependencies 🔗 Issues related to dependencies P0 Highest priority tasks requiring immediate fix labels Jan 12, 2022
@jeffreykennethli
Copy link
Author

jeffreykennethli commented Jan 13, 2022

This is also caught by our CI in a workflow run that tests the pre-release candidate: https://github.com/modin-project/modin/actions/runs/1690328476, in PR #3914.

@anmyachev
Copy link
Collaborator

We have already updated pandas dependency to 1.4.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🦗 Something isn't working dependencies 🔗 Issues related to dependencies P0 Highest priority tasks requiring immediate fix pandas 🤔 Weird Behaviors of Pandas
Projects
None yet
Development

No branches or pull requests

2 participants