Though to provide you something from #1594 (comment)
$ 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:
You could have done the same thing outside a venv too
(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, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
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