Closed lmagdanello closed 1 year ago
My idea is that with this simple regex, we can give users the freedom to use pre-release versions.
Does this work?
Stage0 += ucx(url='https://github.com/openucx/ucx/releases/download/v1.15.0-rc4/ucx-1.15.0.tar.gz')
Yes, but in theory we could natively support pre-release versions, as they are provided in the UCX default repository.
I was thinking about my suggestion and thought of another solution: perhaps the UCX building block can receive _prerelease as a parameter and if it is True it will deal with versions with the -rc suffix. What do you think?
I am concerned about maintaining the pre-release logic.
Since there is a straightforward workaround using the url
parameter, I'm inclined not to try to fix this.
Of course, I understand. I'll close the issue in this case then.
What happens is that when using versions with the -rc suffix with the UCX building block, we encounter the following issue:
The module attempts to download the path:
https://github.com/openucx/ucx/releases/download/v1.15.0-rc4/ucx-1.15.0-rc4.tar.gz
. However, UCX provides the path for -rc versions in the following way: https://github.com/openucx/ucx/releases/download/v1.15.0-rc4/ucx-1.15.0.tar.gz.Recipe:
Stage0 += ucx(version='1.15.0-rc4')
Log: