Print

Print


@kratsg & @matthewfeickert : well, I'm not an expert on pip packaging (actually the person who did the packaging left the team while ago), now my understanding is that the wheel is not build because number packages you can build against once you push a release to pip is very limited and not enough to build xrootd, so it has been on purpose done so everything is build on install.

@matthewfeickert : in your docker image you don't tag it, don't you? It does complain about the missing dependencies but that's expect (that's what I meant it works just fine ;-) sorry for the confusion!!!):

FROM cern/cc7-base:latest

RUN yum update -y && \
    yum install --nogpg -y \
        git \
        python3-pip \
        which

ENV OFFENDING_COMMINT=65950acd7ab15dc91e31fdc4de089e14d474ecf9
RUN git clone https://github.com/xrootd/xrootd && \
    cd xrootd && \
    git reset --hard ${OFFENDING_COMMINT} && \
    git show HEAD && \
    cp packaging/wheel/* . && \
    ./publish.sh

# This will fail as lacking all build dependencies
#
# Run pip install from outside of xrootd Git repo directory to avoid
# xrootd.egg-info artifact from publish.sh that pollutes PYTHONPATH
# which includes the local directory by default
RUN python3 -m pip --verbose install /xrootd/dist/xrootd-*.tar.gz && \
    python3 -m pip list

while, in my example if I tag the repo (for example git tag -a v6.0.0 -m test) and then publish and try to build it fails without giving me any reason why:

Building wheels for collected packages: xrootd
  Running setup.py bdist_wheel for xrootd ... done
  Running setup.py clean for xrootd
Failed to build xrootd

did you actually try to tag it?

Just for the record, the necessary build dependencies are:

yum -y install cmake3 make gcc-c++ zlib-devel openssl-devel python3-devel libuuid-devel devtoolset-7-gcc-c++


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/1022996911@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1604#issuecomment-1022996911", "url": "https://github.com/xrootd/xrootd/issues/1604#issuecomment-1022996911", "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