diff --git a/setup.cfg b/setup.cfg index faabb83f..ce171654 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,6 +4,3 @@ test=pytest [bdist_wheel] universal = 1 - -[semantic_release] -version_variable = werobot/__init__.py:__version__ diff --git a/tests/test_robot.py b/tests/test_robot.py index 41c877f8..f90243bc 100644 --- a/tests/test_robot.py +++ b/tests/test_robot.py @@ -2,7 +2,6 @@ import hashlib import time -import six import os import pytest @@ -34,8 +33,7 @@ def test_signature_checker(): sign = [token, timestamp, nonce] sign.sort() sign = ''.join(sign) - if six.PY3: - sign = sign.encode() + sign = sign.encode() sign = hashlib.sha1(sign).hexdigest() assert robot.check_signature(timestamp, nonce, sign) diff --git a/werobot/__init__.py b/werobot/__init__.py index aeb9d88a..5cb0dd83 100644 --- a/werobot/__init__.py +++ b/werobot/__init__.py @@ -1,4 +1,4 @@ -__version__ = '1.10.1' +__version__ = '1.11.0' __author__ = 'whtsky' __license__ = 'MIT'