11import versioneer
22
33import os
4- import sys
54import pkg_resources
65from setuptools import setup , find_packages
76
@@ -19,10 +18,6 @@ def numpy_compat(required):
1918 new_reqs = [r for r in required if "numpy" not in r and "sympy" not in r ]
2019 sympy_lb , sympy_ub = min_max (required , "sympy" )
2120 numpy_lb , numpy_ub = min_max (required , "numpy" )
22- if sys .version_info < (3 , 9 ):
23- # Numpy 2.0 requires python > 3.8
24- new_reqs .extend ([f"sympy>={ sympy_lb } ,<1.12.1" , f"numpy>{ numpy_lb } ,<2.0" ])
25- return new_reqs
2621
2722 # Due to api changes in numpy 2.0, it requires sympy 1.12.1 at the minimum
2823 # Check if sympy is installed and enforce numpy version accordingly.
@@ -108,7 +103,7 @@ def numpy_compat(required):
108103 },
109104 url = 'http://www.devitoproject.org' ,
110105 platforms = ["Linux" , "Mac OS-X" , "Unix" ],
111- python_requires = ">=3.8 " ,
106+ python_requires = ">=3.9 " ,
112107 classifiers = [
113108 'Development Status :: 5 - Production/Stable' ,
114109 'Intended Audience :: Developers' ,
@@ -120,7 +115,6 @@ def numpy_compat(required):
120115 'Operating System :: Unix' ,
121116 'Programming Language :: Python' ,
122117 'Programming Language :: Python :: 3' ,
123- 'Programming Language :: Python :: 3.8' ,
124118 'Programming Language :: Python :: 3.9' ,
125119 'Programming Language :: Python :: 3.10' ,
126120 'Programming Language :: Python :: 3.11' ,
0 commit comments