bugsnag / bugsnag-python

Official BugSnag error monitoring and error reporting for django, flask, tornado and other python apps.
https://docs.bugsnag.com/platforms/python/
MIT License
84 stars 42 forks source link

Update CI to run Python 3.10 #298

Closed imjoehaines closed 2 years ago

imjoehaines commented 2 years ago

Goal

Python 3.10 released on Monday so we can update CI to run against the release build instead of an alpha

This required a test dependency bump — we were locked to webtest v2.0.23 as it's the last release supporting Python 2.6, but we don't support 2.6 anymore either so can safely bump the version

We also can't run the Django 2.0 tests on Python 3.10 as it is incompatible — it uses 'collections.Iterator' which was deprecated in Python 3.7 and has now been removed in 3.10. The replacement is 'collections.abc.Iterator' which is used from Django 2.1 onwards