From 68537e60d42034b5b7465567b29ffde598cbfd8d Mon Sep 17 00:00:00 2001
From: Holger Nahrstaedt <holgernahrstaedt@gmx.de>
Date: Tue, 12 May 2020 17:22:36 +0200
Subject: [PATCH] Remove python 2.7 and 3.5 support

---
 .travis.yml           | 8 ++------
 README.rst            | 2 +-
 appveyor.yml          | 2 +-
 requirements-test.txt | 3 ++-
 setup.py              | 6 +++---
 5 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 07a9cfc8..9d9922e5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,16 +21,12 @@ matrix:
     #  python: 3.6
     #  env:
     #    - TOXENV=readme
-    - os: linux
-      python: 2.7
-      env:
-        - TOXENV=short
     - os: linux
       python: 3.7
       env:
         - TOXENV=short
     - os: linux
-      python: 3.5
+      python: 3.8
       env:
         - TOXENV=short
     - os: linux
@@ -58,7 +54,7 @@ before_install:
   - pip install --upgrade wheel
   # Set numpy version first, other packages link against it
   - pip install six nose coverage codecov pytest pytest-cov coveralls codacy-coverage parameterized secp256k1prp cryptography scrypt
-  - pip install pycryptodomex  pyyaml appdirs pylibscrypt tox diff_match_patch asn1
+  - pip install pycryptodomex  pyyaml appdirs pylibscrypt tox diff_match_patch asn1 enum34
   - pip install ecdsa requests future websocket-client pytz six Click events prettytable click_shell
 
 script:
diff --git a/README.rst b/README.rst
index 74421153..a6983b02 100644
--- a/README.rst
+++ b/README.rst
@@ -73,7 +73,7 @@ About beem
 
 Installation
 ============
-The minimal working python version is 2.7.x. or 3.5.x
+The minimal working python version is 3.6.x
 
 beem can be installed parallel to python-steem.
 
diff --git a/appveyor.yml b/appveyor.yml
index e2736cc7..576270f0 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -52,7 +52,7 @@ install:
 - cmd: conda install --yes conda-build setuptools pip parameterized cryptography
 - cmd: conda install --yes pycryptodomex pyyaml pytest pytest-mock coverage mock appdirs pylibscrypt pywin32
 - cmd: pip install scrypt -U
-- cmd: conda install --yes ecdsa requests future websocket-client pytz six Click events prettytable pyinstaller click-shell asn1
+- cmd: conda install --yes ecdsa requests future websocket-client pytz six Click events prettytable pyinstaller click-shell asn1 enum34
 
 
 build_script:
diff --git a/requirements-test.txt b/requirements-test.txt
index 819e1de9..9775c386 100644
--- a/requirements-test.txt
+++ b/requirements-test.txt
@@ -30,4 +30,5 @@ codacy-coverage
 virtualenv
 codecov
 diff_match_patch
-asn1
\ No newline at end of file
+asn1
+enum34
\ No newline at end of file
diff --git a/setup.py b/setup.py
index b8a64dd5..402f722f 100755
--- a/setup.py
+++ b/setup.py
@@ -36,7 +36,8 @@ requires = [
     "prettytable",
     "pyyaml",
     "diff_match_patch",
-    "asn1"
+    "asn1",
+    "enum34"
 ]
 
 
@@ -89,11 +90,10 @@ if __name__ == '__main__':
             'License :: OSI Approved :: MIT License',
             'Operating System :: OS Independent',
             'Programming Language :: Python',
-            'Programming Language :: Python :: 2.7',
             'Programming Language :: Python :: 3',
-            'Programming Language :: Python :: 3.5',
             'Programming Language :: Python :: 3.6',
             'Programming Language :: Python :: 3.7',
+            'Programming Language :: Python :: 3.8',
             'Development Status :: 4 - Beta',
             'Intended Audience :: Developers',
             'Intended Audience :: Financial and Insurance Industry',
-- 
GitLab