rapidsai / dask-build-environment

Build environments for various dask related projects on gpuCI
4 stars 11 forks source link

Simplify version parsing in updating workflow #32

Closed charlesbluca closed 2 years ago

charlesbluca commented 2 years ago

As https://github.com/rapidsai/dask-build-environment/pull/31 shows, the auto-updating workflow can stop working properly if minor changes are made to the axis YAML or build script. This is because the parsing of the old/current RAPIDS / UCX-Py versions is done using a combination of grep and tail, which assumes a very specific structure to the files being parsed.

This PR attempts to resolve this issue by generalizing the process of parsing these versions. Now, they are parsed as follows:

This should hopefully improve the stability of this workflow moving forward.