From eae867ce78db948a3cc85fa51cad1aca5900235c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9raud=20Le=20Falher?= Date: Mon, 10 Feb 2025 16:23:21 +0100 Subject: [PATCH] Allow numpy>=2,<3 There are only 3 usages of numpy, and they seem innocuous enough ```shell rg -t py "np\." bulk/_bokeh_utils.py 23: lambda x: str(x) if not (type(x) == float and np.isnan(x)) else x bulk/cli/text.py 30: subset = subset.iloc[np.random.permutation(len(subset))] bulk/cli/image.py 72: subset = subset.iloc[np.random.permutation(len(subset))] ``` --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0aa7564..85dcf79 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ name="bulk", version="0.4.0", packages=find_packages(), - install_requires=["radicli>=0.0.8,<0.1.0", "bokeh>=2.4.3,<3.0.0", "pandas>=1.0.0", "wasabi>=0.9.1", "numpy<2", "jupyter-scatter", "scikit-learn"], + install_requires=["radicli>=0.0.8,<0.1.0", "bokeh>=2.4.3,<3.0.0", "pandas>=1.0.0", "wasabi>=0.9.1", "numpy<3", "jupyter-scatter", "scikit-learn"], extras_require={ "dev": ["pytest-playwright==0.3.0"], },