diff --git a/math/py-CyLP/files/patch-pyproject.toml b/math/py-CyLP/files/patch-pyproject.toml new file mode 100644 index 000000000000..22abefe510ff --- /dev/null +++ b/math/py-CyLP/files/patch-pyproject.toml @@ -0,0 +1,15 @@ +--- pyproject.toml.orig 2023-11-01 20:21:56 UTC ++++ pyproject.toml +@@ -2,10 +2,10 @@ + requires = [ + 'setuptools', + 'wheel', +- 'Cython == 3.0.4', ++ 'Cython >= 3.0.4', + # https://numpy.org/devdocs/user/depending_on_numpy.html#build-time-dependency + # from https://github.com/scipy/oldest-supported-numpy/pull/78#issuecomment-1747936818: +- "oldest-supported-numpy; platform_python_implementation != 'PyPy'", ++ "numpy; platform_python_implementation != 'PyPy'", + "numpy; platform_python_implementation=='PyPy'" + ] + build-backend = "setuptools.build_meta"