Skip to content

Commit 9dfc2bc

Browse files
authored
Move forward and drop python < 3.5. Version 2.0 (#63)
* No six magic anymore. * All typehints is embedded. * Less requirements, simple code. Signed-off-by: Alexey Stepanov <penguinolog@gmail.com>
1 parent 3f37c4e commit 9dfc2bc

25 files changed

+435
-1061
lines changed

.travis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,10 @@ sudo: false
22
language: python
33
os: linux
44
python:
5-
- 2.7
6-
- 3.4
75
- 3.5
86
- 3.6
97
- &mainstream_python 3.7-dev
10-
- &pypy pypy
11-
- pypy3.5
8+
- &pypy pypy3.5
129
install:
1310
- &upgrade_python_toolset pip install --upgrade pip setuptools wheel
1411
- pip install tox-travis

CI_REQUIREMENTS.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
mock # no assert_called_once in py35
2-
futures>=3.1; python_version == "2.7"
3-
enum34>=1.1; python_version == "2.7"
42
-r requirements.txt

README.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,13 @@ Pros:
4242

4343
::
4444

45-
Python 2.7
46-
Python 3.4
4745
Python 3.5
4846
Python 3.6
4947
Python 3.7
50-
PyPy
5148
PyPy3 3.5+
5249

50+
.. note:: For Python 2.7, 3.4 and PyPy please use versions 1.x.x
51+
5352
This package includes:
5453

5554
* `SSHClient` - historically the first one helper, which used for SSH connections and requires memorization

appveyor.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,6 @@ environment:
44
secure: TCKGf77kkVeo2Pbd+lQY5Q==
55

66
matrix:
7-
- PYTHON: "C:\\Python27"
8-
PYTHON_VERSION: "2.7.x" # currently 2.7.11
9-
PYTHON_ARCH: "32"
10-
11-
- PYTHON: "C:\\Python27-x64"
12-
PYTHON_VERSION: "2.7.x" # currently 2.7.11
13-
PYTHON_ARCH: "64"
14-
15-
- PYTHON: "C:\\Python34"
16-
PYTHON_VERSION: "3.4.x" # currently 3.4.3
17-
PYTHON_ARCH: "32"
18-
19-
- PYTHON: "C:\\Python34-x64"
20-
PYTHON_VERSION: "3.4.x" # currently 3.4.3
21-
PYTHON_ARCH: "64"
22-
237
- PYTHON: "C:\\Python35"
248
PYTHON_VERSION: "3.5.x" # currently 3.5.1
259
PYTHON_ARCH: "32"

exec_helpers/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414

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

17-
from __future__ import absolute_import
18-
1917
from .proc_enums import ExitCodes
2018

2119
from .exceptions import (
@@ -48,7 +46,7 @@
4846
'ExecResult',
4947
)
5048

51-
__version__ = '1.3.6'
49+
__version__ = '2.0.0'
5250
__author__ = "Alexey Stepanov"
5351
__author_email__ = 'penguinolog@gmail.com'
5452
__maintainers__ = {

exec_helpers/_log_templates.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@
1616

1717
"""Text templates for logging."""
1818

19-
from __future__ import absolute_import
20-
from __future__ import division
21-
from __future__ import unicode_literals
22-
2319
CMD_EXEC = "Executing command:\n{cmd!r}\n"
2420

2521
CMD_WAIT_ERROR = (

0 commit comments

Comments
 (0)