@matthewfeickert commented on this pull request.
In .github/workflows/build.yml:
> @@ -282,7 +282,7 @@ jobs: - name: Verify Python bindings run: | export LD_LIBRARY_PATH="/usr/local/lib:${LD_LIBRARY_PATH}" - export PYTHON_VERSION_MINOR=$(_tmp=$(find /usr/local/lib/ -type d -iname "python*") && echo ${_tmp: -3}; unset _tmp) + export PYTHON_VERSION_MINOR=$(_tmp=$(find /usr/local/lib/ -maxdepth 1 -type d -iname "python3.*") && echo ${_tmp: -3}; unset _tmp)
Applied in the rebase
- export PYTHON_VERSION_MINOR=$(_tmp=$(find /usr/local/lib/ -type d -iname "python*") && echo ${_tmp: -3}; unset _tmp)
- export PYTHONPATH="/usr/local/lib/python${PYTHON_VERSION_MINOR}/site-packages:${PYTHONPATH}"
+ export PYTHON_VERSION_MINOR=$(python3 -c 'import sys; print(f"{sys.version_info.minor}")')
+ export PYTHONPATH="/usr/local/lib/python3.${PYTHON_VERSION_MINOR}/site-packages:${PYTHONPATH}"
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
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