csinva / imodels

Interpretable ML package 🔍 for concise, transparent, and accurate predictive modeling (sklearn-compatible).
https://csinva.io/imodels
MIT License
1.35k stars 120 forks source link

Deprecation warning coming from setuptools #140

Closed mepland closed 1 year ago

mepland commented 1 year ago

While importing imodels in python 3.10.7 I receive the following deprecation warning:

<frozen importlib._bootstrap>:283: DeprecationWarning: the load_module() method is deprecated and slated for removal in Python 3.12; use exec_module() instead

After some searching I believe it is coming from the setuptools package in setup.py, but I am not sure how to fix it.

mepland commented 1 year ago

I am no longer seeing this warning, setuptools may have updated. Let's close this issue for now.