Dear Asoka,
On Tue, Jul 11, 2023 at 07:54:29PM +0200, Asoka De Silva wrote:
> (dropping all cc except for xrootd-dev so as not to spam)
> Hi Guilherme,
> I am finding the building xrootd 5.6.1 with native python3.6 (on
> centos7 and 8s) fails at make install probably because of this
> [Python] Use PEP517 by default when building Python bindings
> eg for native python3.6 on centos7:
> ...
> It works for newer python3 versions (3.7 to 3.9 on centos7,8s and 3.9,
> 3.11 on almaLinux9).
> Is there a way to fix this ?
> I attach the logs in case you need more information.
> (It also failed for python2.7 on centos7)
Sorry for the trouble. If you are buiding for Python2.7 or do not have
the required tools to build using in PEP517 mode, you can just set PIP_OPTIONS
to override the default, like cmake . -DPIP_OPTIONS="" ... and it will recover
the behavior we had up to 5.6.0. If we find that this becomes too annoying we
can consider reverting the default back to a blank value. Note that you can also
set -DINSTALL_PYTHON_BINDINGS=FALSE, then cd build/bindings/python and then
call "python3 -m pip install ." as a separate step. This allows you to customize
things further than just setting PIP_OPTIONS. See bindings/python/README.md for
more information. Please let us know if you have any other questions.
Best regards,
-Guilherme
########################################################################
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
|