Hi all, python-subprocess-tee fails to build for 15.x (using only python3.11), as one of the pytest checks contains a hardcoded python3 executable name. I solved this quick and dirty using this snippet: # replace hardcoded python3 in test/test_unit.py sed -i "s/python3/python3.11/g" test/test_unit.py
https://build.opensuse.org/package/show/home:ojkastl_buildservice:Branch_sys...
On Tumbleweed it succeeds, as there is a python3 executable. Is there a nice way to do this without hardcoding the python version? The best I could come up with is to use a %if condition for "SLES15 or Tumbleweed", but that would be hardcoding the python version... Kind Regards, Johannes -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537