Skip to content

Commit 777eaac

Browse files
migrate new python version
1 parent 4423bb5 commit 777eaac

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

CHANGES.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
=========
22
Changelog
33
=========
4+
Version 0.1.4
5+
================
6+
* compatible with new version
47

58
Version 0.1.3
69
================

pysenal/io/file.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
import json
66
import os
77
import gzip
8-
from collections import Iterable
8+
try:
9+
from collections import Iterable
10+
except:
11+
from collections.abc import Iterable
912
import configparser
1013
from ..utils.logger import get_logger
1114
from ..utils.utils import get_chunk

pysenal/utils/utils.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# -*- coding: UTF-8 -*-
22
import os
33
import copy
4-
from collections import Iterable
4+
5+
try:
6+
from collections import Iterable
7+
except:
8+
from collections.abc import Iterable
59
from decimal import Decimal
610

711

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# -*- coding: utf-8 -*-
33
from setuptools import setup, find_packages
44

5-
VERSION = "0.1.3"
5+
VERSION = "0.1.4"
66

77
requirments = []
88

0 commit comments

Comments
 (0)