-
Notifications
You must be signed in to change notification settings - Fork 292
#PR2- CP-47869-Update XAPI code to python3. #5668
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
liulinC
merged 24 commits into
xapi-project:feature/py3
from
ashwin9390:private/ashwin/CP-49681
Jun 12, 2024
+62
−62
Merged
Changes from 23 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
256fe98
CP-47869: Updated documentation to include python3 /doc/content/xap…
ashwin9390 f785993
CP-47869: Updated documentation to include python3 /ocaml/doc/wire-pr…
ashwin9390 c3d96a2
CP-47869: Modified code using 2to3 /ocaml/xapi-storage-script/exampl…
ashwin9390 8e4b50d
CP-47869: Modified code using 2to3 ocaml/xapi-storage-script/examples…
ashwin9390 b734b72
CP-47869: Modified code using 2to3 /ocaml/xapi-storage-script/example…
ashwin9390 ddcda0b
CP-47869: Modified code using 2to3 /ocaml/xapi-storage-script/example…
ashwin9390 b4c5764
CP-47869: Modified code using 2to3 /ocaml/xapi-storage/python/example…
ashwin9390 051f3e3
CP-47869: Update code to be compatible with python3 /ocaml/xapi-stora…
ashwin9390 93f5fee
CP-47869: Update code to be compatible with python3 ocaml/xapi-storag…
ashwin9390 88f5fd8
CP-47869: Modified code using 2to3 /ocaml/xapi-storage/python/exampl…
ashwin9390 655ca9a
CP-47869: Changed shebang to python3 /ocaml/xapi-storage/python/xapi/…
ashwin9390 981f142
CP-47869: Changed shebang to python3 /ocaml/xapi-storage/python/xapi/…
ashwin9390 26acd48
CP-47869: Changed shebang to python3 /ocaml/xapi-storage/python/xapi/…
ashwin9390 333bec8
CP-47869: Replaced <> with != to support python3 /scripts/examples/p…
ashwin9390 d73690d
CP-47869: Modified code using 2to3 /ocaml/xapi-storage/python/xapi/__…
ashwin9390 2954895
CP-47869: Changed shebang to python3 ocaml/xapi-storage/python/xapi/s…
ashwin9390 756b9f2
CP-47869: Modified to python3 /ocaml/xapi-storage/python/Makefile
ashwin9390 9929318
CP-47869: Updated to python3 .github/workflows/setup-xapi-environment…
ashwin9390 5d0a5a6
CP-47869: Fixed No attribute 'server' on module 'xmlrpc.client' [mod…
ashwin9390 e061a29
CP-47869: fixed Name 'FilenotFoundError' is not defined [name-error] …
ashwin9390 43d9130
CP-47869: removed smapiv2.py and mini-xenrt.py from expected_to_fail …
ashwin9390 ed86b8f
Revert "CP-47869: Modified code using 2to3 /ocaml/xapi-storage/python…
ashwin9390 789b9e4
CP-47869: Changed shebang to python3 /ocaml/xapi-storage/python/xapi/…
ashwin9390 23ed63d
CP-47869: Fix pylint reimport issue ocaml/xapi-storage/python/exampl…
ashwin9390 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
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
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,5 +1,5 @@ | ||
PREFIX?=/usr | ||
PYTHON?=python2 | ||
PYTHON?=python3 | ||
|
||
.PHONY: build release clean install uninstall | ||
|
||
|
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
4 changes: 2 additions & 2 deletions
4
ocaml/xapi-storage/python/examples/datapath/loop+blkback/plugin.py
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
4 changes: 2 additions & 2 deletions
4
ocaml/xapi-storage/python/examples/volume/org.xen.xapi.storage.simple-file/plugin.py
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 +1 @@ | ||
#!/usr/bin/env python2 | ||
#!/usr/bin/env python3 |
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 +1 @@ | ||
#!/usr/bin/env python2 | ||
#!/usr/bin/env python3 |
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 +1 @@ | ||
#!/usr/bin/env python2 | ||
#!/usr/bin/env python3 |
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 @@ | ||
#!/usr/bin/env python2 | ||
#!/usr/bin/env python3 | ||
|
||
from xapi.storage import log | ||
import xapi | ||
|
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
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.
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.
pylint: Reimport 'urllib.parse'