Skip to content

Commit

Permalink
Fixed compat dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
dvershinin committed Feb 18, 2022
1 parent c55a103 commit 1cd0d3f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sde/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.1.5'
__version__ = '1.1.6'
9 changes: 8 additions & 1 deletion sde/collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,16 @@
import sys
from abc import ABCMeta, abstractmethod

import six
import yaml
from six import add_metaclass, string_types as basestring, iteritems
from six.moves import collections_abc
# this was only introduced in six 1.13.0, but it's too old in RHEL,
# and we don't want to rebuild its package
# from six.moves import collections_abc
if six.PY2:
import collections as collections_abc
else:
import collections.abc as collections_abc

SPLIT_REGEX = r"(?<!\\)(\.)"

Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
_version_re = re.compile(r"__version__\s=\s'(.*)'")

install_requires = [
# collections_abc moves introduced there
"six>=1.13.0",
"six",
"pyyaml"
]
tests_requires = [
Expand Down

0 comments on commit 1cd0d3f

Please sign in to comment.