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 the version of numpy to 1.23.2. #304

Merged
merged 0 commits into from
Aug 16, 2022
Merged

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Aug 15, 2022

Update the version of numpy to 1.23.2.

  • Updated the numpy version.
  • Synced the pandas version.

In Python 3.10, if you invoke pip install pandas~=1.1.4 numpy~=1.21.4 and then import pandas you get the following error:

>>> import pandas
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/tmp/venv/lib/python3.10/site-packages/pandas/__init__.py", line 30, in <module>
    from pandas._libs import hashtable as _hashtable, lib as _lib, tslib as _tslib
  File "/tmp/venv/lib/python3.10/site-packages/pandas/_libs/__init__.py", line 13, in <module>
    from pandas._libs.interval import Interval
  File "pandas/_libs/interval.pyx", line 1, in init pandas._libs.interval
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

I believe that this is the cause of the issue scikit-learn-contrib/hdbscan#457 (comment)

@copybara-service copybara-service bot force-pushed the cl/467785781 branch 3 times, most recently from 04c6413 to 9db7dfb Compare August 16, 2022 16:48
@copybara-service copybara-service bot merged commit 052f9a3 into master Aug 16, 2022
@copybara-service copybara-service bot deleted the cl/467785781 branch August 16, 2022 17:02
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.

0 participants