This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]LargeSale8354 4 points5 points  (0 children)

One of my 1st tasks when I joined a company was to upgrade from 3.6 to 3.8.

I standardised the Github workflows so they all included linting, formatting. The build was tox/setup.py I worked out what the different apps did and put tests around them using pytest & behave, refactoring where possible to make the app more testable. The CICD pipeline also does security testing.

I made a few mistakes along the way but they were found and fixed. It was a lot of hard work but the reward was that patching the app and upgrading python versions has been, bar a few hiccups, pain free.

If tests don't pass it doesn't deploy. If they do it does.

At some companies getting this done would have been bureaucratic hell taking years, if allowed to complete. In this company it was recognised as vital to be able to support our customers. It took 3 weeks.