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 1
1
[build-system ]
2
2
requires = [
3
- " setuptools>=48 .0.0" ,
3
+ " setuptools>=59 .0.0" ,
4
4
" cython" ,
5
5
" numpy>=1.17.0" ,
6
6
" versioneer[toml]>=0.28" ,
@@ -46,7 +46,7 @@ keywords = [
46
46
" differentiation" ,
47
47
]
48
48
dependencies = [
49
- " setuptools>=48 .0.0" ,
49
+ " setuptools>=59 .0.0" ,
50
50
" scipy>=0.14" ,
51
51
" numpy>=1.17.0,<2" ,
52
52
" 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
19
2
20
3
21
4
class MissingGXX (Exception ):
You can’t perform that action at this time.
0 commit comments