Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package is incompatible with older versions of Python (<3.9 at least), and doesn't declare such in its metadata #31

Open
Michagogo opened this issue Oct 29, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Michagogo
Copy link

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.

@Michagogo Michagogo added the bug Something isn't working label Oct 29, 2023
@Michagogo Michagogo changed the title Package is incompatible with Python <3.8 Package is incompatible with older versions of Python (<3.9 at least), and doesn't declare such in its metadata Oct 29, 2023
@Michagogo
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant