Skip to content

Update SystemVM scripts from python2 to python3#3730

Closed
GabrielBrascher wants to merge 6 commits intoapache:masterfrom
CLDIN:python2to3vr
Closed

Update SystemVM scripts from python2 to python3#3730
GabrielBrascher wants to merge 6 commits intoapache:masterfrom
CLDIN:python2to3vr

Conversation

@GabrielBrascher
Copy link
Member

@GabrielBrascher GabrielBrascher commented Nov 29, 2019

Description

  • Considering that Python 2.7 will not be maintained in 2020 (will be retired on 1st January 2020) next VR template should have Python3 installed to support python3 scripts; additionally, VR's Python2 codebase should be migrated to Python3.

  • This PR covers partially issue Python 3 compatibility #3195.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

@DaanHoogland
Copy link
Contributor

some pylint errors in travis job 1, mostly requiring extra blank lines at places @GabrielBrascher .

@GabrielBrascher GabrielBrascher force-pushed the python2to3vr branch 8 times, most recently from d4d0458 to 199efd7 Compare December 4, 2019 23:37
* HighAvailabilityManager checks to make sure the VMs are running fine.
*/
public interface HighAvailabilityManager extends Manager {

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GabrielBrascher why do I see java changes in this PR?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad @DaanHoogland, I was debugging this and did commit by mistake, will soon be removed soon.

@GabrielBrascher GabrielBrascher changed the title [WIP] update VR's scripts from python2 to python3 [WIP DO NOT MERGE] update VR's scripts from python2 to python3 Dec 5, 2019
@GabrielBrascher GabrielBrascher force-pushed the python2to3vr branch 2 times, most recently from aaa994b to 4356562 Compare December 5, 2019 15:21
@DaanHoogland
Copy link
Contributor

@GabrielBrascher can you give an indication on this. as we are out of time for python2 now?
how much more work needed and should it be reviewed yet!

@GabrielBrascher
Copy link
Member Author

@DaanHoogland it still needs some work and testing, therefore, we can wait a bit for reviewing it.
I will be testing it tomorrow to re-assess the state; the plan is to address the pending points until the end of the week.

@DaanHoogland
Copy link
Contributor

@GabrielBrascher I see pylint errors again in travis job 1, can you have a look?

@GabrielBrascher GabrielBrascher force-pushed the python2to3vr branch 4 times, most recently from 99c2cad to 6259183 Compare September 26, 2020 04:43
@DaanHoogland
Copy link
Contributor

@GabrielBrascher @wido @rhtyd @weizhouapache @PaulAngus python3 work in general has been neglected for a while. Are we still going to push it for 4.15?
@blueorangutan package

@blueorangutan
Copy link

@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@GabrielBrascher
Copy link
Member Author

@DaanHoogland I have been able to run some tests on the Advanced network with security groups, and a few tests on the basic network. But it still lacking some tests on advanced networks with VPC, etc.

With that said, I think that we will need a couple more months and also more review/test.

@blueorangutan
Copy link

Packaging result: ✔centos7 ✖centos8 ✔debian. JID-2222

@DaanHoogland
Copy link
Contributor

@GabrielBrascher that would mean moving to the next milestone!

@GabrielBrascher GabrielBrascher modified the milestones: 4.15.0.0, 4.16.0.0 Oct 20, 2020
@GabrielBrascher
Copy link
Member Author

@DaanHoogland correct! I migrated it to 4.16 so we don't wait longer to release 4.15.

@GabrielBrascher
Copy link
Member Author

@blueorangutan package

@blueorangutan
Copy link

@GabrielBrascher a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan
Copy link

Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2673

@DaanHoogland DaanHoogland mentioned this pull request Feb 24, 2021
12 tasks
@DaanHoogland
Copy link
Contributor

@GabrielBrascher can we close this?

@GabrielBrascher
Copy link
Member Author

@DaanHoogland sure! I will close this one, if necessary we can always re-open it.

@GabrielBrascher
Copy link
Member Author

PR closed in favor of #4727.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants