scikit-mdr icon indicating copy to clipboard operation
scikit-mdr copied to clipboard

np.int is throwing a deprecation error

Open benstear opened this issue 2 years ago • 1 comments

https://github.com/EpistasisLab/scikit-mdr/blob/master/mdr/mdr.py#L126

is throwing

DeprecationWarning: np.int is a deprecated alias for the builtin int. To silence this warning, use int by itself. Doing this will not modify any behavior and is safe. When replacing np.int, you may wish to use e.g. np.int64 or np.int32 to specify the precision. If you wish to review your current use, check the release note link for additional information.

Numpy version: 1.24.2 Python version 3.9.1

Deprecation details can be found here

benstear avatar Mar 30 '23 01:03 benstear

Confirmed over on https://github.com/conda-forge/scikit-mdr-feedstock/pull/2.

It's worth a gander at NEP29, or the superset, SPEC0, to get an idea of upstream support windows.

bollwyvl avatar Jun 10 '23 13:06 bollwyvl