Update all the McM source code to drop the support for Python 2.
Is your feature related to a problem?
This application still uses Python 2 as the main reference version for its code base. This version has been deprecated since January 2020 and it is required to update it. Also, another motivator is the ongoing OS migration to AlmaLinux 9, newer distributions don’t provide this old package anymore.
Describe the solution you'd like
Initial plan
Build an environment (using containers) to deploy automatically the application as it currently is with all its dependencies.
Include CI actions to build automatically the environment and execute test cases.
Start coding a test suite to test all the API endpoints offered by the application.
Iterate between 2 and 3 until a high test coverage has been reached.
Update all the McM source code to drop the support for Python 2.
Is your feature related to a problem?
This application still uses Python 2 as the main reference version for its code base. This version has been deprecated since January 2020 and it is required to update it. Also, another motivator is the ongoing OS migration to AlmaLinux 9, newer distributions don’t provide this old package anymore.
Describe the solution you'd like
Initial plan
black
pylint
as a static code analyzer.More details will be included in the comments below.
Linked ticket: PDMVDEV-5