File tree Expand file tree Collapse file tree 3 files changed +54
-53
lines changed Expand file tree Collapse file tree 3 files changed +54
-53
lines changed Original file line number Diff line number Diff line change 70
70
- run :
71
71
name : deps
72
72
command : |
73
- pip3 install twine
73
+ pip3 install -U twine
74
74
which twine
75
75
- run :
76
76
name : Build Wheel
88
88
image : ubuntu-1604:201903-01
89
89
steps :
90
90
- checkout
91
- - run :
92
- name : sdist
93
- command : python setup.py sdist
94
91
- python/load-cache :
95
92
key : manylinuxdepsv6-{{ .Branch }}.{{ arch }}
96
93
dependency-file : requirements.txt
@@ -99,11 +96,14 @@ jobs:
99
96
command : |
100
97
sudo apt-get install python-pip
101
98
pip install -U pip
102
- pip install twine
99
+ pip install -U twine
103
100
which twine
104
101
- python/save-cache :
105
102
key : manylinuxdepsv6-{{ .Branch }}.{{ arch }}
106
103
dependency-file : requirements.txt
104
+ - run :
105
+ name : sdist
106
+ command : python setup.py sdist
107
107
- run :
108
108
name : Build Wheels
109
109
command : |
@@ -114,6 +114,7 @@ jobs:
114
114
- run :
115
115
name : PyPi Upload
116
116
command : |
117
+ ls -lh dist wheelhouse
117
118
twine upload --skip-existing -u $PYPI_USER -p $PYPI_PASSWORD dist/* wheelhouse/*
118
119
119
120
workflows :
Original file line number Diff line number Diff line change @@ -43,51 +43,51 @@ jobs:
43
43
44
44
- stage : test
45
45
46
- - &osx-wheels
47
- stage : build packages
48
- if : tag IS present
49
- os : osx
50
- osx_image : xcode11.6
51
- before_install :
52
- - sudo -H pip install twine
53
- - which twine
54
- install : skip
55
- script :
56
- - ./ci/osx-wheel.sh
57
- after_success :
58
- - if [[ ! -z "$TRAVIS_TAG" ]]; then
59
- twine upload --skip-existing -u $PYPI_U -p $PYPI_P wheels/*.whl;
60
- fi
61
- language : generic
62
- python : skip
46
+ # - &osx-wheels
47
+ # stage: build packages
48
+ # if: tag IS present
49
+ # os: osx
50
+ # osx_image: xcode11.6
51
+ # before_install:
52
+ # - sudo -H pip install twine
53
+ # - which twine
54
+ # install: skip
55
+ # script:
56
+ # - ./ci/osx-wheel.sh
57
+ # after_success:
58
+ # - if [[ ! -z "$TRAVIS_TAG" ]]; then
59
+ # twine upload --skip-existing -u $PYPI_U -p $PYPI_P wheels/*.whl;
60
+ # fi
61
+ # language: generic
62
+ # python: skip
63
63
64
- - << : *osx-wheels
65
- osx_image : xcode11.3
64
+ # - <<: *osx-wheels
65
+ # osx_image: xcode11.3
66
66
67
- - stage : build packages
68
- if : tag IS present
69
- env :
70
- - WHEELS=1
71
- os : linux
72
- python : 3.6
73
- before_install : skip
74
- install :
75
- - pip install twine
76
- script :
77
- - docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" &&
78
- ./ci/travis/build-manylinux.sh;
79
- after_success :
80
- - if [[ ! -z "$TRAVIS_TAG" ]]; then
81
- twine upload --skip-existing -u $PYPI_U -p $PYPI_P wheelhouse/*.whl;
82
- fi
83
- deploy :
84
- - provider : pypi
85
- user : pkittenis
86
- password :
87
- secure : ZQJ41Nguc7Y5XHvtN8lITIiW1S1jvy0p50rssMUJpa9wVZIh0HcW0K/Xv2v17fDNuOvQlVbsF0sY/BmcRfH7c7nzwt7fRXGOjXbZk5djqwusKXL6zlVN7OKjAY6j2EByOjD9UpDDkB5tDqb4lRBCX87wknii/t+7/8P0ddoBojM=
88
- on :
89
- repo : ParallelSSH/parallel-ssh
90
- tags : true
91
- distributions : sdist
92
- upload_docs : false
93
- cleanup : false
67
+ # - stage: build packages
68
+ # if: tag IS present
69
+ # env:
70
+ # - WHEELS=1
71
+ # os: linux
72
+ # python: 3.6
73
+ # before_install: skip
74
+ # install:
75
+ # - pip install twine
76
+ # script:
77
+ # - docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" &&
78
+ # ./ci/travis/build-manylinux.sh;
79
+ # after_success:
80
+ # - if [[ ! -z "$TRAVIS_TAG" ]]; then
81
+ # twine upload --skip-existing -u $PYPI_U -p $PYPI_P wheelhouse/*.whl;
82
+ # fi
83
+ # deploy:
84
+ # - provider: pypi
85
+ # user: pkittenis
86
+ # password:
87
+ # secure: ZQJ41Nguc7Y5XHvtN8lITIiW1S1jvy0p50rssMUJpa9wVZIh0HcW0K/Xv2v17fDNuOvQlVbsF0sY/BmcRfH7c7nzwt7fRXGOjXbZk5djqwusKXL6zlVN7OKjAY6j2EByOjD9UpDDkB5tDqb4lRBCX87wknii/t+7/8P0ddoBojM=
88
+ # on:
89
+ # repo: ParallelSSH/parallel-ssh
90
+ # tags: true
91
+ # distributions: sdist
92
+ # upload_docs: false
93
+ # cleanup: false
Original file line number Diff line number Diff line change @@ -292,9 +292,9 @@ def run(self):
292
292
logger .error ("Tunnel initilisation failed - %s" , ex )
293
293
self .exception = ex
294
294
return
295
- logger .debug ("Hub ID in run function: %s" , self ._hub .thread_ident )
296
- consume_let = spawn (self ._consume_q )
297
295
try :
296
+ logger .debug ("Hub ID in run function: %s" , self ._hub .thread_ident )
297
+ consume_let = spawn (self ._consume_q )
298
298
consume_let .get ()
299
299
except Exception as ex :
300
300
logger .error ("Tunnel thread caught exception and will exit:" ,
You can’t perform that action at this time.
0 commit comments