Re: svn commit: r1935586 - in subversion/branches/xml-schema-validation-improvements: . build subversion/tests/cmdline subversion/tests/cmdline/svntest

Ivan Zhakov <[email protected]>
Newsgroups gmane.comp.version-control.subversion.devel
Message-ID <CAPZho0-JNKE83nUNWxCvqQcmHmAaLaOw5qDCAZMuWOU7kpTkyw@mail.gmail.com>
[...]

> 2. On Mac OS, there is an issue where FindPython3() in CMake locates a
>> different Python binary that doesn't match `python` from the command line
>> [1].
>>
>> I still need to sort this part out.
>>
>>
>>
>> It probably finds /usr/bin/python3 by default, which is Python 3.9 on
>> recent versions of macOS. I think you'll have to set the Python3_ROOT_DIR
>> hint. Given the python binary you get on the command line, try this:
>>
>> python3 -c 'import pathlib, sys; print(str(pathlib.Path(sys.executable).resolve().parent.parent))'
>>
>>
>> Haven't tested this yet, but thanks, it looks promising.
>
> I have implemented this approach in r1935637
<https://svn.apache.org/r1935637> and it worked. Thanks!

-- 
Ivan Zhakov
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.