Skip to content

missing version info in release files from gitlab tags

Yesterday I reported suggestions for overall versioning improvement on all 3 bilby family packages over at bilby#577 (closed) but just now @marta.colleoni and I noticed a more problematic issue with bilby_pipe specifically: versions installed from the release archive files from https://git.ligo.org/lscsoft/bilby_pipe/-/tags don't provide any version information. By contrast, for the main bilby package, they do. This is after downloading the 1.0.2 release .zip files of both packages, extracting and installing with pip install . in a clean venv:

>>> import bilby
>>> bilby.__version__
'1.0.2: release'
>>> import bilby_pipe
No version information file '.version' found
No version information file '.version' found
No version information file '.version' found
No version information file '.version' found
>>> bilby_pipe.__version__
''

Same still true for the bilby_pipe 1.0.4 release. Could be some regression in this package's setup.py compared to the main package...? At first glance, it looked fine, with the version number hardcoded in there the same way, but something must be going wrong in creating the .version files.

Edited by David Keitel