darrenburns / pytest-clarity

A plugin to improve the output of pytest with colourful unified diffs
MIT License
433 stars 24 forks source link

Python 3.8 incompatibility: DeprecationWarning: collections.abc #11

Closed jayvdb closed 3 years ago

jayvdb commented 4 years ago

Python 3.7 is showing the following

/usr/lib/python3.7/site-packages/pytest_clarity/hints.py:1: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  from collections import Sequence

I guess that means it is broken on py38

The-Compiler commented 3 years ago

FWIW this now fully breaks with Python 3.10.

jayvdb commented 3 years ago

ping @darrenburns