HikLoad
HikLoad copied to clipboard
Package is incompatible with older versions of Python (<3.9 at least), and doesn't declare such in its metadata
Describe the bug The package doesn't run on Python 3.7, throwing a SyntaxError on this line. This syntax was added in Python 3.8.
If the package is intentionally not compatible with older versions of Python, it should declare that so that pip
won't install it in an environment where the code won't run.
To Reproduce
Attempt to run hikload
or hikload-qt
, regardless of arguments, on Python 3.7.
Additional context Nothing particularly relevant.
Looks like it goes beyond just that - having deleted the offending debug lines, the code also seems to use argparse.BooleanOptionalAction
, which was added in Python 3.9. Don't know what other compatibility issues may exist/what the correct minimum version would be.