[GRASS-git] [OSGeo/grass] 862f60: grass.gunittest: Use collections.abc for Iterable ...

Vaclav Petras noreply at github.com
Wed Dec 8 12:00:33 PST 2021


  Branch: refs/heads/releasebranch_7_8
  Home:   https://github.com/OSGeo/grass
  Commit: 862f60f765fa6a0ccac26ea00b608abdd76bfe4e
      https://github.com/OSGeo/grass/commit/862f60f765fa6a0ccac26ea00b608abdd76bfe4e
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2021-12-08 (Wed, 08 Dec 2021)

  Changed paths:
    M lib/python/gunittest/reporters.py

  Log Message:
  -----------
  grass.gunittest: Use collections.abc for Iterable (#2008)

Python 3.10 does not have Iterable in collections anymore and requires collections.abc.Iterable.

collections.abc is not in Python 2.7, but there are usages of collections.abc in 7.8 already in pygrass and ctypesgencore.

Backport of 60e97467f53d73c3a68681b3292826bf25d2861d (#2006) into 7.8.




More information about the grass-commit mailing list