14
0
forked from pool/python-Fabric

- Add patch support-pytest-8.patch:

* Use setup_method(), not setup().
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Fabric?expand=0&rev=88
This commit is contained in:
2024-08-22 06:26:40 +00:00
committed by Git OBS Bridge
commit d5e12005d4
8 changed files with 1280 additions and 0 deletions

11
fix-executable.patch Normal file
View File

@@ -0,0 +1,11 @@
Index: fabric-2.5.0/tests/main.py
===================================================================
--- fabric-2.5.0.orig/tests/main.py
+++ fabric-2.5.0/tests/main.py
@@ -358,5 +358,5 @@ Fabric .+
Paramiko .+
Invoke .+
""".strip()
- output = run("python -m fabric --version", hide=True, in_stream=False)
+ output = run(sys.executable + " -m fabric --version", hide=True, in_stream=False)
assert re.match(expected_output, output.stdout)