-
Notifications
You must be signed in to change notification settings - Fork 378
Removed Support for Python2 #456
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
Conversation
ashah-splunk
commented
May 17, 2022
- removed code specific for python version2
- removed six.py dependency which bridged support for python versions 2 and 3
- refactored code as per pylint suggestions
- used python3 features to improve both efficiency and performance
- removed future imports required to support py2 and py3 versions
- updated test cases to use py3 code
- updated CI test configuration to execute test cases in python 3.7 and 3.9 versions
- updated code to remove code deprecation warnings
There are some test failures in latest and 8.1 runs, could we address them? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In addition to the places noted in the other comments, there are some lingering references to Python 2.7 and 2.6 which should likely be cleaned up as well in these files:
splunk-sdk-python/tests/README.md
splunk-sdk-python/scripts/test_specific.sh
splunk-sdk-python/README.md
Co-authored-by: Iuri Chaer <[email protected]>
- based on feedback updated code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revisions look good.
I'm approving anticipating that the two pending comments will be resolved. They are not about particularly concerning issues, but they are trivial to implement and shouldn't be postponed. |
- line separators were mistakenly updated, hence reverting it back.