Description
Original report (archived issue) by Russell Anderson (Bitbucket: rpanderson, GitHub: rpanderson).
At present, check_version
requires the version of a dependency be equal to or greater than a particular version (at_least
), and less than a higher specified version (less_than
). This proposal would permit check_version
to only require the version of a dependency be at_least
or later, with no upper bound on the required version.
Reasoning: Won't have to keep updating check_version
calls in line with packages that change minor version number regularly. I think the check_version
is more of a hindrance than a help here, e.g. if a user updates packages in their environment and the new version exceeds less_than
specified in a check_version
call of a labscript module's _init_.py, then that module won't start. This may elicit the user to post an issue (diligence), downgrade the dependency (apathy), or give up (despair). If the issue is reported, checking the higher version of the dependency may not be exhaustive as we don't have unit tests, etc. Instead, this proposal permits (but does not demand) a "works with dependency vX or later until we know better" approach. If there is a real incompatibility with a newer version of a dependency, this will likely be detected in real-world use. The issue can then be resolved expeditiously if reported.