diff --git a/.travis.yml b/.travis.yml index 9b20da3..432efa8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ language: python jobs: include: - stage: test - python: 3.5 + python: 3.8 install: pip install -U tox-travis script: tox - python: 3.6 @@ -11,11 +11,8 @@ jobs: - python: 3.7 install: pip install -U tox-travis script: tox - - python: 3.8 - install: pip install -U tox-travis - script: tox - - python: 3.8 - name: 'Test documentation build' + - stage: test_doc + python: 3.8 install: pip install -r docs/requirements.txt script: cd docs; make html - stage: deploy diff --git a/almdrlib/__init__.py b/almdrlib/__init__.py index 1b845ec..9728128 100644 --- a/almdrlib/__init__.py +++ b/almdrlib/__init__.py @@ -1,5 +1,3 @@ -# -*- coding: future_fstrings -*- - __author__ = 'Alert Logic, Inc.' import logging diff --git a/almdrlib/client.py b/almdrlib/client.py index de5e665..1e4fd3e 100644 --- a/almdrlib/client.py +++ b/almdrlib/client.py @@ -1,4 +1,4 @@ -# -*- coding: future_fstrings -*- +# -*- coding: utf-8 -*- """ almdrlib.client diff --git a/almdrlib/config.py b/almdrlib/config.py index 36a4883..28ef05c 100644 --- a/almdrlib/config.py +++ b/almdrlib/config.py @@ -1,4 +1,4 @@ -# -*- coding: future_fstrings -*- +# -*- coding: utf-8 -*- import os.path import configparser diff --git a/almdrlib/constants.py b/almdrlib/constants.py index c78cab9..f5ade39 100644 --- a/almdrlib/constants.py +++ b/almdrlib/constants.py @@ -1,4 +1,4 @@ -# -*- coding: future_fstrings -*- +# -*- coding: utf-8 -*- import os.path diff --git a/almdrlib/exceptions.py b/almdrlib/exceptions.py index c3c07a4..ea9d51b 100644 --- a/almdrlib/exceptions.py +++ b/almdrlib/exceptions.py @@ -1,4 +1,4 @@ -# -*- coding: future_fstrings -*- +# coding: utf-8 """ almdrlib Exceptions diff --git a/almdrlib/region.py b/almdrlib/region.py index ffb146a..7f12b70 100644 --- a/almdrlib/region.py +++ b/almdrlib/region.py @@ -1,4 +1,4 @@ -# -*- coding: future_fstrings -*- +# -*- coding: utf-8 -*- from enum import Enum diff --git a/almdrlib/session.py b/almdrlib/session.py index 2137d6b..36a1b68 100644 --- a/almdrlib/session.py +++ b/almdrlib/session.py @@ -1,4 +1,4 @@ -# -*- coding: future_fstrings -*- +# -*- coding: utf-8 -*- """ almdrlib.session diff --git a/requirements.txt b/requirements.txt index 7451b97..2ff9ca0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,4 +5,3 @@ configparser==4.0.2 pyyaml==5.1.2 jsonschema[format_nongpl]==3.2.0 git+https://github.com/crossnox/m2r@dev#egg=m2r -future_fstrings \ No newline at end of file diff --git a/requirements_dev.txt b/requirements_dev.txt index 629ef8a..b339016 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -15,4 +15,3 @@ sphinx_rtd_theme==0.4.3 sphinxcontrib_contentui==0.2.4 sphinx-paramlinks==0.4.1 git+https://github.com/crossnox/m2r@dev#egg=m2r -future_fstrings \ No newline at end of file diff --git a/setup.py b/setup.py index 5ff7f6b..329da06 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,6 @@ 'pyyaml==5.1.2', 'jsonschema[format_nongpl]==3.2.0', 'm2r==0.2.1', - 'future_fstrings', definitions_dependency ] @@ -39,7 +38,7 @@ license='MIT license', author='Alert Logic Inc.', author_email='devsupport@alertlogic.com', - python_requires='>=3.5', + python_requires='>=3.6', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', @@ -48,7 +47,6 @@ 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8' diff --git a/tests/test_open_api_support.py b/tests/test_open_api_support.py index 7346e48..1810ffe 100644 --- a/tests/test_open_api_support.py +++ b/tests/test_open_api_support.py @@ -1,6 +1,4 @@ #!/usr/bin/env python -# -*- coding: future_fstrings -*- - import os import json diff --git a/tox.ini b/tox.ini index 8aec464..0b1eb13 100644 --- a/tox.ini +++ b/tox.ini @@ -1,12 +1,11 @@ [tox] -envlist = py35, py36, py37, py38, flake8 +envlist = py36, py37, py38, flake8 [travis] python = - 3.5: py35 - 3.6: py36 - 3.7: py37 3.8: py38 + 3.7: py37 + 3.6: py36 [testenv:flake8] basepython = python