-
Notifications
You must be signed in to change notification settings - Fork 204
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
remove support for Python 2.7 and 3.5 #4229
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
use log.deprecated in py2vs3 module
…s by importing from easybuild.base.wrapper in py2vs3/*.py
… imports in 3rd party code
easybuild/tools/asyncprocess.py
Outdated
@@ -152,6 +152,24 @@ def _recv(self, which, maxsize): | |||
message = "Other end disconnected!" | |||
|
|||
|
|||
def subprocess_popen_text(cmd, **kwargs): |
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.
I think easybuild.tools.run
is a better place for this, see branfosj#8
return metaclass(base_class_name, bases, {}) | ||
|
||
|
||
def mk_wrapper_baseclass(metaclass): |
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.
@branfosj If we copy these functions here, we should also import them from easybuild.base.wrapper
in py2vs3/py3.py
, to avoid having two copies of them?
see branfosj#8
relocate subprocess_popen_text + subprocess_terminate to easybuild.tools.run, import create_base_metaclass + mk_wrapper_baseclass from easybuild.base.wrapper in py2vs3/*.py
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.
lgtm
A big step towards EasyBuild 5.0, thanks for the effort @branfosj!
This removes support for running EasyBuild on Python 2.x and 3.5.