File tree Expand file tree Collapse file tree 2 files changed +3
-20
lines changed
Expand file tree Collapse file tree 2 files changed +3
-20
lines changed Original file line number Diff line number Diff line change 11[build-system ]
22requires = [
3- " setuptools>=48 .0.0" ,
3+ " setuptools>=59 .0.0" ,
44 " cython" ,
55 " numpy>=1.17.0" ,
66 " versioneer[toml]>=0.28" ,
@@ -46,7 +46,7 @@ keywords = [
4646 " differentiation" ,
4747]
4848dependencies = [
49- " setuptools>=48 .0.0" ,
49+ " setuptools>=59 .0.0" ,
5050 " scipy>=0.14" ,
5151 " numpy>=1.17.0,<2" ,
5252 " filelock" ,
Original file line number Diff line number Diff line change 1- try :
2- from setuptools .errors import CompileError as BaseCompileError
3- except ImportError :
4- import warnings
5- from distutils .errors import CompileError as BaseCompileError # type: ignore
6- from importlib .metadata import version
7-
8- # These exception classes were made available in setuptools
9- # since v59.0.0 via <https://github.com/pypa/setuptools/pull/2858>
10- # in preparation for distutils deprecation. Complain loudly if they
11- # are not available.
12- setuptools_version = version ("setuptools" )
13- warnings .warn (
14- f"You appear to be using an ancient version of setuptools: "
15- f"v{ setuptools_version } . Please upgrade to at least v59.0.0. "
16- f"Support for this version of setuptools is provisionary and "
17- f"may be removed without warning in the future."
18- )
1+ from setuptools .errors import CompileError as BaseCompileError
192
203
214class MissingGXX (Exception ):
You can’t perform that action at this time.
0 commit comments