How to assert version inside of Python code
The static VERSION file and link with setup.cfg results in the version information not being available as constant in Python.
Yet a lot of systems that include automatic downgrade / upgrade mechanisms such as the prominent https://pypi.org/project/alembic/ database migration tool rely on this version information being available to make informed decisions.
How can the version information be exposed to Python easily using the current VERSION file setup?