experimaestro 1.5.10__py3-none-any.whl → 1.5.12__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.
- experimaestro/connectors/ssh.py +7 -1
- experimaestro/tests/test_ssh.py +7 -0
- {experimaestro-1.5.10.dist-info → experimaestro-1.5.12.dist-info}/METADATA +1 -1
- {experimaestro-1.5.10.dist-info → experimaestro-1.5.12.dist-info}/RECORD +7 -7
- {experimaestro-1.5.10.dist-info → experimaestro-1.5.12.dist-info}/LICENSE +0 -0
- {experimaestro-1.5.10.dist-info → experimaestro-1.5.12.dist-info}/WHEEL +0 -0
- {experimaestro-1.5.10.dist-info → experimaestro-1.5.12.dist-info}/entry_points.txt +0 -0
experimaestro/connectors/ssh.py
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
try:
|
|
2
|
+
from pathlib import Path, _posix_flavour
|
|
3
|
+
except ImportError:
|
|
4
|
+
# Avoids problem with python 3.12 where this module does not work
|
|
5
|
+
# anyways
|
|
6
|
+
_posix_flavour = None
|
|
7
|
+
|
|
1
8
|
from dataclasses import dataclass
|
|
2
|
-
from pathlib import Path, _posix_flavour
|
|
3
9
|
import io
|
|
4
10
|
import os
|
|
5
11
|
import re
|
experimaestro/tests/test_ssh.py
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
import pytest
|
|
1
3
|
from experimaestro.connectors.ssh import SshPath
|
|
2
4
|
|
|
3
5
|
# --- Test SSH path and SSH path manipulation
|
|
4
6
|
|
|
5
7
|
|
|
8
|
+
@pytest.mark.skipif(sys.version_info >= (3, 12), reason="requires python3.10 or higher")
|
|
6
9
|
def test_absolute():
|
|
7
10
|
path = SshPath("ssh://host//a/path")
|
|
8
11
|
assert path.host == "host"
|
|
9
12
|
assert path.is_absolute()
|
|
10
13
|
|
|
11
14
|
|
|
15
|
+
@pytest.mark.skipif(sys.version_info >= (3, 12), reason="requires python3.10 or higher")
|
|
12
16
|
def test_relative():
|
|
13
17
|
path = SshPath("ssh://host")
|
|
14
18
|
assert path.host == "host"
|
|
@@ -17,6 +21,7 @@ def test_relative():
|
|
|
17
21
|
assert not path.is_absolute()
|
|
18
22
|
|
|
19
23
|
|
|
24
|
+
@pytest.mark.skipif(sys.version_info >= (3, 12), reason="requires python3.10 or higher")
|
|
20
25
|
def test_relative_withpath():
|
|
21
26
|
path = SshPath("ssh://host/relative/path")
|
|
22
27
|
assert path.host == "host"
|
|
@@ -24,6 +29,7 @@ def test_relative_withpath():
|
|
|
24
29
|
assert not path.is_absolute()
|
|
25
30
|
|
|
26
31
|
|
|
32
|
+
@pytest.mark.skipif(sys.version_info >= (3, 12), reason="requires python3.10 or higher")
|
|
27
33
|
def test_relative_absolute():
|
|
28
34
|
path = SshPath("ssh://host") / "/absolute/path"
|
|
29
35
|
assert path.host == "host"
|
|
@@ -31,6 +37,7 @@ def test_relative_absolute():
|
|
|
31
37
|
assert path.is_absolute()
|
|
32
38
|
|
|
33
39
|
|
|
40
|
+
@pytest.mark.skipif(sys.version_info >= (3, 12), reason="requires python3.10 or higher")
|
|
34
41
|
def test_relative_compose():
|
|
35
42
|
path = SshPath("ssh://host/abc") / "relative/path"
|
|
36
43
|
assert path.host == "host"
|
|
@@ -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=
|
|
13
|
+
experimaestro/connectors/ssh.py,sha256=Jk-64rwfQ9Gs_cZ8O62YviJ3M2rLaHAln2A2hdAmMW8,8400
|
|
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
|
|
@@ -118,7 +118,7 @@ experimaestro/tests/test_param.py,sha256=FcRF8HbjoW96SR6cTW3fqracLM4BivAsTq0iZvl
|
|
|
118
118
|
experimaestro/tests/test_progress.py,sha256=wtIGQzlV3ldd_wMng11LinVESchW-1J954mCJNlG28E,7580
|
|
119
119
|
experimaestro/tests/test_serializers.py,sha256=xSCezAM9yH_Ix1wr7j0au9SyBv9DtZ7b0zs2-Ynt-VM,2338
|
|
120
120
|
experimaestro/tests/test_snippets.py,sha256=rojnyDjtmAMnSuDUj6Bv9XEgdP8oQf2nVc132JF8vsM,3081
|
|
121
|
-
experimaestro/tests/test_ssh.py,sha256=
|
|
121
|
+
experimaestro/tests/test_ssh.py,sha256=KS1NWltiXrJBSStY9d4mwrexeqgNGWmhxuAU_WLQDAU,1449
|
|
122
122
|
experimaestro/tests/test_tags.py,sha256=vfW99iFfw3m-pcJPy_-mtZsWbAt_Xw5k-u3dWoJbRWw,2921
|
|
123
123
|
experimaestro/tests/test_tasks.py,sha256=bUSB_UT1MTN2P_RPHd4AT5NK-DFsgCVeFKSiXu3bEz8,9429
|
|
124
124
|
experimaestro/tests/test_tokens.py,sha256=cW9qQU4PhbQY4_SgK8ICmKcYq8JVvLRTOYZzdtoS5N8,7826
|
|
@@ -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.
|
|
143
|
-
experimaestro-1.5.
|
|
144
|
-
experimaestro-1.5.
|
|
145
|
-
experimaestro-1.5.
|
|
146
|
-
experimaestro-1.5.
|
|
142
|
+
experimaestro-1.5.12.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
143
|
+
experimaestro-1.5.12.dist-info/METADATA,sha256=FZvJ_wSsKQCzCNBTM5MiqS2HyptzWQdNQflgXb7ePHE,6266
|
|
144
|
+
experimaestro-1.5.12.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
145
|
+
experimaestro-1.5.12.dist-info/entry_points.txt,sha256=TppTNiz5qm5xm1fhAcdLKdCLMrlL-eQggtCrCI00D9c,446
|
|
146
|
+
experimaestro-1.5.12.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|