Though to provide you something from https://github.com/xrootd/xrootd/issues/1594#issuecomment-1063761052 ```console $ docker run --rm -ti xrootd/xrootd:issue-1594 [root@9cc1f196bef4 /]# . /opt/rh/devtoolset-7/enable [root@9cc1f196bef4 /]# python3 -m venv issue-1641 [root@9cc1f196bef4 /]# . issue-1641/bin/activate (issue-1641) [root@9cc1f196bef4 /]# python -m pip --quiet install --upgrade pip setuptools wheel Cache entry deserialization failed, entry ignored (issue-1641) [root@9cc1f196bef4 /]# python -m pip --quiet install --upgrade build (issue-1641) [root@9cc1f196bef4 /]# cd xrootd/ (issue-1641) [root@9cc1f196bef4 xrootd]# cp packaging/wheel/* . (issue-1641) [root@9cc1f196bef4 xrootd]# python -m build --sdist . ... Successfully built xrootd-unknown.tar.gz (issue-1641) [root@9cc1f196bef4 xrootd]# python -m pip install --upgrade dist/xrootd-unknown.tar.gz Processing ./dist/xrootd-unknown.tar.gz Preparing metadata (setup.py) ... done Building wheels for collected packages: xrootd Building wheel for xrootd (setup.py) ... done WARNING: Legacy build of wheel for 'xrootd' created no files. Command arguments: /issue-1641/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-m80_htkl/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-m80_htkl/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-9yheewvo Command output: [use --verbose to show] Running setup.py clean for xrootd Failed to build xrootd Installing collected packages: xrootd Running setup.py install for xrootd ... done Successfully installed xrootd-5.4.2 (issue-1641) [root@9cc1f196bef4 xrootd]# python -m pip show xrootd WARNING: No metadata found in /issue-1641/lib/python3.6/site-packages WARNING: No metadata found in /issue-1641/lib/python3.6/site-packages WARNING: No metadata found in /issue-1641/lib/python3.6/site-packages Name: xrootd Version: 5.4.2 Summary: Home-page: Author: Author-email: License: Location: /issue-1641/lib/python3.6/site-packages Requires: Required-by: ``` this is the exact thing done in the CI: https://github.com/xrootd/xrootd/blob/3d64cdad97f0f93a04dd01234e88a27525285d8d/.github/workflows/build.yml#L570-L577 You could have done the same thing outside a venv too ```console (issue-1641) [root@9cc1f196bef4 xrootd]# deactivate [root@9cc1f196bef4 xrootd]# python3 -m pip --quiet install --upgrade pip setuptools wheel [root@9cc1f196bef4 xrootd]# python3 -m pip install --upgrade --user dist/xrootd-unknown.tar.gz Processing ./dist/xrootd-unknown.tar.gz Preparing metadata (setup.py) ... done Building wheels for collected packages: xrootd Building wheel for xrootd (setup.py) ... done WARNING: Legacy build of wheel for 'xrootd' created no files. Command arguments: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-3ajy3hoe/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-3ajy3hoe/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-44hqsp87 Command output: [use --verbose to show] Running setup.py clean for xrootd Failed to build xrootd Installing collected packages: xrootd Running setup.py install for xrootd ... done Successfully installed xrootd-5.4.2 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv [root@9cc1f196bef4 xrootd]# python3 -m pip show xrootd WARNING: No metadata found in /root/.local/lib/python3.6/site-packages WARNING: No metadata found in /root/.local/lib/python3.6/site-packages WARNING: No metadata found in /root/.local/lib/python3.6/site-packages Name: xrootd Version: 5.4.2 Summary: Home-page: Author: Author-email: License: Location: /root/.local/lib/python3.6/site-packages Requires: Required-by: ``` -- Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/issues/1641#issuecomment-1065275016 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