Fix unit tests on Python 3.10 and update listed compatibility.

Review Request #11843 — Created Oct. 5, 2021 and submitted

Information

kgb
master

Reviewers

kgb

This adds support for the newly-released Python 3.10. kgb itself had no
problems with this release that we could tell, but unit tests did fail
due to nose not being compatible with 3.10 (it uses
collections.Callable, which no longer exists).

We now use nose3 on Python 3. This is a drop-in replacement for nose
with modern Python 3 fixes.

Along with this, we're dropping Python 2.5, 2.6, 3.4, and 3.5 support.
We haven't been able to really test these in a while. Since technically
this is a breaking change, and we've moved to semantic versioning, we're
bumping kgb up to version 7.

Unit tests pass on all supported versions of Python (2.7 and 3.6-3.10).

Summary ID
Fix unit tests on Python 3.10 and update listed compatibility.
This adds support for the newly-released Python 3.10. kgb itself had no problems with this release that we could tell, but unit tests did fail due to `nose` not being compatible with 3.10 (it uses `collections.Callable`, which no longer exists). We now use `nose3` on Python 3. This is a drop-in replacement for `nose` with modern Python 3 fixes. Along with this, we're dropping Python 2.5, 2.6, 3.4, and 3.5 support. We haven't been able to really test these in a while. Since technically this is a breaking change, and we've moved to semantic versioning, we're bumping kgb up to version 7.
06e9a024e605498175b67083ab134be905a8bd97
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to master (4fa81f1)