Print

Print


> but the problem is that i have this:
> 
> ```
> ALIBUILD##[Friday 11.03.22 18:34] adrian@hal : ~/work-GRID/xrootd  ((v5.4.2)) $ 
> python3 -c 'from XRootD import client as xrd_client;import logging;print(xrd_client.__version__);'
> unknown
> ```
> 
> any idea how this can be fixed? prior, this used to be either the git tag, or the date followed by `-` and the short hash of the head

To get the version too just run the `publish.sh` script to build the `sdist` that you then `pip` install (so basically follow the CI exactly)

https://github.com/xrootd/xrootd/blob/3d64cdad97f0f93a04dd01234e88a27525285d8d/.github/workflows/build.yml#L570-L577

`publish.sh` determines the version and then injects it for the build

https://github.com/xrootd/xrootd/blob/3d64cdad97f0f93a04dd01234e88a27525285d8d/packaging/wheel/publish.sh#L3-L6

-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/1641#issuecomment-1065288092
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