InvenTree/.github
Matthias Mair a205fd5967
Fixes to make compatible with Python 3.12 (#7112)
* 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>
2024-04-29 20:59:24 +10:00
..
ISSUE_TEMPLATE Add current deployment methods to bug template (#6893) 2024-03-30 08:48:17 +11:00
actions Pin hashes in requirements (#7081) 2024-04-23 17:15:52 +10:00
scripts Fix unit tests (#6932) 2024-04-03 06:50:13 +00:00
workflows Fixes to make compatible with Python 3.12 (#7112) 2024-04-29 20:59:24 +10:00
CODEOWNERS Code structure refactor (#5582) 2024-04-03 12:16:59 +11:00
FUNDING.yml Add polar to funding page (#6639) 2024-03-05 11:39:47 +11:00
dependabot.yml Improve reproduciblity of image (#7120) 2024-04-29 11:04:45 +10:00
release.yml New tags (#4971) 2023-06-05 19:41:42 +10:00
requirements.in Improve reproduciblity of image (#7120) 2024-04-29 11:04:45 +10:00
requirements.txt Improve reproduciblity of image (#7120) 2024-04-29 11:04:45 +10:00