Skip to content

Commit

Permalink
Issue #85: Remove Python 2.7 support on Amazon-dash v2.0.0 (Also remo…
Browse files Browse the repository at this point in the history
…ve Python3.4 support)
  • Loading branch information
Nekmo committed Sep 4, 2018
1 parent 38ffe8c commit 733fe04
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ sudo: false
python:
- 3.6
- 3.5
- 3.4
before_install:
- pip install codecov tox>=1.8
install:
- if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then export PYVER=py34; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then export PYVER=py35; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then export PYVER=py36; fi
script: COMMAND='coverage run' tox -e$PYVER
Expand Down
6 changes: 0 additions & 6 deletions amazon_dash/_compat.py

This file was deleted.

2 changes: 1 addition & 1 deletion amazon_dash/confirmations.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from requests import RequestException

from amazon_dash.exceptions import InvalidConfig, ConfirmationError
from ._compat import JSONDecodeError
from json import JSONDecodeError

class ConfirmationBase(object):
name = None
Expand Down
2 changes: 1 addition & 1 deletion amazon_dash/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import sys
import copy
import subprocess
from ._compat import JSONDecodeError
from json import JSONDecodeError
from urllib.parse import urlparse

from requests import request, RequestException
Expand Down

0 comments on commit 733fe04

Please sign in to comment.