mlcommons / GaNDLF

A generalizable application framework for segmentation, regression, and classification using PyTorch
https://gandlf.org
Apache License 2.0
150 stars 78 forks source link

Deprecated pkg resources #846

Closed VukW closed 3 months ago

VukW commented 3 months ago

pkg_resources is deprecated. Using it breaks gandlf now: while extracting gandlf version, it builds a whole tree of dependencies and fails as torchio requires typer[all], while modern typer==0.12.0+ doesn't have all option anymore (compare to 0.11.1, "Installation" section). Though the issue itself is very minor, pkg_resources treat it as critical and fails. The best solution is just to replace pkg_resources with more modern tools

Proposed Changes

Checklist

github-actions[bot] commented 3 months ago

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅