IDAES / idaes-pse

The IDAES Process Systems Engineering Framework
https://idaes-pse.readthedocs.io/
Other
218 stars 235 forks source link

DeprecationWarning: path is deprecated #1542

Open lbianchi-lbl opened 11 hours ago

lbianchi-lbl commented 11 hours ago

image

I believe this issue would be resolved by replacing importlib.resources.path with importlib.resources.files, which is available for all Python versions we support (3.9+). I don't think it's a drop-in replacement so it would require some changes, but hopefully nothing too difficult.