Skip to content

Commit b3a7526

Browse files
authored
Bump to version 1.3.3 (#51)
* Slim sdist * enforced bdist py27 * cythonized bdist on py37 * remove TODO (github issues used)
1 parent 8761a17 commit b3a7526

File tree

8 files changed

+26
-15
lines changed

8 files changed

+26
-15
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ python:
55
- 2.7
66
- 3.4
77
- 3.5
8-
- &mainstream_python 3.6
8+
- 3.6
9+
- &mainstream_python 3.7-dev
910
- &pypy pypy
1011
- pypy3.5
11-
- 3.7-dev
1212
install:
1313
- &upgrade_python_toolset pip install --upgrade pip setuptools wheel
1414
- pip install tox-travis
@@ -21,7 +21,7 @@ jobs:
2121
fast_finish: true
2222
include:
2323
- stage: Static analisys
24-
python: *mainstream_python
24+
python: 3.6
2525
services: skip
2626
install:
2727
- *upgrade_python_toolset
@@ -53,6 +53,7 @@ jobs:
5353
- ./tools/run_docker.sh "exec_helpers"
5454
before_deploy:
5555
- pip install -r build_requirements.txt
56+
- python setup.py bdist_wheel
5657
deploy:
5758
- provider: pypi
5859
# `skip_cleanup: true` is required to preserve binary wheels, built
@@ -63,7 +64,7 @@ jobs:
6364
secure: "maml4+SU/6NtRf7JIwWhVyXkesE9Gk5Umdo3txOjcrcvt84S3NlN/hFgdNclMUpJ3b+rOFEpiZOamtDKbP67uhlA6yJ364SxW5T3ZQJ8tjFFzMHcaM38HgGbgLR8AxK8fdZKRg9gVMnGofeiusB5aNsKmn9XnvESc8dNv0Umdmi83wXxm+DfVRXL8VTFgwsH3BxQy/Kdv6upRrXyNWkyoi8Zk8PkrFFDpFoW9WK1fRBqnvCw1Wt8nEAJah7y2b7vj52eM+MfT3IL+jpocZqOJQlFPdWkTonX7mAP9nB97kk4DMbm3ZqUw2Qr9pM0nKK9HhrXhsSSUGa1w95zmw9nbXLrpfnQ61Lyk9pGcVh60WbrVKstE/x9Lq3pqGsA/YKqsIZK3OAqRfBHNG9L7lekP05hXyDNHJXGoEyGQjVA/666S2ZCjM10XaaUmZ5P1kPGocCnEjv86dKdINTkFM6L0n4oIu1nyftBhVu9jz0xQaxute4LZNJiQtE6x8NX3WuSO68UhWjDqevYdRgW55Gp1OD4ilfA/SVNPpsHJfB2baue1fi9m8Rn3bWQSJoZ8twYHoIxEOAIXyMBhYnmldvsuUY6h5p+/hk6kpJAsTXZFjUSa/FPIH84QvDkNCoZxwInSkjEN1tj9PBep2vYcLMd92+g6udtin8FbYMZItiDl1M="
6465
on:
6566
tags: true
66-
distributions: sdist bdist_wheel
67+
distributions: sdist
6768
skip_upload_docs: true
6869

6970
cache: pip

CI_REQUIREMENTS.txt

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

MANIFEST.in

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,10 @@
11
include *.rst LICENSE requirements.txt
2+
global-exclude *.c
3+
exclude Makefile
4+
prune tools
5+
exclude .travis.yml appveyor.yml
6+
exclude tox.ini pytest.ini .coveragerc
7+
prune test
8+
prune .github
9+
prune docs
10+
exclude CODEOWNERS CODE_OF_CONDUCT.md _config.yml

TODO.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

exec_helpers/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
'ExecResult',
4747
)
4848

49-
__version__ = '1.3.2'
49+
__version__ = '1.3.3'
5050
__author__ = "Alexey Stepanov"
5151
__author_email__ = 'penguinolog@gmail.com'
5252
__maintainers__ = {

exec_helpers/ssh_auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def username(self): # type: () -> typing.Optional[str]
9696
return self.__username
9797

9898
@staticmethod
99-
def __get_public_key(key): # type: () -> typing.Optional[str]
99+
def __get_public_key(key): # type: (typing.Union[paramiko.RSAKey, None]) -> typing.Optional[str]
100100
"""Internal method for get public key from private.
101101
102102
:type key: paramiko.RSAKey

tools/build-wheels.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
PYTHON_VERSIONS="cp34-cp34m cp35-cp35m cp36-cp36m"
2+
PYTHON_VERSIONS="cp34-cp34m cp35-cp35m cp36-cp36m cp37-cp37m"
33

44
# Avoid creation of __pycache__/*.py[c|o]
55
export PYTHONDONTWRITEBYTECODE=1

tox.ini

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
[tox]
77
minversion = 2.0
8-
envlist = pep8, pep257, py{27,34,35,36,37,py,py3}, pylint, bandit, py{34,35,36}-nocov, docs,
8+
envlist = pep8, pep257, py{27,34,35,36,37,py,py3}, pylint, bandit, py{34,35,36,37}-nocov, docs,
99
skipsdist = True
1010
skip_missing_interpreters = True
1111

@@ -49,6 +49,13 @@ commands =
4949
pip install exec_helpers --no-index -f dist
5050
py.test -vv {posargs:test}
5151

52+
[testenv:py37-nocov]
53+
usedevelop = False
54+
commands =
55+
python setup.py bdist_wheel
56+
pip install exec_helpers --no-index -f dist
57+
py.test -vv {posargs:test}
58+
5259
[testenv:venv]
5360
commands = {posargs:}
5461

@@ -80,15 +87,13 @@ usedevelop = False
8087
commands = pip install ./ -vvv -U
8188

8289
[testenv:pylint]
83-
basepython = python3.6
8490
usedevelop = False
8591
deps =
8692
pylint
8793
-r{toxinidir}/CI_REQUIREMENTS.txt
8894
commands = pylint exec_helpers
8995

9096
[flake8]
91-
basepython = python3.6
9297
exclude =
9398
.venv,
9499
.git,

0 commit comments

Comments
 (0)