Skip to content

Commit a4bf2e0

Browse files
authored
Merge pull request #253 from arbennett/bugfix/iterable_import
Fix import of Iterable
2 parents ac27663 + 4dc7bd6 commit a4bf2e0

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

docs/whats-new.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
What's New
44
==========
5+
.. _whats-new.2.4.1:
6+
7+
v2.4.1
8+
------
9+
Bug fixes
10+
~~~~~~~~~
11+
- Move `from collections import Iterable` to `from collections.abc import Iterable`
12+
for compatibility with newer python versions
513

614
.. _whats-new.2.4.0:
715

metsim/metsim.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
import sys
3636
import warnings
3737
import time as tm
38-
from collections import Iterable, OrderedDict
38+
from collections import OrderedDict
39+
from collections.abc import Iterable
3940
from getpass import getuser
4041

4142
import numpy as np

0 commit comments

Comments
 (0)