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

Decide whether Python 2 support should be abandoned #10

Closed
marijanbeg opened this issue Jul 27, 2016 · 2 comments
Closed

Decide whether Python 2 support should be abandoned #10

marijanbeg opened this issue Jul 27, 2016 · 2 comments
Labels

Comments

@marijanbeg
Copy link
Member

marijanbeg commented Jul 27, 2016

Because of the inconsistencies between Python 2 and Python 3, the code gets more complicated and also testing becomes more difficult. This is mainly a problem with continuous integration and testing in multiple different Docker containers.

@marijanbeg
Copy link
Member Author

marijanbeg commented Jul 27, 2016

After a discussion, it was decided to abandon Python 2 support because this is going to save a lot of time during development. On the other hand, if somebody requires Python 2 version of the code, it should not be too difficult to do relevant changes of the code in the end.

@fangohr
Copy link
Member

fangohr commented Jul 27, 2016

Having a code based purely on Python 3 will make the code (somewhat) easier to read, thus allowing more people to contribute. Experience has shown that it is important to keep codes accessible to the user base to attract future developers [1].
Furthermore, our use base splits into two groups: those that haven't used Python at all yet (as OOMMF doesn't need Python), and they might as well start with Python 3. Those that happen to know Python from other projects or their own initiative are generally so advanced that they can switch from Python 2 to 3, if they haven't done so already, or manage parallel environments.

In the long run, Python 3 is the tool to use; Python 2 will not be supported indefinitely - neither by the Python Software Foundation nor by third party libraries we depend on.

[1] http://doi.acm.org/10.1145/2897676.2897677

@marijanbeg marijanbeg changed the title Decide whether Python2 support should be abandoned Decide whether Python 2 support should be abandoned Jul 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants