-
Notifications
You must be signed in to change notification settings - Fork 168
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
not compatible with pandas >= 2.0.3 #315
Comments
Making it pandas 2.0 compatible is the next item on the task list. For now the latest PyPi release has pandas < 2.0 as a requirement |
Thanks! |
Thank you |
@rsheftel is there any update on when the update will be deployed? I'll attempt to fork the repo and make a pull request if there's been no progress yet. |
I forked the project, made this change to allow pandas greater than 2.0: I saw that there were some commits to this project to support pandas 2.1.x so I am trusting that when I install this forked version of the project, it'll work with pandas>=2.0. Well, I installed this forked version to my environment, and reran my Python application, and it worked with no problems. For reference, the pandas compatibility issue came up for me when I tried to build the docs for my application on ReadTheDocs, which would fail, because of this issue. |
@nathanramoscfa - I am a noob. Appreciate any input. |
Starting in command prompt, activate your Python environment. I like to use anaconda, so for me it's like this (replace environment name with the actual name of your environment without the <>):
Navigate to your folder where you store all your Python projects, could be something like this:
Clone my forked version there:
Then navigate to the project's root directory:
Then install as a package to your environment.
It should then install the cloned forked project to your Python environment and now when you import Whenever the
I just simply needed a solution now, couldn't wait for the devs to update the official PyPi package. But when they do I'll revert back to that version instead of my forked version. |
FWIW I'm using a slightly older version (4.3.1) with pandas 2.1 and haven't encountered any issue |
Thanks. This is going to require some investigation as this library uses a lot of the deep internals of pandas to work and much of the pandas holiday functionality is undocumented. |
Hi. I am running pandas_market_calendars 4.3.3 with pandas 2.2.0. Everything runs fine, except, I get the following message when I call
I am assuming this is related to this issue/project. |
v.4.4.0 is published to PyPi and works with Python 3.12 and Pandas 2.2.0 |
I had hard time finding the list of pandas versions that are compatible with the package.
Anyway, the package isn't compatible with pandas 2. This is a problem, as pandas 2 did a few changes here and there, and this breaks the code. Downgrading pandas creates a lot of trouble with big projects. Is there a prospect that in near future the package will be compatible with the newer versions of pandas?
The text was updated successfully, but these errors were encountered: