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

Port python scripts to python3 #378

Open
NoamDev opened this issue Jan 17, 2023 · 4 comments
Open

Port python scripts to python3 #378

NoamDev opened this issue Jan 17, 2023 · 4 comments

Comments

@NoamDev
Copy link
Contributor

NoamDev commented Jan 17, 2023

Right now the automation uses python2 which deprecated. Ubuntu doesn't come with python2 anymore, you have to install python2.7 and then link /bin/python -> /bin/python2.7.
I suggest to port the scripts to python3.

@NoamDev
Copy link
Contributor Author

NoamDev commented Jan 17, 2023

I'm willing to do it even myself if needed, @nigels-com do you think it'd be a good idea?

@nigels-com
Copy link
Owner

Yes, happy to consider a pull request.

@mariob92
Copy link

@NoamDev FYI: I started to rewrite the entire source generation scripts in Python 3 last year in #318. It's still in an eraly state and I hadn't really time for progress since August.

@nigels-com
Copy link
Owner

nigels-com commented Jan 19, 2023

My recollection is that the current scripts will work (or nearly) in Python 3 without too much refactoring.
But providing they produce the same output as currently, don't mind a more extensive refactor.
I do agree it's time (well past time, I guess) to default to Python 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants