Closed Synertry closed 1 year ago
This is the correct end code for the better version management. In the current state though, to ideally pull this through, we have to:
This is sth for a major version change or above, not for a minor version bump, as neat as it would have been though.
Fix for #274 caused by #273
Problem
Version management was improved by last merged pr. The version checker parses the version file animdl/core/version.py online and still expects the hardcoded value.
Solution
This pr redirects the target for the regex to pyproject.toml, to support the version management improvement.
I have added a new constant, to clearly distinguish it from the version file. But I kept the constant VERSION_FILE_PATH. It is not referenced anywhere else in the code anymore, but maybe it is useful in the future(?).