-
Notifications
You must be signed in to change notification settings - Fork 3
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
[Bug]: action='extend' in v0.2.0 breaks compatabilty with Python3 < 3.8 #18
Comments
Hi, while I wouldn't call this a "bug" I do understand that it is inconvenient. Since earlier versions than Python 3.8 are end-of-life and Python 3.8 should be available in the RHEL8 repos right now, I feel a bit reluctant to change the current code. However, shouldn't be to much of a change, so we could have version without @log1-c Do you have code that is working for you? |
Thanks for the quick reply. I have switched back to a earlier version, as we currently don't use the exclude parameter. |
I'll update the README accordingly This should work on older versions, I tested it on Python 3.6: https://github.com/NETWAYS/check_vmware_nsxt/tree/backport |
README is updated on both branches. @log1-c can you confirm the code is working? |
yes, script from https://github.com/NETWAYS/check_vmware_nsxt/tree/backport works. |
Please try to fill out as much of the information below as you can. Thank you!
Which version contains the bug?
0.2.0
Describe the bug
v0.2.0 introduced the exclude parameter which is defined with
action='extend'
in the code.This renders the script unusable on systems having a Python3 version lower than 3.8, like RHEL8 for example.
How to recreate the bug?
Download and execute v0.2.0 of the script on a system with Python3 lower than 3.8
The text was updated successfully, but these errors were encountered: