Whamcloud - gitweb
LU-17160 build: Use PyConfig_InitPythonConfig 3.11 and later 58/52558/7
authorShaun Tancheff <shaun.tancheff@hpe.com>
Sat, 11 Nov 2023 01:40:22 +0000 (19:40 -0600)
committerOleg Drokin <green@whamcloud.com>
Wed, 10 Jan 2024 07:28:57 +0000 (07:28 +0000)
commit2bf6b972d4d1918b0ab7af31f27c65d47b64a163
tree5833d5c8a92756b4f2468854792cf2636ba281ab
parent015f645651173fbc65ee21eadb14470881d4d512
LU-17160 build: Use PyConfig_InitPythonConfig 3.11 and later

Python PEP https://peps.python.org/pep-0587 changed the python
initialization scheme and deprecated Py_SetProgramName() among
other functions.

As of python 3.11 the new init scheme is available.

Test-Parameters: trivial
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: Ia7bdb63a74295ab8cf0313f16bfd03d78cf8fcf7
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52558
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Frank Sehr <fsehr@whamcloud.com>
Reviewed-by: Cyril Bordage <cbordage@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/lutf/src/lutf_python.c