D27331: Remove the support for python 2

Alexander Semke <[email protected]>
Newsgroups gmane.comp.kde.education
Message-ID <[email protected]>
asemke created this revision.
asemke added reviewers: sirgienko, filipesaraiva.
Herald added a project: KDE Edu.
Herald added a subscriber: kde-edu.
asemke requested review of this revision.

REVISION SUMMARY
  The python community is sunsetting the support of python2 (https://python3statement.org/) and we should follow these activities to drop python2 in 2020. This patch removes python2 from Cantor. Old worksheets created with python2 will be moved to using python3 on load - there is a info message box to the user to notify him/her about this.

REPOSITORY
  R55 Cantor

REVISION DETAIL
  https://phabricator.kde.org/D27331

AFFECTED FILES
  src/backends/CMakeLists.txt
  src/backends/python2/CMakeLists.txt
  src/backends/python2/cantor_python2.knsrc
  src/backends/python2/python2backend.cpp
  src/backends/python2/python2backend.h
  src/backends/python2/python2backend.json
  src/backends/python2/python2backend.kcfg
  src/backends/python2/python2session.cpp
  src/backends/python2/python2session.h
  src/backends/python2/settings.kcfgc
  src/backends/python2/testpython2.cpp
  src/backends/python2/testpython2.h
  src/backends/python3/python3backend.cpp
  src/backends/python3/python3backend.json
  src/worksheet.cpp

To: asemke, sirgienko, filipesaraiva
Cc: kde-edu, narvaez, apol
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.