Fix PyEval_InitThreads() and PyEval_ThreadsInitialized() deprecated warnings . Part II
Same changeset as !45559 (merged)
In all devLCG4 releases we see warnings
cvmfs/sft.cern.ch/lcg/releases/Python/3.9.5-82945/x86_64-centos7-gcc8-opt/include/python3.9/ceval.h:129:36: note: declared here
Py_DEPRECATED(3.9) PyAPI_FUNC(int) PyEval_ThreadsInitialized(void);
^~~~~~~~~~~~~~~~~~~~~~~~~
/build/atnight/localbuilds/nightlies/master--dev4LCG/athena/Control/AthenaServices/src/initPyInterpreter.cxx:66:34: warning: 'int PyEval_ThreadsInitialized()' is deprecated [-Wdeprecated-declarations]
if (!PyEval_ThreadsInitialized()) {
note that : https://docs.python.org/3/whatsnew/3.9.html
The PyEval_InitThreads() and PyEval_ThreadsInitialized() functions are now deprecated and will be removed in Python 3.11. Calling PyEval_InitThreads() now does nothing. The GIL is initialized by Py_Initialize() since Python 3.7. (Contributed by Victor Stinner in bpo-39877.)
Merge request reports
Activity
added Trigger master review-pending-level-1 labels
CI Result SUCCESS (hash 2ed1c0c8)Athena AthSimulation AthGeneration AnalysisBase AthAnalysis DetCommon externals cmake make required tests optional tests Full details available on this CI monitor view
Athena: number of compilation errors 0, warnings 0
AthSimulation: number of compilation errors 0, warnings 0
AthGeneration: number of compilation errors 0, warnings 0
AnalysisBase: number of compilation errors 0, warnings 0
AthAnalysis: number of compilation errors 0, warnings 0
DetCommon: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 37666]- Resolved by Christos Anastopoulos
added review-user-action-required label and removed review-pending-level-1 label
added review-pending-level-1 label and removed review-user-action-required label
CI Result SUCCESS (hash 59ed72a3)Athena AthSimulation AthGeneration AnalysisBase AthAnalysis DetCommon externals cmake make required tests optional tests Full details available on this CI monitor view
Athena: number of compilation errors 0, warnings 0
AthSimulation: number of compilation errors 0, warnings 0
AthGeneration: number of compilation errors 0, warnings 0
AnalysisBase: number of compilation errors 0, warnings 0
AthAnalysis: number of compilation errors 0, warnings 0
DetCommon: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 37691]added review-approved label and removed review-pending-level-1 label
mentioned in commit 11a75e63
added sweep:ignore label