Skip to content

Commit

Permalink
Merge pull request #253 from arbennett/bugfix/iterable_import
Browse files Browse the repository at this point in the history
Fix import of Iterable
  • Loading branch information
arbennett authored Mar 31, 2022
2 parents ac27663 + 4dc7bd6 commit a4bf2e0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions docs/whats-new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

What's New
==========
.. _whats-new.2.4.1:

v2.4.1
------
Bug fixes
~~~~~~~~~
- Move `from collections import Iterable` to `from collections.abc import Iterable`
for compatibility with newer python versions

.. _whats-new.2.4.0:

Expand Down
3 changes: 2 additions & 1 deletion metsim/metsim.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
import sys
import warnings
import time as tm
from collections import Iterable, OrderedDict
from collections import OrderedDict
from collections.abc import Iterable
from getpass import getuser

import numpy as np
Expand Down

0 comments on commit a4bf2e0

Please sign in to comment.