Import ABCs from collections.abc. These classes are no longer available in collections in 3.10.
The collections.abc module was introduced in 3.3, and atropos supports only Python >= 3.3 (according to the check in setup.py), so fortunately there is no need to make this conditional.
(See also bioconda/bioconda-recipes#36914 which applies this patch to the bioconda atropos package.)
Import ABCs from
collections.abc
. These classes are no longer available incollections
in 3.10.The
collections.abc
module was introduced in 3.3, and atropos supports only Python >= 3.3 (according to the check in setup.py), so fortunately there is no need to make this conditional.(See also bioconda/bioconda-recipes#36914 which applies this patch to the bioconda atropos package.)