You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started checking how to migrate to the latest numpy version. I'm following the official migration guide.
First step - check what we need to modify:
$ ruff openeo_processes_dask/process_implementations/ --select NPY201
warning: `ruff <path>` is deprecated. Use `ruff check <path>` instead.
openeo_processes_dask/process_implementations/comparison.py:29:8: NPY201 [*] `np.issubsctype` will be removed in NumPy 2.0. Use `numpy.issubdtype` instead.
openeo_processes_dask/process_implementations/comparison.py:59:8: NPY201 [*] `np.issubsctype` will be removed in NumPy 2.0. Use `numpy.issubdtype` instead.
openeo_processes_dask/process_implementations/comparison.py:59:47: NPY201 [*] `np.issubsctype` will be removed in NumPy 2.0. Use `numpy.issubdtype` instead.
openeo_processes_dask/process_implementations/comparison.py:65:10: NPY201 [*] `np.issubsctype` will be removed in NumPy 2.0. Use `numpy.issubdtype` instead.
openeo_processes_dask/process_implementations/comparison.py:65:48: NPY201 [*] `np.issubsctype` will be removed in NumPy 2.0. Use `numpy.issubdtype` instead.
openeo_processes_dask/process_implementations/comparison.py:68:10: NPY201 [*] `np.issubsctype` will be removed in NumPy 2.0. Use `numpy.issubdtype` instead.
openeo_processes_dask/process_implementations/comparison.py:68:51: NPY201 [*] `np.issubsctype` will be removed in NumPy 2.0. Use `numpy.issubdtype` instead.
openeo_processes_dask/process_implementations/comparison.py:70:16: NPY201 [*] `np.issubsctype` will be removed in NumPy 2.0. Use `numpy.issubdtype` instead.
openeo_processes_dask/process_implementations/comparison.py:72:16: NPY201 [*] `np.issubsctype` will be removed in NumPy 2.0. Use `numpy.issubdtype` instead.
openeo_processes_dask/process_implementations/comparison.py:76:10: NPY201 [*] `np.issubsctype` will be removed in NumPy 2.0. Use `numpy.issubdtype` instead.
openeo_processes_dask/process_implementations/comparison.py:76:51: NPY201 [*] `np.issubsctype` will be removed in NumPy 2.0. Use `numpy.issubdtype` instead.
openeo_processes_dask/process_implementations/utils.py:8:16: NPY201 `np.obj2sctype` will be removed without replacement in NumPy 2.0
Found 12 errors.
[*] 11 fixable with the `--fix` option.
The text was updated successfully, but these errors were encountered:
I started checking how to migrate to the latest numpy version. I'm following the official migration guide.
First step - check what we need to modify:
The text was updated successfully, but these errors were encountered: