Re: Packaging ansible-builder for SLES15 with python310: How to properly build subunit (aka python310-subunit) for SLES15 using the Python3-SLE-Module?

22 Mar
2023
22 Mar
'23
06:07
Good morning Dirk, On 21.03.23 at 18:58 Dirk Müller wrote:
In many cases just setting the PYTHON environment variable helps, and in python code patching hardcoded invocations to use sys.executable instead.
Thanks, I'll test the environment variable.
There is also a shebang rewriting step at the end to avoid any shebang referring to python3 afterwards. We have recently added a macro for that.
I'll have a look. 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
759
Age (days ago)
759
Last active (days ago)
0 comments
1 participants
participants (1)
-
Johannes Kastl