From 1d44a2a427dc09c92e535310176c653d9cd6c184 Mon Sep 17 00:00:00 2001 From: Manuel Huber Date: Tue, 18 Jun 2024 11:26:58 +0200 Subject: [PATCH 1/2] Hotfix for incompatible numpy versions in python 3.9 --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f885fae..78009e5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,8 @@ classifiers = [ ] requires-python = ">=3.9" dependencies = [ - "numpy", + "numpy<2.0 ; python_version <= 3.9", + "numpy ; python_version >= 3.10", "pint", "pyg4ometry", "pylegendmeta>=v0.9.0a2", From 9161c6089ccbebeac3a225c8d4f00ed8e76cbc53 Mon Sep 17 00:00:00 2001 From: Manuel Huber Date: Tue, 18 Jun 2024 11:28:38 +0200 Subject: [PATCH 2/2] Update pyproject.toml --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 78009e5..6b91294 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,8 +30,8 @@ classifiers = [ ] requires-python = ">=3.9" dependencies = [ - "numpy<2.0 ; python_version <= 3.9", - "numpy ; python_version >= 3.10", + "numpy<2.0 ; python_version <= '3.9'", + "numpy ; python_version >= '3.10'", "pint", "pyg4ometry", "pylegendmeta>=v0.9.0a2",