Print

Print


@matthewfeickert : thank you so much for the PR :-)

Few comments:
- could you please remove lines 84 and 105 from `python/CMakeLists.txt` hence don't update the packages from within `cmake` we don't do that by policy (similarly as we don't do `yum install`, `apt-get install` and so on)
- could you please update the spec file so there is a respective `BuildRequires` for `python-setuptools`, currently the PR breaks our RPM builds
https://github.com/xrootd/xrootd/blob/4044c4d4bd151d6b57357bfc6cf4fa44869229d0/packaging/rhel/xrootd.spec.in#L108-L117
- if I build and install the `wheel` on CC7 container:

```
    yum install --nogpg -y git python3-pip which
    python3 -m pip install --upgrade pip
    python3 -m pip install setuptools wheel --upgrade
    cp packaging/wheel/* .
    ./publish.sh
    python3 -m pip install ./dist/xrootd-*.tar.gz
```

and then try using xrootd client from within python I get following error:

```
>>> from XRootD import client
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib64/python3.6/site-packages/XRootD/client/__init__.py", line 3, in <module>
    from .glob_funcs import glob, iglob
  File "/usr/local/lib64/python3.6/site-packages/XRootD/client/glob_funcs.py", line 26, in <module>
    from XRootD.client.filesystem import FileSystem
  File "/usr/local/lib64/python3.6/site-packages/XRootD/client/filesystem.py", line 26, in <module>
    from pyxrootd import client
ImportError: libXrdCl.so.3: cannot open shared object file: No such file or directory
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/1586#issuecomment-1010956247
You are receiving this because you are subscribed to this thread.

Message ID: <[log in to unmask]>

########################################################################
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