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

Fix and support python2.x or python3.9 on yarn. #652

Closed
wants to merge 3 commits into from

Conversation

rryqszq4
Copy link

Fix no module named 'main.util' that not found file util on yarn.

Fix should be classpath and not class_path.

Support python2.x and python3.9 such as change threading.isAlive to is_alive(https://github.com/python/cpython/blob/87109f4d85c93a870ee8aa0d2b394547d4636b17/Doc/whatsnew/3.9.rst#id717), or change subprocess.call to subprocess.Popen because no args 'env' at method call in python2.x .

Quan Zhao added 2 commits June 23, 2021 18:18
Fix should be classpath and not class_path.
Support python2.x and python3.9 such as change threading.isAlive to is_alive or subprocess.call to subprocess.Popen.
Copy link
Member

@szha szha left a comment

Choose a reason for hiding this comment

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

I wonder why there's still a need to support py2 since it has reached end of life.

@rryqszq4
Copy link
Author

rryqszq4 commented Jun 24, 2021

I wonder why there's still a need to support py2 since it has reached end of life.

@szha Because our cluster env was python2, i try to run on yarn but failed, so i fix some problem.
Just found this issues #565 but i know it's important for me, so i need fix it.

@hcho3 hcho3 closed this Aug 8, 2023
@hcho3
Copy link
Contributor

hcho3 commented Aug 8, 2023

Closing, as the pull request has been stable. Feel free to re-submit if the change is still necessary. Thanks!

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

Successfully merging this pull request may close these issues.

3 participants