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

kubevirt-tutorial-presubmit-lab-testing-k8s #109

Closed
ptrnull opened this issue Aug 5, 2019 · 4 comments
Closed

kubevirt-tutorial-presubmit-lab-testing-k8s #109

ptrnull opened this issue Aug 5, 2019 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@ptrnull
Copy link

ptrnull commented Aug 5, 2019

Some of the python code written in the kubevirt-tutorial-presubmit-lab-testing-k8s is still in 2.7, and the following warning is appearing:

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.

That code has to be ported to python 3.

/cc jparrill

@iranzo iranzo added the enhancement New feature or request label Aug 22, 2019
@jparrill
Copy link
Contributor

There is not python code on the repo ://, maybe Ansible is using python2 on the testing stage instead of python3. Could you please share the logs where you've found that?

@ptrnull
Copy link
Author

ptrnull commented Aug 22, 2019

Yes, here they are: https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt-tutorial/108/kubevirt-tutorial-presubmit-lab-testing-k8s-1.13.3/1158295193493966848

Line 31:

hack/tests: line 68: type: ansible: not found
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting kubernetes

@iranzo
Copy link
Contributor

iranzo commented Oct 16, 2019

As discussed with Juanma, PR 111 current status is back to initial (but using python3), so it seems that when ansible connects, it seems to use python2 instead o python3 and hence, it fails

@iranzo
Copy link
Contributor

iranzo commented Oct 17, 2019

PR #111 is merged, closing

@iranzo iranzo closed this as completed Oct 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants