but, i also tried the master and i got this:

Successfully built xrootd-2022.310.tar.gz
Processing ./xrootd/dist/xrootd-20220310-3fae8a870-.tar.gz
  Preparing metadata (setup.py) ... done
Processing ./xrootd/dist/xrootd-2022.310.tar.gz
  Preparing metadata (setup.py) ... done
ERROR: Cannot install xrootd 2022.310 (from /home.hdd/adrian/work-GRID/xrootd/dist/xrootd-2022.310.tar.gz) and xrootd 2022.310 (from /home.hdd/adrian/work-GRID/xrootd/dist/xrootd-20220310-3fae8a870-.tar.gz) because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested xrootd 2022.310 (from /home.hdd/adrian/work-GRID/xrootd/dist/xrootd-20220310-3fae8a870-.tar.gz)
    The user requested xrootd 2022.310 (from /home.hdd/adrian/work-GRID/xrootd/dist/xrootd-2022.310.tar.gz)

and i see in dist :

ALIBUILD##[Friday 11.03.22 19:08] adrian@hal : ~/work-GRID/xrootd  (master) $ 
ls -l dist
total 6432
-rw-rw-r-- 1 adrian adrian 3292627 2022/Mar/11 19:07:05 xrootd-20220310-3fae8a870-.tar.gz
-rw-rw-r-- 1 adrian adrian 3291024 2022/Mar/11 19:07:11 xrootd-2022.310.tar.gz

This is just because you're asking pip to install multiple versions of the same package with

python3 -m pip install --user --upgrade ${BNAME}/dist/xrootd-*.tar.gz

as you have multiple sdists under dist/ that start their name with xrootd. If you want to use xrootd-*.tar.gz then you'll need to cleanup / delete the contents of dist before you build a new sdist with build.

It looks like you're trying to do that here, but I think you're in the wrong directory(?). Also publish.sh already builds the sdist, so you can remove this line

Probably easier to just do

python3 -m pip --quiet install --upgrade build
command cp -f -r packaging/wheel/* .
rm dist/*
./publish.sh

cd ..
python3 -m pip install --user --upgrade ${BNAME}/dist/xrootd-*.tar.gz


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

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