rollbar / pyrollbar

Error tracking and logging from Python to Rollbar
https://docs.rollbar.com/docs/python/
MIT License
213 stars 133 forks source link

Update the base Ubuntu for CI to 20.04, and remove py 2.7, 3.4 #427

Closed danielmorell closed 1 year ago

danielmorell commented 1 year ago

Description of the change

Ubuntu 18.04 is now deprecated as a GitHub Action runner. This updates the distribution the job runs on to ubuntu-latest.

Type of change

Related issues

None

Checklists

Development

Code review

waltjones commented 1 year ago

If I remember correctly, python dependencies tend to be closely coupled with Ubuntu version, and having older pythons in the matrix is easier with older ubuntu. I might try using 20.04 instead of latest, and even then the oldest python versions may still have trouble.

danielmorell commented 1 year ago

The ubuntu-20.04 runner image supports Python 3.6 to 3.11 and Python 2.7 until May 15th, 2023. See https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2004-Readme.md#python. We may need to drop support for legacy Python versions.