From b3e46cefd7ac9b4a515f88e041da85e17902ccca Mon Sep 17 00:00:00 2001 From: Grzegorz Mrukwa Date: Tue, 22 Aug 2023 06:04:02 +0200 Subject: [PATCH] Change build dependency to oldest-supported-numpy --- build.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.py b/build.py index 892ff31..d839a22 100644 --- a/build.py +++ b/build.py @@ -13,7 +13,7 @@ try: import numpy except ImportError: - subprocess.run(["pip", "install", "numpy"]) + subprocess.run(["pip", "install", "oldest-supported-numpy"]) ################################################ diff --git a/pyproject.toml b/pyproject.toml index 7157156..6a91d61 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -74,7 +74,7 @@ fit-clusters = "divik._cli.fit_clusters:main" [build-system] requires = [ "poetry-core>=1.0.0", - "numpy>=0.12.1", + "oldest-supported-numpy", "setuptools", ] build-backend = "poetry.core.masonry.api"