Skip to content

Commit

Permalink
Move forward and drop python < 3.5. Version 2.0 (#63)
Browse files Browse the repository at this point in the history
* No six magic anymore.
* All typehints is embedded.
* Less requirements, simple code.

Signed-off-by: Alexey Stepanov <penguinolog@gmail.com>
  • Loading branch information
penguinolog committed Aug 15, 2018
1 parent 3f37c4e commit 9dfc2bc
Show file tree
Hide file tree
Showing 25 changed files with 435 additions and 1,061 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Expand Up @@ -2,13 +2,10 @@ sudo: false
language: python
os: linux
python:
- 2.7
- 3.4
- 3.5
- 3.6
- &mainstream_python 3.7-dev
- &pypy pypy
- pypy3.5
- &pypy pypy3.5
install:
- &upgrade_python_toolset pip install --upgrade pip setuptools wheel
- pip install tox-travis
Expand Down
2 changes: 0 additions & 2 deletions CI_REQUIREMENTS.txt
@@ -1,4 +1,2 @@
mock # no assert_called_once in py35
futures>=3.1; python_version == "2.7"
enum34>=1.1; python_version == "2.7"
-r requirements.txt
5 changes: 2 additions & 3 deletions README.rst
Expand Up @@ -42,14 +42,13 @@ Pros:

::

Python 2.7
Python 3.4
Python 3.5
Python 3.6
Python 3.7
PyPy
PyPy3 3.5+

.. note:: For Python 2.7, 3.4 and PyPy please use versions 1.x.x

This package includes:

* `SSHClient` - historically the first one helper, which used for SSH connections and requires memorization
Expand Down
16 changes: 0 additions & 16 deletions appveyor.yml
Expand Up @@ -4,22 +4,6 @@ environment:
secure: TCKGf77kkVeo2Pbd+lQY5Q==

matrix:
- PYTHON: "C:\\Python27"
PYTHON_VERSION: "2.7.x" # currently 2.7.11
PYTHON_ARCH: "32"

- PYTHON: "C:\\Python27-x64"
PYTHON_VERSION: "2.7.x" # currently 2.7.11
PYTHON_ARCH: "64"

- PYTHON: "C:\\Python34"
PYTHON_VERSION: "3.4.x" # currently 3.4.3
PYTHON_ARCH: "32"

- PYTHON: "C:\\Python34-x64"
PYTHON_VERSION: "3.4.x" # currently 3.4.3
PYTHON_ARCH: "64"

- PYTHON: "C:\\Python35"
PYTHON_VERSION: "3.5.x" # currently 3.5.1
PYTHON_ARCH: "32"
Expand Down
4 changes: 1 addition & 3 deletions exec_helpers/__init__.py
Expand Up @@ -14,8 +14,6 @@

"""Execution helpers for simplified usage of subprocess and ssh."""

from __future__ import absolute_import

from .proc_enums import ExitCodes

from .exceptions import (
Expand Down Expand Up @@ -48,7 +46,7 @@
'ExecResult',
)

__version__ = '1.3.6'
__version__ = '2.0.0'
__author__ = "Alexey Stepanov"
__author_email__ = 'penguinolog@gmail.com'
__maintainers__ = {
Expand Down
4 changes: 0 additions & 4 deletions exec_helpers/_log_templates.py
Expand Up @@ -16,10 +16,6 @@

"""Text templates for logging."""

from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals

CMD_EXEC = "Executing command:\n{cmd!r}\n"

CMD_WAIT_ERROR = (
Expand Down

0 comments on commit 9dfc2bc

Please sign in to comment.