-
Notifications
You must be signed in to change notification settings - Fork 385
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
Merged
Merged
Changes from all commits
Commits
Show all changes
70 commits
Select commit
Hold shift + click to select a range
72d5fe1
removing python 2.7 from CI and local testing
ashah-splunk e3a09e7
code changes based on Pylint and 2to3 tool suggestions
ashah-splunk 6429ae4
refractoring
ashah-splunk 4cb0f4a
code changes
ashah-splunk aeae735
reverting f string change
ashah-splunk b0ca411
adding python 3.9 to CI
ashah-splunk 5c90746
Merge branch 'py3-code-migration' into py3-testcases-refractor
ashah-splunk 9329894
removed support for python2 from modularinput
akaila-splunk 308873b
Merge branch 'py3-code-migration' into py3-modularinput-refactor
akaila-splunk 83ecdf4
Update __init__.py
vmalaviya-splunk fe37aeb
Update binding.py
vmalaviya-splunk 3231549
Update client.py
vmalaviya-splunk 66dc351
Update data.py
vmalaviya-splunk a808a03
Update results.py
vmalaviya-splunk 7e63b6a
Delete six.py
vmalaviya-splunk 739a94a
Merge pull request #453 from splunk/py3-modularinput-refactor
ashah-splunk 64de6a4
Merge pull request #454 from splunk/py3-testcases-refractor
ashah-splunk f68d408
Merge pull request #455 from splunk/py2to3-core
ashah-splunk 4735248
Update argument.py
ashah-splunk 464e75d
Merge branch 'py3-code-migration' of https://github.com/splunk/splunk…
ashah-splunk a066e7c
python 3.9
ashah-splunk 5340cfc
Update tox.ini
ashah-splunk 893b0d7
changes
ashah-splunk ec6907a
test changes for six.py removal
ashah-splunk 9ffee31
refractor changes
ashah-splunk 9df86a2
Merge branch 'develop' into py3-code-migration
ashah-splunk 2c207d9
Update binding.py
ashah-splunk 0250984
Update results.py
ashah-splunk b8d5b9c
Update client.py
ashah-splunk ea0b34b
refactoring
ashah-splunk 079df7b
2to3 code refactoring
ashah-splunk 3af370d
test case fix
ashah-splunk 3a26633
sonar changes
ashah-splunk 924a0eb
adding else after raise
ashah-splunk ed117bc
2to3 suggested changes
ashah-splunk 468c92a
Update Makefile
ashah-splunk c772272
refractor changes
akaila-splunk 78d9610
Merge branch 'develop' into py3-code-migration
ashah-splunk ff3f814
Update test.yml
ashah-splunk 5094e0e
Update test.yml
ashah-splunk f1080cf
Merge branch 'develop' into py3-code-migration
akaila-splunk 917cf04
updated binding.py
akaila-splunk 8cc4c21
updated comments examples
akaila-splunk fc9b7c0
Merge branch 'develop' into py3-code-migration
ashah-splunk bf40010
added access to finished flag within metadata
ashah-splunk 72372f9
Update internals.py
ashah-splunk 14cdb92
Update test_search_command.py
ashah-splunk 8c90d1e
refactoring
ashah-splunk fbcdd82
Merge branch 'develop' into py3-code-migration
ashah-splunk 0766ed8
Update client.py
ashah-splunk b003be2
update string formatting
akaila-splunk 3354403
Update test.yml
ashah-splunk d18b735
Copyright year updates
ashah-splunk d091844
Merge branch 'develop' into py3-code-migration
ashah-splunk 2ee5000
matrix update
ashah-splunk 21323ea
moved utility/helper functions to utils.py file
akaila-splunk d8d7da4
updates
ashah-splunk f40d2e8
Merge branch 'py3-code-migration' of https://github.com/splunk/splunk…
ashah-splunk 54a6926
added check for user role
akaila-splunk 0738778
Removed __test__ flags
ashah-splunk a8ede1a
Updates as per the review/feedback comments
ashah-splunk bad9127
Copyright year updates
ashah-splunk 621232a
Remove conversion of iterables into list objects
maszyk99 6082881
Remove pass statement
maszyk99 9053482
Remove unneeded string format usage
maszyk99 1d1cc20
Pass correct args to logger
maszyk99 d805a7a
updated code
ashah-splunk e23fa4d
Update internals.py
ashah-splunk a633d6f
Add comment about json encoder back
maszyk99 85807ef
reverted line separators
ashah-splunk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,7 +19,7 @@ jobs: | |
| - name: Build package | ||
| run: python setup.py sdist | ||
| - name: Publish package to PyPI | ||
| uses: pypa/[email protected].8 | ||
| uses: pypa/[email protected].10 | ||
| with: | ||
| user: __token__ | ||
| password: ${{ secrets.pypi_password }} | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,7 +11,7 @@ jobs: | |
| matrix: | ||
| os: | ||
| - ubuntu-latest | ||
| python: [3.7] | ||
| python: [ 3.7, 3.9] | ||
| splunk-version: | ||
| - "8.1" | ||
| - "8.2" | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| echo "To run a specific test:" | ||
| echo " tox -e py27,py37 [test_file_path]::[TestClassName]::[test_method]" | ||
| echo " tox -e py37,py39 [test_file_path]::[TestClassName]::[test_method]" | ||
| echo "For Example, To run 'test_autologin' testcase from 'test_service.py' file run" | ||
| echo " tox -e py37 -- tests/test_service.py::ServiceTestCase::test_autologin" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.