Print

Print


@simonmichal I am unable to reproduce your experience and see no regression. The following works as expected:

FROM cern/cc7-base:latest

RUN yum update -y && \
    yum install --nogpg -y \
        cmake3 \
        make \
        krb5-devel \
        libuuid-devel \
        libxml2-devel \
        openssl-devel \
        systemd-devel \
        zlib-devel \
        devtoolset-7-gcc-c++ \
        which \
        python3-devel \
        python3-setuptools \
        git \
        cppunit-devel && \
    python3 -m pip install --upgrade pip setuptools wheel

ENV OFFENDING_COMMINT=65950acd7ab15dc91e31fdc4de089e14d474ecf9
RUN . /opt/rh/devtoolset-7/enable && \
    git clone https://github.com/xrootd/xrootd && \
    cd xrootd && \
    git reset --hard ${OFFENDING_COMMINT} && \
    git show HEAD && \
    git config --global user.email "[log in to unmask]" && \
    git config --global user.name "test test" && \
    git tag -a v6.0.0 -m test && \
    git tag && \
    cp packaging/wheel/* . && \
    ./publish.sh && \
    python3 -m pip --verbose install dist/xrootd-*.tar.gz && \
    python3 -m pip list

build with

$ docker build . -f docker/Dockerfile --tag xrootd/xrootd:debug-uninstall

and the following works

$ docker run --rm -ti xrootd/xrootd:debug-uninstall
[root@eab92ce8483c /]# python3 -m pip list
WARNING: No metadata found in /usr/local/lib64/python3.6/site-packages
WARNING: No metadata found in /usr/local/lib64/python3.6/site-packages
Package            Version
------------------ -------
build              0.7.0
importlib-metadata 4.8.3
packaging          21.3
pep517             0.12.0
pip                21.3.1
pyparsing          3.0.7
setuptools         59.6.0
tomli              1.2.3
typing_extensions  4.0.1
wheel              0.37.1
xrootd             6.0.0
zipp               3.6.0
[root@eab92ce8483c /]# python3 -m pip show xrootd
WARNING: No metadata found in /usr/local/lib64/python3.6/site-packages
WARNING: No metadata found in /usr/local/lib64/python3.6/site-packages
WARNING: No metadata found in /usr/local/lib64/python3.6/site-packages
Name: xrootd
Version: 6.0.0
Summary: 
Home-page: 
Author: 
Author-email: 
License: 
Location: /usr/local/lib64/python3.6/site-packages
Requires: 
Required-by: 
[root@eab92ce8483c /]# python3 -c 'from XRootD import client; print(client.FileSystem("root://someserver:1094"))'
<XRootD.client.filesystem.FileSystem object at 0x7f0facbfa2b0>
[root@eab92ce8483c /]# python3 -m pip uninstall -y xrootd
Found existing installation: xrootd 6.0.0
Uninstalling xrootd-6.0.0:
  Successfully uninstalled xrootd-6.0.0
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@eab92ce8483c /]# python3 -m pip show xrootd
WARNING: Package(s) not found: xrootd
[root@eab92ce8483c /]# 

Can you please make sure that you are testing with a clean environment?


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.Message ID: <xrootd/xrootd/issues/1604/1022498193@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1604#issuecomment-1022498193", "url": "https://github.com/xrootd/xrootd/issues/1604#issuecomment-1022498193", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

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