From 0e8161ca1feff6f6a068cdf1f9b054894cf8cdbb Mon Sep 17 00:00:00 2001 From: q-posev Date: Mon, 22 Aug 2022 10:13:01 +0200 Subject: [PATCH] Use the oldest-supported-numpy meta package --- python/pyproject.toml | 2 +- python/setup.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/python/pyproject.toml b/python/pyproject.toml index c66b022..3b9ceaf 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -2,6 +2,6 @@ requires = [ "setuptools>=42", "wheel", - "numpy>=1.17.3" + "oldest-supported-numpy" ] build-backend = "setuptools.build_meta" diff --git a/python/setup.py b/python/setup.py index 13ef779..26855ab 100644 --- a/python/setup.py +++ b/python/setup.py @@ -71,5 +71,7 @@ setup(name = MODULE_NAME, "Operating System :: MacOS" ], python_requires = ">=3.0", - install_requires = ["numpy>=1.17.3"] + # The ABI incompatibility of numpy is a pain, for now set the + # min numpy version such that we have wheels for CPython 3.5 & 3.6 + install_requires = ["numpy>=1.13.3"] )