experimaestro 1.5.13__py3-none-any.whl → 1.5.14__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of experimaestro might be problematic. Click here for more details.

@@ -10,9 +10,6 @@ import io
10
10
  import os
11
11
  import re
12
12
  from experimaestro.launcherfinder import LauncherRegistry
13
- from fabric import Connection
14
- from invoke import Promise
15
- import invoke.exceptions
16
13
  from urllib.parse import urlparse
17
14
  from itertools import chain
18
15
  from . import Connector
@@ -25,6 +22,22 @@ from . import (
25
22
  from experimaestro.locking import Lock
26
23
  from experimaestro.tokens import Token
27
24
 
25
+ try:
26
+ from fabric import Connection
27
+ from invoke import Promise
28
+ from invoke.exceptions import Failure
29
+ except Exception:
30
+ # Just define placeholders
31
+ class Connection:
32
+ pass
33
+
34
+ class Promise:
35
+ pass
36
+
37
+ class Failure(Exception):
38
+ pass
39
+
40
+
28
41
  # Might be wise to switch to https://github.com/marian-code/ssh-utilities
29
42
 
30
43
 
@@ -178,7 +191,7 @@ class SshProcess(Process):
178
191
  def wait(self) -> int:
179
192
  try:
180
193
  self.promise.join()
181
- except invoke.exceptions.Failure:
194
+ except Failure:
182
195
  raise
183
196
 
184
197
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: experimaestro
3
- Version: 1.5.13
3
+ Version: 1.5.14
4
4
  Summary: "Experimaestro is a computer science experiment manager"
5
5
  Home-page: https://github.com/experimaestro/experimaestro-python
6
6
  License: GPL-3
@@ -10,7 +10,7 @@ experimaestro/commandline.py,sha256=NS1ubme8DTJtDS2uWwdHLQiZsl6TSK1LkNxu39c3-cw,
10
10
  experimaestro/compat.py,sha256=dQqE2ZNHLM2wtdfp7fBRYMfC33qNehVf9J6FGRBUQhs,171
11
11
  experimaestro/connectors/__init__.py,sha256=hxcBSeVLk_7oyiIlS3l-9dGg1NGtShwvRD1tS7f8D2M,5461
12
12
  experimaestro/connectors/local.py,sha256=6tlaZb0tvNS2mjsapiVbfY7kIfLICJad137VXBMz-xo,5816
13
- experimaestro/connectors/ssh.py,sha256=Jk-64rwfQ9Gs_cZ8O62YviJ3M2rLaHAln2A2hdAmMW8,8400
13
+ experimaestro/connectors/ssh.py,sha256=P6XfCdC4mQTsFzgI-dEdx6AdVhwd0T6VrQpPmNpmiPM,8575
14
14
  experimaestro/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
15
  experimaestro/core/arguments.py,sha256=dW32opqNEsULYr6nR7Zk8PqHsSCbLPclfXofw27GTpI,5620
16
16
  experimaestro/core/context.py,sha256=Q8_ngiHRBZ0laavXRJNiDvdCprrnROVTWaHfrwMdlG4,2638
@@ -139,8 +139,8 @@ experimaestro/utils/jupyter.py,sha256=JcEo2yQK7x3Cr1tNl5FqGMZOICxCv9DwMvL5xsWdQP
139
139
  experimaestro/utils/resources.py,sha256=MaCQL9dLfze3lwyuBVeWF7Ki5fFSE1F0BGWrfaaHi1I,1135
140
140
  experimaestro/utils/settings.py,sha256=jpFMqF0DLL4_P1xGal0zVR5cOrdD8O0Y2IOYvnRgN3k,793
141
141
  experimaestro/xpmutils.py,sha256=S21eMbDYsHfvmZ1HmKpq5Pz5O-1HnCLYxKbyTBbASyQ,638
142
- experimaestro-1.5.13.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
143
- experimaestro-1.5.13.dist-info/METADATA,sha256=d18r9gMm58VlznetLeNun9NDyb86WN6ZCEFSunRdFEg,6286
144
- experimaestro-1.5.13.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
145
- experimaestro-1.5.13.dist-info/entry_points.txt,sha256=TppTNiz5qm5xm1fhAcdLKdCLMrlL-eQggtCrCI00D9c,446
146
- experimaestro-1.5.13.dist-info/RECORD,,
142
+ experimaestro-1.5.14.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
143
+ experimaestro-1.5.14.dist-info/METADATA,sha256=jEbKxGTumDrr8CB6aAz50WUx7yel7Kvp3xQiSBX14aw,6286
144
+ experimaestro-1.5.14.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
145
+ experimaestro-1.5.14.dist-info/entry_points.txt,sha256=TppTNiz5qm5xm1fhAcdLKdCLMrlL-eQggtCrCI00D9c,446
146
+ experimaestro-1.5.14.dist-info/RECORD,,