mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 03:26:45 +00:00
* Remove use of deprecated imp.load_source The entire `imp` module has been removed from Python 3.12. This patch applies the recommended replacement using `importlib`. * Fix usage of from importlib.metadata.entry_points to work with newer importlib & Python 3.12 * Update registry.py Fix order of imports * Use importlib.util.module_from_spec() instead of deprecated load_module() * auto-fixed import style (isort) * enable py 12 * run coverage for lower and upper bound * fix style error * make import conditional * fix? * fix env * style fix * only use new loader on 3.12 * fix order * fix module loading * reimplement assertDictContainsSubset * remove old testing alias --------- Co-authored-by: Thea Flowers <thea@winterbloom.com> Co-authored-by: Oliver <oliver.henry.walters@gmail.com>