Standard guidelines/checklist to be followed for python version upgrade

Viewed 40

This question is regarding an upgrade of python version of an API/service from 3.6.5 to 3.10:

The official documentation (by versions) state that version 3.10 is stable.

Are there any official/standard guidelines/checklists that we should follow while we upgrade our APIs/services to a newer python version?

What I have considered?

  1. Testing all the execution workflows of your API using unit and functional tests?
  2. Maintaining the existing SLA.
  3. Maintaining the existing output format.
  4. Upgrading dependencies (python packages) required by your API/service according to their compatibility with the target python version.
  5. Removing dead code from the service.

Please suggest if I am missing something or the other things that I should consider. Like what order should I use to perform the above tasks.

0 Answers
Related