Once again, python moves faster than most projects. In this case Python 3.7 started deprecating use of PyEval_ThreadsInitialized() plus some other functions used in PyXRootDModule.cc and should be version checked. An example of such a fix can be seen in:

gjcarneiro/pybindgen@5fbeb8d

The specific error was reported in #1481 and the excerpt of the issue is below.

7: warning: 'int PyEval_ThreadsInitialized()' is deprecated [-Wdeprecated-declarations]
84 | if ( !PyEval_ThreadsInitialized() ) {
| ^
In file included from /usr/include/python3.9/Python.h:145,
from /home/saba/alice/sw/BUILD/70f7dfa756380c5669baf922e0068ee424a0ba3d/XRootD/bindings/python/src/PyXRootD.hh:28,
from /home/saba/alice/sw/BUILD/70f7dfa756380c5669baf922e0068ee424a0ba3d/XRootD/bindings/python/src/PyXRootDModule.cc:25:
/usr/include/python3.9/ceval.h:129:36: note: declared here
129 | Py_DEPRECATED(3.9) PyAPI_FUNC(int) PyEval_ThreadsInitialized(void);


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1482", "url": "https://github.com/xrootd/xrootd/issues/1482", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1