From bdbcae8ebd878eb307487fda0f7db53b1af678ee Mon Sep 17 00:00:00 2001 From: Niek de Jonge <76995965+niekdejonge@users.noreply.github.com> Date: Mon, 3 Nov 2025 13:21:55 +0100 Subject: [PATCH] Restrict Python version and update numpy requirement Updated Python version requirements and numpy dependency. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 612fa1f0..4c554541 100644 --- a/setup.py +++ b/setup.py @@ -27,10 +27,10 @@ license="Apache Software License 2.0", zip_safe=False, test_suite="tests", - python_requires='>=3.9', + python_requires='>=3.9, <3.13', install_requires=[ "matchms>=0.24.0,<=0.26.4", - "numpy", + "numpy<2.0", # Once fixed the python requied <3.13 can probably also be removed. "torch<2.6", "spec2vec>=0.6.0", "h5py",