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

Update pandas numpy #1005

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

samuelrohr
Copy link

@samuelrohr samuelrohr commented Mar 28, 2023

Added support to pandas <=1.5.4 and numpy <= 1.24.2

- Changed np.object to object
- fixed timestamp.astype('datetime[ms]') to work with pandas <=1.5.3 and numpy <=1.24.2
- update setup.py to be according with setuptools new rules (uses extra_require instead of tests_require)
@samuelrohr samuelrohr marked this pull request as ready for review March 29, 2023 14:08
@LuisGaguiar
Copy link

Nice contribution! These changes look good for me. Would be very nice if we can get these prioritized for review and released as soon as possible. These dependencies limitation on core libs like pandas and numpy has been blocking a lot of my developments.

@dunckerr
Copy link
Contributor

@samuelrohr thanks for the PR. We will get to pandas 1.5.x eventually, but we need to work thru the versions and test everything before we move to the next set of pins. FYI Im planning on releasing mongo 5.x pandas 1.1.x shortly.
You're welcome to fork the repo, or run off a separate branch - and we'd be interested to hear how you get on.

@tomnewg
Copy link

tomnewg commented Jul 10, 2023

Is there any update on this? A lot of my libraries require at least pandas 1.3.x now. Many thanks

@samuelrohr
Copy link
Author

Is there any update on this? A lot of my libraries require at least pandas 1.3.x now. Many thanks

@tomnewg i forked the projected and had been using this changed version. I will update the MR may be they accept it.

@tomnewg
Copy link

tomnewg commented Jul 11, 2023

@samuelrohr wow perfect it works great! Thank you so much. You saved my day.
Would be great to merge this to the master

@tomnewg
Copy link

tomnewg commented Jul 11, 2023

using: .list_versions()
I get the error:
AttributeError: 'backports.zoneinfo.ZoneInfo' object has no attribute 'zone'

@samuelrohr
Copy link
Author

using: .list_versions() I get the error: AttributeError: 'backports.zoneinfo.ZoneInfo' object has no attribute 'zone'

I just push some other fixes that we have made. Could you try again?
We renamed the project to avoid conflict but on update-pandas-numpy branch it should be with the original name.

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 this pull request may close these issues.

None yet

4 participants