File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 3939 "unicode" : [
4040 "tangled-up-in-unicode==0.2.0" ,
4141 ],
42+ "numba" : [
43+ "numba>=0.56.0, <1" ,
44+ ]
4245 },
4346 package_data = {
4447 "ydata_profiling" : ["py.typed" ],
Original file line number Diff line number Diff line change 22
33.. include:: ../../README.md
44"""
5-
65# ignore numba warnings
76import warnings # isort:skip # noqa
8- from numba .core .errors import NumbaDeprecationWarning # isort:skip # noqa
9-
10- warnings .simplefilter ("ignore" , category = NumbaDeprecationWarning )
117
128import importlib .util # isort:skip # noqa
139
2319if spec is not None :
2420 import ydata_profiling .model .spark # isort:skip # noqa
2521
22+ spec_numba = importlib .util .find_spec ("numba" )
23+ if spec_numba is not None :
24+ from numba .core .errors import NumbaDeprecationWarning # isort:skip # noqa
25+ warnings .simplefilter ("ignore" , category = NumbaDeprecationWarning )
2626
2727__all__ = [
2828 "pandas_decorator" ,
You can’t perform that action at this time.
0 commit comments