BasicSR
BasicSR copied to clipboard
Fix Python 3.13 compatibility
Fixes Python 3.13 compatibility. Closes https://github.com/XPixelGroup/BasicSR/issues/725
exec doesn't update locals with Python 3.13.
This PR parses the version file as a text instead of running exec.
BasicSR cannot be installed with Python 3.13 without this PR.