Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
python-pegasus-wms.common
pegasus-wms-python3-to-sys.executable.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pegasus-wms-python3-to-sys.executable.patch of Package python-pegasus-wms.common
python3 might not be installed in a non-primary python environment (15.4_py39 backports) Index: pegasus-wms.common-gh-5.0.3/test/client/test_client.py =================================================================== --- pegasus-wms.common-gh-5.0.3.orig/test/client/test_client.py +++ pegasus-wms.common-gh-5.0.3/test/client/test_client.py @@ -5,6 +5,7 @@ import subprocess from collections import namedtuple from pathlib import Path from subprocess import Popen +import sys from tempfile import TemporaryDirectory from textwrap import dedent @@ -81,7 +82,7 @@ class TestClient: # fork process to print 0\n1\n..4\n" proc = Popen( - ["python3", "-c", 'exec("for i in range(5):\\n\\tprint(i)\\n")'], + [sys.executable, "-c", 'exec("for i in range(5):\\n\\tprint(i)\\n")'], stdout=subprocess.PIPE, stderr=subprocess.PIPE, ) @@ -109,7 +110,7 @@ class TestClient: # fork process to print 0\n1\n..4\n" proc = Popen( - ["python3", "-c", 'exec("for i in range(5):\\n\\tprint(i)\\n")'], + [sys.executable, "-c", 'exec("for i in range(5):\\n\\tprint(i)\\n")'], stdout=subprocess.PIPE, stderr=subprocess.PIPE, ) @@ -132,7 +133,7 @@ class TestClient: # fork process to print 0\n1\n..4\n" proc = Popen( - ["python3", "-c", 'exec("for i in range(5):\\n\\tprint(i)\\n")'], + [sys.executable, "-c", 'exec("for i in range(5):\\n\\tprint(i)\\n")'], stdout=subprocess.PIPE, stderr=subprocess.PIPE, )
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor