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 https://github.com/scikit-learn-contrib/hdbscan/issues/457#issuecomment-773671043

PiperOrigin-RevId: 467952859
This commit is contained in:
Michael Reneer 2022-08-16 10:01:38 -07:00 committed by A. Unique TensorFlower
parent 40d73ed240
commit 052f9a3128
3 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@ dm-tree~=0.1.7
dp-accounting~=0.1.2
matplotlib~=3.3.4
mpmath~=1.2.1
numpy~=1.21.4
numpy~=1.23.2
pandas~=1.4.3
scikit-learn~=1.0.2
scipy~=1.7.1

View file

@ -32,8 +32,8 @@ setup(
'dm-tree~=0.1.7',
'dp-accounting~=0.1.2',
'matplotlib~=3.3.4',
'numpy~=1.21.4',
'pandas~=1.1.4',
'numpy~=1.23.2',
'pandas~=1.4.3',
'scikit-learn~=1.0.2',
'scipy~=1.7.1',
'tensorflow-datasets~=4.5.2',

View file

@ -13,4 +13,4 @@
# limitations under the License.
"""TensorFlow Privacy version."""
__version__ = '0.8.4'
__version__ = '0.8.5'